From 054f620d97a51bfeadbb8e8c067091f0ac65de35 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 18:59:08 +0000 Subject: [PATCH] Sync component catalog from schema 2026.11.0 Auto-generated by .github/workflows/sync-component-catalog.yml. --- esphome-constraints.txt | 2 +- .../definitions/automations.index.json | 2 +- .../definitions/components.index.json | 334 +++++++++--------- .../definitions/components/as734x.json | 2 +- .../components/audio_adc.es7243.json | 2 +- .../audio_dac.es9038q2m_katana.json | 2 +- .../definitions/components/bh1745.json | 2 +- .../components/binary_sensor.bq25186.json | 2 +- .../binary_sensor.dfrobot_sen0609.json | 2 +- .../components/binary_sensor.ds3231.json | 2 +- .../components/binary_sensor.ecocomfort2.json | 2 +- .../binary_sensor.haier_water_heater.json | 2 +- .../components/binary_sensor.husb238.json | 2 +- .../components/binary_sensor.ld2410s.json | 2 +- .../components/binary_sensor.ld6004.json | 2 +- .../components/binary_sensor.lis2dw12.json | 2 +- .../components/binary_sensor.mt6701_spi.json | 2 +- .../components/binary_sensor.rx8111.json | 2 +- .../components/binary_sensor.sen6x.json | 2 +- .../components/binary_sensor.tca8418.json | 2 +- .../components/binary_sensor.tmp102.json | 2 +- .../components/binary_sensor.uart.json | 2 +- .../components/binary_sensor.vevor_dtx.json | 2 +- .../definitions/components/ble_midi.json | 2 +- .../definitions/components/bq25186.json | 2 +- .../definitions/components/bq76972.json | 2 +- .../components/button.bq25186.json | 2 +- .../components/button.delta_wallbox.json | 2 +- .../components/button.dfrobot_sen0609.json | 2 +- .../components/button.haier_tundra.json | 2 +- .../definitions/components/button.ld6004.json | 2 +- .../components/climate.airton.json | 2 +- .../components/climate.airton_serial.json | 2 +- .../components/climate.daikin_madoka.json | 2 +- .../components/climate.friedrich.json | 2 +- .../components/climate.haier_tundra.json | 2 +- .../components/climate.heatpumpir.json | 2 +- .../components/climate.midea_portasplit.json | 2 +- .../components/climate.panasonic_ir.json | 2 +- .../components/climate.pd_pioneer_ir.json | 2 +- .../components/climate.samsung.json | 2 +- .../components/cover.apc_proteous.json | 2 +- .../definitions/components/delta_wallbox.json | 2 +- .../components/dfrobot_sen0609.json | 2 +- .../components/display.ht16k33_char.json | 2 +- .../components/display.sh1122_spi.json | 2 +- .../components/display.st7305.json | 2 +- .../definitions/components/ds3231.json | 2 +- .../definitions/components/duco.json | 2 +- .../definitions/components/ecocomfort2.json | 2 +- .../definitions/components/esp32.json | 2 +- .../definitions/components/esp32_ulp.json | 2 +- .../definitions/components/espectre.json | 2 +- .../definitions/components/esphome.json | 2 +- .../components/ezsp_proxy_tap.json | 2 +- .../components/fan.ecocomfort2.json | 2 +- .../definitions/components/fusb302b.json | 2 +- .../definitions/components/hdmi_cec.json | 2 +- .../definitions/components/http_request.json | 2 +- .../definitions/components/husb238.json | 2 +- .../definitions/components/i2c.json | 2 +- .../definitions/components/ld2410s.json | 2 +- .../definitions/components/ld2460.json | 2 +- .../definitions/components/ld6004.json | 2 +- .../components/light.homeassistant.json | 2 +- .../light.i2s_clockless_led_strip.json | 2 +- .../light.ln882x_spi_led_strip.json | 2 +- .../definitions/components/lis2dw12_i2c.json | 2 +- .../definitions/components/lis2dw12_spi.json | 2 +- .../definitions/components/lis3dh.json | 2 +- .../definitions/components/lp5562.json | 2 +- .../components/m5stack_4relay.json | 2 +- .../components/m5stack_unit_bldc.json | 2 +- .../components/microphone.usb_audio.json | 2 +- .../definitions/components/modbus.json | 2 +- .../components/modbus_monitor.json | 2 +- .../definitions/components/modem.json | 2 +- .../components/motion.icm20689.json | 2 +- .../definitions/components/motion.lis3dh.json | 2 +- .../definitions/components/mt6701_i2c.json | 2 +- .../definitions/components/mt6701_spi.json | 2 +- .../components/number.delta_wallbox.json | 2 +- .../components/number.dfrobot_sen0609.json | 2 +- .../definitions/components/number.duco.json | 2 +- .../components/number.ecocomfort2.json | 2 +- .../components/number.espectre.json | 2 +- .../components/number.ld2410s.json | 2 +- .../definitions/components/number.ld6004.json | 2 +- .../components/number.m5stack_unit_bldc.json | 2 +- .../definitions/components/number.tmp102.json | 2 +- .../definitions/components/openthread.json | 2 +- .../components/ota.adafruit_ble.json | 2 +- .../definitions/components/output.bh1745.json | 2 +- .../definitions/components/output.lp5562.json | 2 +- .../definitions/components/pca9505.json | 2 +- ...wer_management.esp32_power_management.json | 2 +- .../components/renogy_inverter_ble.json | 2 +- .../definitions/components/rtsp_server.json | 2 +- .../components/seeed_multi_channel_relay.json | 2 +- .../components/select.dfrobot_sen0609.json | 2 +- .../definitions/components/select.duco.json | 2 +- .../components/select.ecocomfort2.json | 2 +- .../components/select.espectre.json | 2 +- .../definitions/components/select.haier.json | 2 +- .../components/select.ld2410s.json | 2 +- .../definitions/components/select.ld2450.json | 2 +- .../definitions/components/select.ld6004.json | 2 +- .../components/select.m5stack_unit_bldc.json | 2 +- .../components/select.panasonic_ir.json | 2 +- .../components/select.tas58xx.json | 2 +- .../components/sensor.airton_serial.json | 2 +- .../definitions/components/sensor.apc1.json | 2 +- .../components/sensor.apds9930.json | 2 +- .../definitions/components/sensor.aranet.json | 2 +- .../definitions/components/sensor.as734x.json | 2 +- .../definitions/components/sensor.bh1745.json | 2 +- .../definitions/components/sensor.bmi270.json | 2 +- .../components/sensor.bq27220.json | 2 +- .../components/sensor.bq76972.json | 2 +- .../definitions/components/sensor.cw2017.json | 2 +- .../components/sensor.delta_wallbox.json | 2 +- .../sensor.dfrobot_sen0465_i2c.json | 2 +- .../sensor.dfrobot_sen0465_uart.json | 2 +- .../components/sensor.dfrobot_sen0609.json | 2 +- .../definitions/components/sensor.ds3231.json | 2 +- .../definitions/components/sensor.duco.json | 2 +- .../components/sensor.ecocomfort2.json | 2 +- .../definitions/components/sensor.emontx.json | 2 +- .../components/sensor.filter_lifetime.json | 2 +- .../components/sensor.fusb302b.json | 2 +- .../components/sensor.haier_water_heater.json | 2 +- .../components/sensor.icm20689.json | 2 +- .../components/sensor.ld2410s.json | 2 +- .../definitions/components/sensor.ld2460.json | 2 +- .../definitions/components/sensor.ld6004.json | 2 +- .../components/sensor.lis2dw12.json | 2 +- .../definitions/components/sensor.lis3dh.json | 2 +- .../components/sensor.m5stack_unit_bldc.json | 2 +- .../components/sensor.max17048.json | 2 +- .../components/sensor.max31888.json | 2 +- .../components/sensor.mics_5524.json | 2 +- .../definitions/components/sensor.modem.json | 2 +- .../definitions/components/sensor.mt6701.json | 2 +- .../components/sensor.opentherm.json | 2 +- .../components/sensor.radon_eye_rd200.json | 2 +- .../sensor.renogy_inverter_ble.json | 2 +- .../components/sensor.selec_meter.json | 2 +- .../components/sensor.tmc2209.json | 2 +- .../definitions/components/sensor.tmp102.json | 2 +- .../components/sensor.veml6040.json | 2 +- .../components/sensor.vevor_dtx.json | 2 +- .../components/sensor.vl53l1x.json | 2 +- .../definitions/components/sha256.json | 2 +- .../components/speaker.usb_audio.json | 2 +- .../definitions/components/st25r_spi.json | 2 +- .../components/stepper.tmc2209.json | 2 +- .../components/switch.airton_serial.json | 2 +- .../components/switch.bq25186.json | 2 +- .../components/switch.dfrobot_sen0609.json | 2 +- .../components/switch.ecocomfort2.json | 2 +- .../components/switch.espectre.json | 2 +- .../components/switch.haier_tundra.json | 2 +- .../definitions/components/switch.ld6004.json | 2 +- .../components/switch.m5stack_4relay.json | 2 +- .../switch.seeed_multi_channel_relay.json | 2 +- .../components/switch.tas58xx.json | 2 +- .../definitions/components/tca8418.json | 2 +- .../definitions/components/tca9548a.json | 2 +- .../components/text_sensor.as734x.json | 2 +- .../components/text_sensor.bq25186.json | 2 +- .../components/text_sensor.delta_wallbox.json | 2 +- .../text_sensor.dfrobot_sen0609.json | 2 +- .../components/text_sensor.duco.json | 2 +- .../components/text_sensor.ecocomfort2.json | 2 +- .../components/text_sensor.emontx.json | 2 +- .../components/text_sensor.fusb302b.json | 2 +- .../text_sensor.haier_water_heater.json | 2 +- .../components/text_sensor.ld2410s.json | 2 +- .../components/text_sensor.ld6004.json | 2 +- .../components/text_sensor.lis2dw12.json | 2 +- .../text_sensor.m5stack_unit_bldc.json | 2 +- .../components/text_sensor.modem.json | 2 +- .../components/text_sensor.mt6701_spi.json | 2 +- .../components/text_sensor.rx8111.json | 2 +- .../components/text_sensor.systa_bus.json | 2 +- .../components/text_sensor.tmp102.json | 2 +- .../components/text_sensor.ufm01.json | 2 +- .../components/text_sensor.vevor_dtx.json | 2 +- .../definitions/components/time.ds3231.json | 2 +- .../definitions/components/time.rx8111.json | 2 +- .../components/tinyusb_keyboard.json | 2 +- .../components/touchscreen.ns2009.json | 2 +- .../components/touchscreen.spd2010.json | 2 +- .../definitions/components/usb_audio.json | 2 +- .../definitions/components/usb_cdc_acm.json | 2 +- .../definitions/components/vevor_dtx.json | 2 +- .../definitions/components/vnc.json | 2 +- .../water_heater.haier_water_heater.json | 2 +- .../definitions/components/web_server.json | 2 +- .../components/zephyr_coredump.json | 2 +- pyproject.toml | 2 +- 201 files changed, 367 insertions(+), 367 deletions(-) diff --git a/esphome-constraints.txt b/esphome-constraints.txt index fbe4a4b9ea..0460e16d92 100644 --- a/esphome-constraints.txt +++ b/esphome-constraints.txt @@ -8,4 +8,4 @@ # as the early-warning tier. Not the package's runtime dependency (that stays # esphome>=… in pyproject); this only constrains CI installs via uv pip # install -c. -esphome==2026.11.0b4 +esphome==2026.11.0 diff --git a/esphome_device_builder/definitions/automations.index.json b/esphome_device_builder/definitions/automations.index.json index 1d4e836454..2230478b71 100644 --- a/esphome_device_builder/definitions/automations.index.json +++ b/esphome_device_builder/definitions/automations.index.json @@ -794,7 +794,7 @@ {"description":"This condition checks if the remote peer is *online*.","docs_url":"https://esphome.io/automations/actions","domain":"wireguard","id":"wireguard.peer_online","name":"Wireguard → Peer Online"}, {"accepts_condition_list":true,"description":"Check a combination of conditions. `all` is a synonym for `and`, and `any` is a synonym for `or`. `all` and `any` may also be used directly in place of `condition`.","docs_url":"https://esphome.io/automations/actions","domain":"core","id":"xor","name":"Xor"} ], -"esphome_schema_version":"2026.11.0b4", +"esphome_schema_version":"2026.11.0", "filters":[ {"applies_to":["binary_sensor"],"id":"autorepeat","name":"Binary Sensor → Autorepeat"}, {"applies_to":["binary_sensor"],"duration_min_unit":"ms","id":"delayed_off","name":"Binary Sensor → Delayed Off","templatable":true,"value_type":"time_period"}, diff --git a/esphome_device_builder/definitions/components.index.json b/esphome_device_builder/definitions/components.index.json index fc0280ba14..92e0837145 100644 --- a/esphome_device_builder/definitions/components.index.json +++ b/esphome_device_builder/definitions/components.index.json @@ -5,7 +5,7 @@ {"category":"stepper","description":"Put this code into the configuration file on ESPHome for this device.","docs_url":"https://esphome.io/components/stepper/#a4988-component","id":"stepper.a4988","multi_conf":true,"name":"A4988"}, {"category":"sensor","description":"The `absolute_humidity` platform allows you to calculate absolute humidity from air temperature and relative humidity.","docs_url":"https://esphome.io/components/sensor/absolute_humidity/","id":"sensor.absolute_humidity","image_url":"https://esphome.io/images/water-drop.svg","multi_conf":true,"name":"Absolute Humidity"}, {"category":"output","description":"The `ac_dimmer` component allows you to connect a dimmable light or other load which supports phase control dimming to your ESPHome project.","docs_url":"https://esphome.io/components/output/ac_dimmer/","id":"output.ac_dimmer","image_url":"https://esphome.io/images/ac_dimmer.svg","multi_conf":true,"name":"AC Dimmer Component"}, -{"category":"ota","dependencies":["zephyr","zephyr_ble_server"],"description":"The `adafruit_ble` OTA platform updates [nRF52](https://esphome.io/components/nrf52/) boards that run the [Adafruit nRF52 Bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader), such as the nice!nano, the ItsyBitsy nRF52840 and the Feather nRF52840, over Bluetooth Low Energy (BLE) with `esphome upload`. For boards with MCUboot, use [zephyr_mcumgr](https://esphome.io/components/ota/zephyr_mcumgr/) instead.","id":"ota.adafruit_ble","multi_conf":true,"name":"nRF52 Adafruit Bootloader BLE Updates"}, +{"category":"ota","dependencies":["zephyr","zephyr_ble_server"],"description":"The `adafruit_ble` OTA platform updates [nRF52](https://esphome.io/components/nrf52/) boards that run the [Adafruit nRF52 Bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader), such as the nice!nano, the ItsyBitsy nRF52840 and the Feather nRF52840, over Bluetooth Low Energy (BLE) with `esphome upload`. For boards with MCUboot, use [zephyr_mcumgr](https://esphome.io/components/ota/zephyr_mcumgr/) instead.","docs_url":"https://esphome.io/components/ota/adafruit_ble/","id":"ota.adafruit_ble","image_url":"https://esphome.io/images/system-update.svg","multi_conf":true,"name":"nRF52 Adafruit Bootloader BLE Updates"}, {"category":"misc","dependencies":["uart"],"description":"","docs_url":"https://esphome.io/components/light#adalight-effect","id":"adalight","name":"Adalight"}, {"category":"sensor","description":"The Analog To Digital (`adc` ) Sensor allows you to use the built-in ADC in your device to measure a voltage on certain pins.","docs_url":"https://esphome.io/components/sensor/adc/","id":"sensor.adc","image_url":"https://esphome.io/images/flash.svg","multi_conf":true,"name":"Analog To Digital Sensor","provides":["voltage_sampler"]}, {"category":"misc","dependencies":["spi"],"description":"The ADC128S102 is a low-power, eight-channel CMOS 12-bit analog-to-digital converter specified for conversion throughput rates of 500 ksps to 1 MSPS. The converter is based on a successive-approximation register architecture with an internal track-and-hold circuit.","docs_url":"https://esphome.io/components/sensor/adc128s102/","id":"adc128s102","image_url":"https://esphome.io/images/adc128s102.png","multi_conf":true,"name":"ADC128S102 8-Channel 12-Bit A/D Converter"}, @@ -27,9 +27,9 @@ {"category":"climate","dependencies":["remote_transmitter"],"description":"Airton RD1A1 remote protocol, used by Airton branded units and Ferroli's Aster range.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.airton","multi_conf":true,"name":"IR Remote Climate","provides":["airton"]}, {"category":"select","dependencies":["airton"],"description":"Airton RD1A1 remote protocol, used by Airton branded units and Ferroli's Aster range.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"select.airton","multi_conf":true,"name":"IR Remote Climate","provides":["select"],"provides_id_paths":{"select":[["vertical_direction","id"]]}}, {"category":"switch","dependencies":["airton"],"description":"Airton RD1A1 remote protocol, used by Airton branded units and Ferroli's Aster range.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"switch.airton","multi_conf":true,"name":"IR Remote Climate","provides":["switch"],"provides_id_paths":{"switch":[["display","id"],["sleep_mode","id"]]}}, -{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"climate","dependencies":["uart"],"description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","id":"climate.airton_serial","multi_conf":true,"name":"Airton Serial Climate","provides":["airton_serial"]}, -{"category":"sensor","dependencies":["uart","airton_serial"],"description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","id":"sensor.airton_serial","multi_conf":true,"name":"Airton Serial Climate","provides":["sensor"],"provides_id_paths":{"sensor":[["revision","id"],["total_usage_time","id"]]}}, -{"category":"switch","dependencies":["uart","airton_serial"],"description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","id":"switch.airton_serial","multi_conf":true,"name":"Airton Serial Climate","provides":["switch"],"provides_id_paths":{"switch":[["display","id"],["eco","id"],["health","id"],["ionizer","id"],["sleep","id"]]}}, +{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"climate","dependencies":["uart"],"description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","docs_url":"https://esphome.io/components/climate/airton_serial/","id":"climate.airton_serial","image_url":"https://esphome.io/images/air-conditioner.svg","multi_conf":true,"name":"Airton Serial Climate","provides":["airton_serial"]}, +{"category":"sensor","dependencies":["uart","airton_serial"],"description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","docs_url":"https://esphome.io/components/climate/airton_serial/","id":"sensor.airton_serial","image_url":"https://esphome.io/images/air-conditioner.svg","multi_conf":true,"name":"Airton Serial Climate","provides":["sensor"],"provides_id_paths":{"sensor":[["revision","id"],["total_usage_time","id"]]}}, +{"category":"switch","dependencies":["uart","airton_serial"],"description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","docs_url":"https://esphome.io/components/climate/airton_serial/","id":"switch.airton_serial","image_url":"https://esphome.io/images/air-conditioner.svg","multi_conf":true,"name":"Airton Serial Climate","provides":["switch"],"provides_id_paths":{"switch":[["display","id"],["eco","id"],["health","id"],["ionizer","id"],["sleep","id"]]}}, {"category":"sensor","description":"The `alpha3` component allows you to monitor a Grundfos Alpha3 Model B circulator pump over BLE.","docs_url":"https://esphome.io/components/sensor/alpha3/","id":"sensor.alpha3","image_url":"https://esphome.io/images/alpha3.jpg","multi_conf":true,"name":"Grundfos Alpha3","provides":["sensor"],"provides_id_paths":{"sensor":[["current","id"],["flow","id"],["head","id"],["power","id"],["speed","id"],["voltage","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `am2315c` Temperature+Humidity sensor allows you to use your AM2315C ([datasheet](https://cdn-shop.adafruit.com/product-files/5182/5182_AM2315C.pdf)) I²C-based sensor with ESPHome.","docs_url":"https://esphome.io/components/sensor/am2315c/","id":"sensor.am2315c","image_url":"https://esphome.io/images/am2315c.jpg","multi_conf":true,"name":"AM2315C Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `am2320` Temperature+Humidity sensor allows you to use your AM2320 ([datasheet](https://cdn-shop.adafruit.com/product-files/3721/AM2320.pdf)) I²C-based sensor with ESPHome.","docs_url":"https://esphome.io/components/sensor/am2320/","id":"sensor.am2320","image_url":"https://esphome.io/images/am2320.jpg","multi_conf":true,"name":"AM2320 Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, @@ -39,16 +39,16 @@ {"category":"misc","dependencies":["display"],"description":"The `animation` platform of the [image](https://esphome.io/components/image/) component allows to use animated images (e.g. GIF files) on displays. Animations support all options of the [`file` platform](https://esphome.io/components/image/file/) and add lambda methods: `next_frame()`, `prev_frame()` and `set_frame()` to change the shown picture.","docs_url":"https://esphome.io/components/image/animation/","id":"animation","image_url":"https://esphome.io/images/image-multiple-outline.svg","multi_conf":true,"name":"Animation","provides":["image"]}, {"category":"image","dependencies":["display"],"description":"The `animation` platform of the [image](https://esphome.io/components/image/) component allows to use animated images (e.g. GIF files) on displays. Animations support all options of the [`file` platform](https://esphome.io/components/image/file/) and add lambda methods: `next_frame()`, `prev_frame()` and `set_frame()` to change the shown picture.","docs_url":"https://esphome.io/components/image/animation/","id":"image.animation","image_url":"https://esphome.io/images/image-multiple-outline.svg","multi_conf":true,"name":"Animation","provides":["animation"]}, {"category":"climate","dependencies":["ble_client"],"description":"The `anova` climate platform creates a climate device which can be used to control a BLE Anova sous-vide stick. Whilst not strictly a climate device, the concept of keeping something to a set temperature applies equally here.","docs_url":"https://esphome.io/components/climate/anova/","id":"climate.anova","image_url":"https://esphome.io/images/anova.png","multi_conf":true,"name":"Anova Cooker","supported_platforms":["esp32"]}, -{"category":"sensor","dependencies":["uart"],"description":"The `apc1` sensor platform allows you to use the [ScioSense APC1 air quality sensor](https://www.sciosense.com/apc1-air-quality-combo-sensor/) with ESPHome. This sensor reports particulates, total volatile organic compounds (TVOC), estimated carbon dioxide (eCO2), air quality index (AQI), temperature, and relative humidity.","id":"sensor.apc1","multi_conf":true,"name":"APC1 Air Quality Combo Sensor","provides":["apc1","sensor"],"provides_id_paths":{"sensor":[["aqi","id"],["eco2","id"],["error_code","id"],["humidity","id"],["pm_0_3um","id"],["pm_0_5um","id"],["pm_10_0","id"],["pm_10_0_std","id"],["pm_10_0um","id"],["pm_1_0","id"],["pm_1_0_std","id"],["pm_1_0um","id"],["pm_2_5","id"],["pm_2_5_std","id"],["pm_2_5um","id"],["pm_5_0um","id"],["raw_humidity","id"],["raw_temperature","id"],["rs0","id"],["rs2","id"],["rs3","id"],["temperature","id"],["tvoc","id"]]}}, -{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"cover","dependencies":["uart"],"description":"The `apc_proteous` cover platform allows you to control an APC gate motor controller. It should work with any APC gate controller that accepts the Infinity 2.0 WiFi controller, including:","id":"cover.apc_proteous","multi_conf":true,"name":"APC Proteous Gate Controller"}, +{"category":"sensor","dependencies":["uart"],"description":"The `apc1` sensor platform allows you to use the [ScioSense APC1 air quality sensor](https://www.sciosense.com/apc1-air-quality-combo-sensor/) with ESPHome. This sensor reports particulates, total volatile organic compounds (TVOC), estimated carbon dioxide (eCO2), air quality index (AQI), temperature, and relative humidity.","docs_url":"https://esphome.io/components/sensor/apc1/","id":"sensor.apc1","image_url":"https://esphome.io/images/apc1.webp","multi_conf":true,"name":"APC1 Air Quality Combo Sensor","provides":["apc1","sensor"],"provides_id_paths":{"sensor":[["aqi","id"],["eco2","id"],["error_code","id"],["humidity","id"],["pm_0_3um","id"],["pm_0_5um","id"],["pm_10_0","id"],["pm_10_0_std","id"],["pm_10_0um","id"],["pm_1_0","id"],["pm_1_0_std","id"],["pm_1_0um","id"],["pm_2_5","id"],["pm_2_5_std","id"],["pm_2_5um","id"],["pm_5_0um","id"],["raw_humidity","id"],["raw_temperature","id"],["rs0","id"],["rs2","id"],["rs3","id"],["temperature","id"],["tvoc","id"]]}}, +{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"cover","dependencies":["uart"],"description":"The `apc_proteous` cover platform allows you to control an APC gate motor controller. It should work with any APC gate controller that accepts the Infinity 2.0 WiFi controller, including:","docs_url":"https://esphome.io/components/cover/apc_proteous/","id":"cover.apc_proteous","image_url":"https://esphome.io/images/apc_proteous.svg","multi_conf":true,"name":"APC Proteous Gate Controller"}, {"category":"sensor","dependencies":["i2c"],"description":"The `apds9306` sensor component allows you to use APDS9306 ambient light sensors ([datasheet](https://docs.broadcom.com/doc/AV02-4755EN), [Broadcom](https://www.broadcom.com/products/optical-sensors/ambient-light-photo-sensors/apds-9306-065)) with ESPHome. The [I²C](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/apds9306/","id":"sensor.apds9306","image_url":"https://esphome.io/images/apds9306.png","multi_conf":true,"name":"APDS9306 Sensor"}, -{"category":"sensor","dependencies":["i2c"],"description":"The `apds9930` sensor platform allows you to use the Broadcom APDS9930 ambient light and proximity sensor ([datasheet](https://docs.broadcom.com/doc/AV02-3190EN)) with ESPHome. The [I²C](https://esphome.io/components/i2c/) bus is required to be set up in your configuration for this sensor to work.","id":"sensor.apds9930","multi_conf":true,"name":"APDS9930 Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["illuminance","id"],["proximity","id"]]}}, +{"category":"sensor","dependencies":["i2c"],"description":"The `apds9930` sensor platform allows you to use the Broadcom APDS9930 ambient light and proximity sensor ([datasheet](https://docs.broadcom.com/doc/AV02-3190EN)) with ESPHome. The [I²C](https://esphome.io/components/i2c/) bus is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/apds9930/","id":"sensor.apds9930","image_url":"https://esphome.io/images/apds9930.jpg","multi_conf":true,"name":"APDS9930 Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["illuminance","id"],["proximity","id"]]}}, {"category":"misc","dependencies":["i2c"],"description":"The `apds9960` sensor platform allows you to use your APDS9960 RGB and gesture sensors ([datasheet](https://cdn.sparkfun.com/datasheets/Sensors/Proximity/apds9960.pdf), [SparkFun](https://www.sparkfun.com/products/12787)) with ESPHome. The [I²C](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/apds9960/","id":"apds9960","image_url":"https://esphome.io/images/apds9960.jpg","multi_conf":true,"name":"APDS9960 Sensor"}, {"category":"binary_sensor","dependencies":["apds9960"],"description":"The `apds9960` binary sensor allows you to use your [Apds9960](https://esphome.io/components/sensor/apds9960/) to perform different measurements.","docs_url":"https://esphome.io/components/sensor/apds9960/","id":"binary_sensor.apds9960","image_url":"https://esphome.io/images/apds9960.jpg","multi_conf":true,"name":"APDS9960 Sensor"}, {"category":"sensor","dependencies":["apds9960"],"description":"The `apds9960` sensor allows you to use your [Apds9960](https://esphome.io/components/sensor/apds9960/) to perform different measurements.","docs_url":"https://esphome.io/components/sensor/apds9960/","id":"sensor.apds9960","image_url":"https://esphome.io/images/apds9960.jpg","multi_conf":true,"name":"APDS9960 Sensor"}, {"category":"core","description":"The ESPHome native API is used to communicate with clients directly, with a highly-optimized network protocol. Currently, only the ESPHome tool, Home Assistant and ioBroker use this native API.","docs_url":"https://esphome.io/components/api/","id":"api","image_url":"https://esphome.io/images/server-network.svg","name":"Native API Component"}, {"category":"sensor","dependencies":["sensor"],"description":"The `aqi` sensor platform allows you to compute an Air Quality Index from PM2.5 and PM10 particulate matter sensor readings. This sensor works with any PM sensor source, such as [Pmsx003](https://esphome.io/components/sensor/pmsx003/), [Hm3301](https://esphome.io/components/sensor/hm3301/), [Sds011](https://esphome.io/components/sensor/sds011/), or [Sps30](https://esphome.io/components/sensor/sps30/).","docs_url":"https://esphome.io/components/sensor/aqi/","id":"sensor.aqi","image_url":"https://esphome.io/images/badges/aqi.svg","multi_conf":true,"name":"Air Quality Index (AQI)"}, -{"category":"sensor","description":"The `aranet` sensor platform reads advertisements from Aranet Bluetooth Low Energy devices. It supports Aranet4, Aranet2, Aranet Radiation, Aranet Radon Plus, and Aranet Radon One devices. The platform listens passively and does not connect to the device.","id":"sensor.aranet","multi_conf":true,"name":"Aranet BLE Sensors","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["co2","id"],["humidity","id"],["measurement_age","id"],["measurement_interval","id"],["pressure","id"],["radiation_duration","id"],["radiation_rate","id"],["radiation_total","id"],["radon","id"],["signal_strength","id"],["temperature","id"]]}}, +{"category":"sensor","description":"The `aranet` sensor platform reads advertisements from Aranet Bluetooth Low Energy devices. It supports Aranet4, Aranet2, Aranet Radiation, Aranet Radon Plus, and Aranet Radon One devices. The platform listens passively and does not connect to the device.","docs_url":"https://esphome.io/components/sensor/aranet/","id":"sensor.aranet","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"Aranet BLE Sensors","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["co2","id"],["humidity","id"],["measurement_age","id"],["measurement_interval","id"],["pressure","id"],["radiation_duration","id"],["radiation_rate","id"],["radiation_total","id"],["radon","id"],["signal_strength","id"],["temperature","id"]]}}, {"category":"binary_sensor","dependencies":["as3935"],"description":"Binary sensor that indicates if a lightning strike was detected.","docs_url":"https://esphome.io/components/sensor/as3935/","id":"binary_sensor.as3935","image_url":"https://esphome.io/images/as3935.jpg","multi_conf":true,"name":"AMS AS3935 Franklin Lightning Sensor"}, {"category":"sensor","dependencies":["as3935"],"description":"A sensor platform to read lightning data","docs_url":"https://esphome.io/components/sensor/as3935/","id":"sensor.as3935","image_url":"https://esphome.io/images/as3935.jpg","multi_conf":true,"name":"AMS AS3935 Franklin Lightning Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["distance","id"],["lightning_energy","id"]]}}, {"category":"misc","dependencies":["i2c"],"description":"The AS3935 can be configured to use either the SPI **or** I²C protocol for data communication. First choose which communication method you want to use for the sensor, set the SI pin for the appropriate level and set up the ESPHome component for the chosen communication method.","docs_url":"https://esphome.io/components/sensor/as3935/","id":"as3935_i2c","name":"AMS AS3935 Franklin Lightning Sensor","provides":["as3935"]}, @@ -56,9 +56,9 @@ {"category":"misc","dependencies":["i2c"],"description":"The `as5600` sensor platform you to use your AS5600 ([datasheet](https://ams.com/documents/20143/36005/AS5600_DS000365_5-00.pdf/649ee61c-8f9a-20df-9e10-43173a3eb323), [AMS](https://ams.com/en/as5600)) or AS5600L ([datasheet](https://ams.com/documents/20143/36005/AS5600L_DS000545_3-00.pdf/7ade6878-7a32-2294-b88d-479d50fab6de), [AMS](https://ams.com/en/as5600l)) 12-bit magnetic position sensor with ESPHome. Individual sensors will be added using the [AS5600 Sensor Platform](https://esphome.io/components/sensor/as5600/#sensor). To use this hub, first setup the [I²C Bus](https://esphome.io/components/i2c) and connect the sensor to the pins specified there.","docs_url":"https://esphome.io/components/sensor/as5600/","id":"as5600","image_url":"https://esphome.io/images/as5600.jpg","multi_conf":true,"name":"AS5600 12-Bit Magnetic Position Sensor"}, {"category":"sensor","dependencies":["as5600"],"description":"The `as5600` sensor allows you to publish the angle/position measurement from your AS5600 with ESPHome. First, setup an [AS5600 Hub](https://esphome.io/components/sensor/as5600/#as5600-component) for your AS5600 sensor and then use this sensor platform to create individual sensors that will report the position to Home Assistant.","docs_url":"https://esphome.io/components/sensor/as5600/","id":"sensor.as5600","image_url":"https://esphome.io/images/as5600.jpg","multi_conf":true,"name":"AS5600 12-Bit Magnetic Position Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["gain","id"],["id"],["magnitude","id"],["raw_position","id"],["status","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `as7341` sensor platform allows you to use your AS7341 spectral color sensor ([datasheet](https://look.ams-osram.com/m/24266a3e584de4db/original/AS7341-DS000504.pdf), [Adafruit](https://www.adafruit.com/product/4698)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/as7341/","id":"sensor.as7341","image_url":"https://esphome.io/images/as7341.jpg","multi_conf":true,"name":"AS7341 Spectral Color Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["clear","id"],["f1","id"],["f2","id"],["f3","id"],["f4","id"],["f5","id"],["f6","id"],["f7","id"],["f8","id"],["nir","id"]]}}, -{"category":"misc","dependencies":["i2c"],"description":"The `as734x` component allows you to use the AS7341 ([datasheet](https://look.ams-osram.com/m/24266a3e584de4db/original/AS7341-DS000504.pdf), [Adafruit](https://www.adafruit.com/product/4698)) and AS7343 ([datasheet](https://look.ams-osram.com/m/5f2d27fff9a874d2/original/AS7343-14-Channel-Multi-Spectral-Sensor.pdf)) spectral color sensors with ESPHome. The TCS3448 ([datasheet](https://look.ams-osram.com/m/1c24b057e65ee61e/original/TCS3448-14-Channel-multi-spectral-sensor.pdf)) is supported as well: it replaces the AS7343 and shares its channels, register map and calibration, so everything written below about the AS7343 applies to it too. The sensor is selected with the `type` option. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","id":"as734x","multi_conf":true,"name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor"}, -{"category":"sensor","dependencies":["as734x"],"description":"The `as734x` sensor platform publishes the readings of an `as734x` component.","id":"sensor.as734x","multi_conf":true,"name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["basic_counts","clear","id"],["basic_counts","f1","id"],["basic_counts","f2","id"],["basic_counts","f3","id"],["basic_counts","f4","id"],["basic_counts","f5","id"],["basic_counts","f6","id"],["basic_counts","f7","id"],["basic_counts","f8","id"],["basic_counts","fxl","id"],["basic_counts","fy","id"],["basic_counts","fz","id"],["basic_counts","nir","id"],["color_temperature","id"],["counts","clear","id"],["counts","f1","id"],["counts","f2","id"],["counts","f3","id"],["counts","f4","id"],["counts","f5","id"],["counts","f6","id"],["counts","f7","id"],["counts","f8","id"],["counts","fxl","id"],["counts","fy","id"],["counts","fz","id"],["counts","nir","id"],["illuminance","id"],["irradiance_par","id"],["irradiance_photopic","id"],["ppfd","id"],["saturation_level","id"]]}}, -{"category":"text_sensor","dependencies":["as734x"],"description":"The `as734x` text sensor platform publishes the colour of the light as an sRGB hex string.","id":"text_sensor.as734x","multi_conf":true,"name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["rgb_hex","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The `as734x` component allows you to use the AS7341 ([datasheet](https://look.ams-osram.com/m/24266a3e584de4db/original/AS7341-DS000504.pdf), [Adafruit](https://www.adafruit.com/product/4698)) and AS7343 ([datasheet](https://look.ams-osram.com/m/5f2d27fff9a874d2/original/AS7343-14-Channel-Multi-Spectral-Sensor.pdf)) spectral color sensors with ESPHome. The TCS3448 ([datasheet](https://look.ams-osram.com/m/1c24b057e65ee61e/original/TCS3448-14-Channel-multi-spectral-sensor.pdf)) is supported as well: it replaces the AS7343 and shares its channels, register map and calibration, so everything written below about the AS7343 applies to it too. The sensor is selected with the `type` option. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/as734x/","id":"as734x","image_url":"https://esphome.io/images/as7341.jpg","multi_conf":true,"name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor"}, +{"category":"sensor","dependencies":["as734x"],"description":"The `as734x` sensor platform publishes the readings of an `as734x` component.","docs_url":"https://esphome.io/components/sensor/as734x/","id":"sensor.as734x","image_url":"https://esphome.io/images/as7341.jpg","multi_conf":true,"name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["basic_counts","clear","id"],["basic_counts","f1","id"],["basic_counts","f2","id"],["basic_counts","f3","id"],["basic_counts","f4","id"],["basic_counts","f5","id"],["basic_counts","f6","id"],["basic_counts","f7","id"],["basic_counts","f8","id"],["basic_counts","fxl","id"],["basic_counts","fy","id"],["basic_counts","fz","id"],["basic_counts","nir","id"],["color_temperature","id"],["counts","clear","id"],["counts","f1","id"],["counts","f2","id"],["counts","f3","id"],["counts","f4","id"],["counts","f5","id"],["counts","f6","id"],["counts","f7","id"],["counts","f8","id"],["counts","fxl","id"],["counts","fy","id"],["counts","fz","id"],["counts","nir","id"],["illuminance","id"],["irradiance_par","id"],["irradiance_photopic","id"],["ppfd","id"],["saturation_level","id"]]}}, +{"category":"text_sensor","dependencies":["as734x"],"description":"The `as734x` text sensor platform publishes the colour of the light as an sRGB hex string.","docs_url":"https://esphome.io/components/sensor/as734x/","id":"text_sensor.as734x","image_url":"https://esphome.io/images/as7341.jpg","multi_conf":true,"name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["rgb_hex","id"]]}}, {"category":"core","description":"","id":"async_tcp","name":"Async TCP"}, {"category":"misc","dependencies":["i2c"],"description":"The [AirTouch AT581x radar](https://en.airtouching.com/product/32.html) (aka `AT581x` ) is a family of 5.8GHz radar which can be used for human presence detection. It can detect tiny movements and compared to a PIR sensor **it can detect presence continuously**. This can be useful, for example, to turn the lights on when you enter a room, keep them on as long as you are there (without waving your hands at the sensor) and turn them off almost immediately after you leave the room.","docs_url":"https://esphome.io/components/at581x/","id":"at581x","image_url":"https://esphome.io/images/at581x.png","multi_conf":true,"name":"AirTouch AT581x Radar"}, {"category":"switch","dependencies":["at581x"],"description":"[Switch components](https://esphome.io/components/switch/#config-switch) are used to enable/disable radio frequency hardware.","docs_url":"https://esphome.io/components/at581x/","id":"switch.at581x","image_url":"https://esphome.io/images/at581x.png","multi_conf":true,"name":"AirTouch AT581x Radar"}, @@ -81,9 +81,9 @@ {"category":"fan","dependencies":["bedjet"],"description":"The `fan` platform exposes the BedJet's fan-related functionality, including on/off and speed control.","docs_url":"https://esphome.io/components/climate/bedjet/","id":"fan.bedjet","image_url":"https://esphome.io/images/bedjet.png","multi_conf":true,"name":"BedJet","supported_platforms":["esp32"]}, {"category":"sensor","dependencies":["bedjet"],"description":"The `sensor` platform exposes the BedJet's various temperature readings as sensors.","docs_url":"https://esphome.io/components/climate/bedjet/","id":"sensor.bedjet","image_url":"https://esphome.io/images/bedjet.png","multi_conf":true,"name":"BedJet","provides":["sensor"],"provides_id_paths":{"sensor":[["ambient_temperature","id"],["outlet_temperature","id"]]},"supported_platforms":["esp32"]}, {"category":"light","dependencies":["libretiny"],"description":"This is a component using the Beken SPI DMA interface to drive addressable LED strips.","docs_url":"https://esphome.io/components/light/beken_spi_led_strip/","id":"light.beken_spi_led_strip","image_url":"https://esphome.io/images/color_lens.svg","multi_conf":true,"name":"Beken SPI LED Strip","supported_platforms":["bk72xx","ln882x","rtl87xx"]}, -{"category":"misc","dependencies":["i2c"],"description":"The `bh1745` component allows you to use your BH1745 (BH1745NUC) RGB color sensor ([datasheet](https://github.com/latonita/datasheets-storage/blob/main/sensors/BH1745NUC_ROHM_S_A0001988929_1-2561519.pdf), [Pimoroni](https://shop.pimoroni.com/products/bh1745-luminance-and-colour-sensor-breakout)) with ESPHome. It reports the red, green, blue and clear channel readings and calculates the illuminance and the color temperature of the light.","id":"bh1745","multi_conf":true,"name":"BH1745 RGB Color Sensor"}, -{"category":"output","dependencies":["bh1745"],"description":"The Pimoroni breakout board has two white LEDs that light up the object in front of the sensor. They are connected to the `INT` pin of the BH1745, so they can not be switched with a GPIO of your board. The `bh1745` output platform is a [binary output](https://esphome.io/components/output/) that switches the `INT` pin, and with it the LEDs. The component does not use the interrupt feature of the chip for anything else.","id":"output.bh1745","id_classes":["output::ApplyBinaryOutput","output::BinaryOutput"],"multi_conf":true,"name":"BH1745 RGB Color Sensor"}, -{"category":"sensor","dependencies":["bh1745"],"description":"Each configured sensor is reported on every `update_interval` of the hub.","id":"sensor.bh1745","multi_conf":true,"name":"BH1745 RGB Color Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["blue_channel","id"],["clear_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The `bh1745` component allows you to use your BH1745 (BH1745NUC) RGB color sensor ([datasheet](https://github.com/latonita/datasheets-storage/blob/main/sensors/BH1745NUC_ROHM_S_A0001988929_1-2561519.pdf), [Pimoroni](https://shop.pimoroni.com/products/bh1745-luminance-and-colour-sensor-breakout)) with ESPHome. It reports the red, green, blue and clear channel readings and calculates the illuminance and the color temperature of the light.","docs_url":"https://esphome.io/components/sensor/bh1745/","id":"bh1745","image_url":"https://esphome.io/images/bh1745.jpg","multi_conf":true,"name":"BH1745 RGB Color Sensor"}, +{"category":"output","dependencies":["bh1745"],"description":"The Pimoroni breakout board has two white LEDs that light up the object in front of the sensor. They are connected to the `INT` pin of the BH1745, so they can not be switched with a GPIO of your board. The `bh1745` output platform is a [binary output](https://esphome.io/components/output/) that switches the `INT` pin, and with it the LEDs. The component does not use the interrupt feature of the chip for anything else.","docs_url":"https://esphome.io/components/sensor/bh1745/","id":"output.bh1745","id_classes":["output::ApplyBinaryOutput","output::BinaryOutput"],"image_url":"https://esphome.io/images/bh1745.jpg","multi_conf":true,"name":"BH1745 RGB Color Sensor"}, +{"category":"sensor","dependencies":["bh1745"],"description":"Each configured sensor is reported on every `update_interval` of the hub.","docs_url":"https://esphome.io/components/sensor/bh1745/","id":"sensor.bh1745","image_url":"https://esphome.io/images/bh1745.jpg","multi_conf":true,"name":"BH1745 RGB Color Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["blue_channel","id"],["clear_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `bh1750` sensor platform allows you to use your BH1750 ([datasheet](http://www.mouser.com/ds/2/348/bh1750fvi-e-186247.pdf)) ambient light sensor with ESPHome. The [I²C bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/bh1750/","id":"sensor.bh1750","image_url":"https://esphome.io/images/bh1750.jpg","multi_conf":true,"name":"BH1750 Ambient Light Sensor"}, {"category":"sensor","dependencies":["i2c"],"description":"The `bh1900nux` sensor platform allows you to use the **BH1900NUX** ([datasheet](https://fscdn.rohm.com/en/products/databook/datasheet/ic/sensor/temperature/bh1900nux-e.pdf)) **temperature sensor** from Rohm Semiconductor with ESPHome. The [I²C bus](https://esphome.io/components/i2c) must be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/bh1900nux/","id":"sensor.bh1900nux","image_url":"https://esphome.io/images/bh1900nux-evk-001.png","multi_conf":true,"name":"BH1900NUX Temperature Sensor"}, {"category":"fan","description":"The `binary` fan platform lets you represent any binary [Output Component](https://esphome.io/components/output/) as a fan.","docs_url":"https://esphome.io/components/fan/binary/","id":"fan.binary","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Binary Fan"}, @@ -103,7 +103,7 @@ {"category":"sensor","dependencies":["ble_client"],"description":"The `ble_client` component is a sensor platform that can query BLE devices for RSSI or specific values of service characteristics.","docs_url":"https://esphome.io/components/sensor/ble_client/","id":"sensor.ble_client","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"BLE Client Sensor","supported_platforms":["esp32"]}, {"category":"switch","dependencies":["ble_client"],"description":"The `ble_client` component is a switch platform that is used to enable and disable a `ble_client`. This has several uses, such as minimizing battery usage or for allowing other clients (Eg phone apps) to connect to the device.","docs_url":"https://esphome.io/components/switch/ble_client/","id":"switch.ble_client","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"BLE Client Switch","supported_platforms":["esp32"]}, {"category":"text_sensor","dependencies":["ble_client"],"description":"The `ble_client` component is a text sensor platform that can query BLE devices for specific values of service characteristics.","docs_url":"https://esphome.io/components/text_sensor/ble_client/","id":"text_sensor.ble_client","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"BLE Client Text Sensor","supported_platforms":["esp32"]}, -{"category":"misc","dependencies":["ble_client"],"description":"The `ble_midi` component connects to a device that speaks MIDI over Bluetooth Low Energy — a wireless keyboard, a pad controller, a foot switch — and turns the notes, knobs and buttons it sends into automations. It can also send MIDI back to the device.","id":"ble_midi","multi_conf":true,"name":"BLE MIDI","supported_platforms":["esp32"]}, +{"category":"misc","dependencies":["ble_client"],"description":"The `ble_midi` component connects to a device that speaks MIDI over Bluetooth Low Energy — a wireless keyboard, a pad controller, a foot switch — and turns the notes, knobs and buttons it sends into automations. It can also send MIDI back to the device.","docs_url":"https://esphome.io/components/ble_midi/","id":"ble_midi","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"BLE MIDI","supported_platforms":["esp32"]}, {"category":"misc","description":"The BLE NUS component provides a Bluetooth Low Energy UART interface based on the Nordic UART Service. It can be used to stream logs or enable custom bidirectional communication with ESPHome.","docs_url":"https://esphome.io/components/ble_nus/","id":"ble_nus","image_url":"https://esphome.io/images/bluetooth.svg","name":"Nordic UART Service (NUS)","provides":["uart"]}, {"category":"binary_sensor","description":"The `ble_presence` binary sensor platform lets you track the presence of a Bluetooth Low Energy device.","docs_url":"https://esphome.io/components/binary_sensor/ble_presence/","id":"binary_sensor.ble_presence","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"Bluetooth Low Energy Device"}, {"category":"sensor","description":"The `ble_rssi` sensor platform lets you track the RSSI value or signal strength of a BLE device. See [the binary sensor setup](https://esphome.io/components/binary_sensor/ble_presence/#setting-up-devices) for instructions for setting up this platform.","docs_url":"https://esphome.io/components/sensor/ble_rssi/","id":"sensor.ble_rssi","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"Bluetooth Low Energy RSSI Sensor"}, @@ -133,14 +133,14 @@ {"category":"output","dependencies":["bp1658cj"],"description":"The BP1658CJ output component exposes a BP1658CJ channel of a global [Component/Hub](https://esphome.io/components/output/bp1658cj/#bp1658cj-component) as a float output.","docs_url":"https://esphome.io/components/output/bp1658cj/","id":"output.bp1658cj","image_url":"https://esphome.io/images/badges/bp1658cj.svg","multi_conf":true,"name":"BP1658CJ LED driver"}, {"category":"misc","description":"The BP5758D component represents a BP5758D LED driver chain in ESPHome. Communication is done with two GPIO pins (DATA and CLK).","docs_url":"https://esphome.io/components/output/bp5758d/","id":"bp5758d","image_url":"https://esphome.io/images/badges/bp5758d.svg","multi_conf":true,"name":"BP5758D LED driver"}, {"category":"output","dependencies":["bp5758d"],"description":"The BP5758D output component exposes a BP5758D channel of a global [Component/Hub](https://esphome.io/components/output/bp5758d/#bp5758d-component) as a float output.","docs_url":"https://esphome.io/components/output/bp5758d/","id":"output.bp5758d","image_url":"https://esphome.io/images/badges/bp5758d.svg","multi_conf":true,"name":"BP5758D LED driver"}, -{"category":"misc","dependencies":["i2c"],"description":"The `bq25186` component lets you configure and monitor the Texas Instruments BQ25186 1-cell battery charger and power-path IC over the [I²C bus](https://esphome.io/components/i2c/) ([datasheet](https://www.ti.com/lit/ds/symlink/bq25186.pdf)). The hub writes the charging, thermal and power-path configuration to the IC and reads its status registers at `update_interval`; the `binary_sensor` and `text_sensor` platforms report that status, the `button` platform triggers the IC's reset and ship modes, and the `switch` platform drives the `/PG/GPO` pin.","id":"bq25186","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger"}, -{"category":"binary_sensor","dependencies":["bq25186"],"description":"Configuration for `binary_sensor` platform. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","id":"binary_sensor.bq25186","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["battery_ocp_flag","id"],["battery_uvlo","id"],["battery_uvlo_flag","id"],["charge_done","id"],["charging","id"],["ilim","id"],["ilim_flag","id"],["power_good","id"],["safety_timer_flag","id"],["thermreg","id"],["thermreg_flag","id"],["ts","id"],["ts_flag","id"],["vdppm","id"],["vdppm_flag","id"],["vin_ovp","id"],["vin_ovp_flag","id"],["vindpm","id"],["vindpm_flag","id"],["wake1_flag","id"],["wake2_flag","id"]]}}, -{"category":"button","dependencies":["bq25186"],"description":"Configuration for `button` platform. All options from [Button](https://esphome.io/components/button/).","id":"button.bq25186","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["button"],"provides_id_paths":{"button":[["hardware_reset","id"],["ship_mode","id"],["shutdown","id"],["software_reset","id"]]}}, -{"category":"switch","dependencies":["bq25186"],"description":"Configuration for `switch` platform. All options from [Switch](https://esphome.io/components/switch/).","id":"switch.bq25186","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["switch"],"provides_id_paths":{"switch":[["pg_gpo","id"]]}}, -{"category":"text_sensor","dependencies":["bq25186"],"description":"Configuration for `text_sensor` platform. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","id":"text_sensor.bq25186","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["charge_status","id"],["ts_status","id"]]}}, -{"category":"sensor","dependencies":["i2c"],"description":"The `bq27220` platform allows you to use a BQ27220 single-cell Li-Ion battery fuel gauge ([datasheet](https://www.ti.com/lit/ds/symlink/bq27220.pdf), [Technical Reference Manual](https://www.ti.com/lit/ug/sluubd4a/sluubd4a.pdf)) in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication. The default I²C address is `0x55`.","id":"sensor.bq27220","multi_conf":true,"name":"Texas Instruments BQ27220 battery fuel gauge","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["current","id"],["full_charge_capacity","id"],["remaining_capacity","id"],["state_of_health","id"],["temperature","id"],["time_to_empty","id"],["voltage","id"]]}}, -{"category":"misc","dependencies":["i2c"],"description":"The `bq76972` component reads a Texas Instruments BQ76972 battery monitor ([datasheet](https://www.ti.com/lit/ds/slusfc9/slusfc9.pdf), [technical reference manual](https://www.ti.com/lit/ug/sluucw9/sluucw9.pdf)) over the [I²C Bus](https://esphome.io/components/i2c/). The default I²C address is `0x08`.","id":"bq76972","multi_conf":true,"name":"Texas Instruments BQ76972 Battery Monitor"}, -{"category":"sensor","dependencies":["bq76972"],"description":"The measurements are exposed through the `bq76972` sensor platform.","id":"sensor.bq76972","multi_conf":true,"name":"Texas Instruments BQ76972 Battery Monitor","provides":["sensor"],"provides_id_paths":{"sensor":[["alert_temperature","id"],["cell_10_voltage","id"],["cell_11_voltage","id"],["cell_12_voltage","id"],["cell_13_voltage","id"],["cell_14_voltage","id"],["cell_15_voltage","id"],["cell_16_voltage","id"],["cell_1_voltage","id"],["cell_2_voltage","id"],["cell_3_voltage","id"],["cell_4_voltage","id"],["cell_5_voltage","id"],["cell_6_voltage","id"],["cell_7_voltage","id"],["cell_8_voltage","id"],["cell_9_voltage","id"],["cfetoff_temperature","id"],["dchg_temperature","id"],["ddsg_temperature","id"],["dfetoff_temperature","id"],["hdq_temperature","id"],["internal_temperature","id"],["stack_voltage","id"],["ts1_temperature","id"],["ts2_temperature","id"],["ts3_temperature","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The `bq25186` component lets you configure and monitor the Texas Instruments BQ25186 1-cell battery charger and power-path IC over the [I²C bus](https://esphome.io/components/i2c/) ([datasheet](https://www.ti.com/lit/ds/symlink/bq25186.pdf)). The hub writes the charging, thermal and power-path configuration to the IC and reads its status registers at `update_interval`; the `binary_sensor` and `text_sensor` platforms report that status, the `button` platform triggers the IC's reset and ship modes, and the `switch` platform drives the `/PG/GPO` pin.","docs_url":"https://esphome.io/components/bq25186/","id":"bq25186","image_url":"https://esphome.io/images/badges/bq25186.svg","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger"}, +{"category":"binary_sensor","dependencies":["bq25186"],"description":"Configuration for `binary_sensor` platform. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","docs_url":"https://esphome.io/components/bq25186/","id":"binary_sensor.bq25186","image_url":"https://esphome.io/images/badges/bq25186.svg","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["battery_ocp_flag","id"],["battery_uvlo","id"],["battery_uvlo_flag","id"],["charge_done","id"],["charging","id"],["ilim","id"],["ilim_flag","id"],["power_good","id"],["safety_timer_flag","id"],["thermreg","id"],["thermreg_flag","id"],["ts","id"],["ts_flag","id"],["vdppm","id"],["vdppm_flag","id"],["vin_ovp","id"],["vin_ovp_flag","id"],["vindpm","id"],["vindpm_flag","id"],["wake1_flag","id"],["wake2_flag","id"]]}}, +{"category":"button","dependencies":["bq25186"],"description":"Configuration for `button` platform. All options from [Button](https://esphome.io/components/button/).","docs_url":"https://esphome.io/components/bq25186/","id":"button.bq25186","image_url":"https://esphome.io/images/badges/bq25186.svg","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["button"],"provides_id_paths":{"button":[["hardware_reset","id"],["ship_mode","id"],["shutdown","id"],["software_reset","id"]]}}, +{"category":"switch","dependencies":["bq25186"],"description":"Configuration for `switch` platform. All options from [Switch](https://esphome.io/components/switch/).","docs_url":"https://esphome.io/components/bq25186/","id":"switch.bq25186","image_url":"https://esphome.io/images/badges/bq25186.svg","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["switch"],"provides_id_paths":{"switch":[["pg_gpo","id"]]}}, +{"category":"text_sensor","dependencies":["bq25186"],"description":"Configuration for `text_sensor` platform. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","docs_url":"https://esphome.io/components/bq25186/","id":"text_sensor.bq25186","image_url":"https://esphome.io/images/badges/bq25186.svg","multi_conf":true,"name":"Texas Instruments BQ25186 Battery Charger","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["charge_status","id"],["ts_status","id"]]}}, +{"category":"sensor","dependencies":["i2c"],"description":"The `bq27220` platform allows you to use a BQ27220 single-cell Li-Ion battery fuel gauge ([datasheet](https://www.ti.com/lit/ds/symlink/bq27220.pdf), [Technical Reference Manual](https://www.ti.com/lit/ug/sluubd4a/sluubd4a.pdf)) in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication. The default I²C address is `0x55`.","docs_url":"https://esphome.io/components/sensor/bq27220/","id":"sensor.bq27220","image_url":"https://esphome.io/images/bq27220.jpg","multi_conf":true,"name":"Texas Instruments BQ27220 battery fuel gauge","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["current","id"],["full_charge_capacity","id"],["remaining_capacity","id"],["state_of_health","id"],["temperature","id"],["time_to_empty","id"],["voltage","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The `bq76972` component reads a Texas Instruments BQ76972 battery monitor ([datasheet](https://www.ti.com/lit/ds/slusfc9/slusfc9.pdf), [technical reference manual](https://www.ti.com/lit/ug/sluucw9/sluucw9.pdf)) over the [I²C Bus](https://esphome.io/components/i2c/). The default I²C address is `0x08`.","docs_url":"https://esphome.io/components/sensor/bq76972/","id":"bq76972","image_url":"https://esphome.io/images/bq76972.jpg","multi_conf":true,"name":"Texas Instruments BQ76972 Battery Monitor"}, +{"category":"sensor","dependencies":["bq76972"],"description":"The measurements are exposed through the `bq76972` sensor platform.","docs_url":"https://esphome.io/components/sensor/bq76972/","id":"sensor.bq76972","image_url":"https://esphome.io/images/bq76972.jpg","multi_conf":true,"name":"Texas Instruments BQ76972 Battery Monitor","provides":["sensor"],"provides_id_paths":{"sensor":[["alert_temperature","id"],["cell_10_voltage","id"],["cell_11_voltage","id"],["cell_12_voltage","id"],["cell_13_voltage","id"],["cell_14_voltage","id"],["cell_15_voltage","id"],["cell_16_voltage","id"],["cell_1_voltage","id"],["cell_2_voltage","id"],["cell_3_voltage","id"],["cell_4_voltage","id"],["cell_5_voltage","id"],["cell_6_voltage","id"],["cell_7_voltage","id"],["cell_8_voltage","id"],["cell_9_voltage","id"],["cfetoff_temperature","id"],["dchg_temperature","id"],["ddsg_temperature","id"],["dfetoff_temperature","id"],["hdq_temperature","id"],["internal_temperature","id"],["stack_voltage","id"],["ts1_temperature","id"],["ts2_temperature","id"],["ts3_temperature","id"]]}}, {"category":"sensor","description":"The `bthome_mithermometer` sensor platform lets you receive measurements from Xiaomi/Mijia thermometers broadcasting in [BTHome](https://bthome.io/) v2 format — that is, devices flashed with [PVVX MiThermometer](https://github.com/pvvx/ATC_MiThermometer) firmware and set to the \"BTHome v2\" advertisement type. The component listens passively to the advertisements, so it does not pair with the device and has no impact on its battery life.","docs_url":"https://esphome.io/components/sensor/bthome_mithermometer/","id":"sensor.bthome_mithermometer","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"BTHome MiThermometer Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"],["humidity","id"],["signal_strength","id"],["temperature","id"]]}}, {"category":"misc","description":"","id":"bytebuffer","name":"Bytebuffer"}, {"category":"misc","description":"The `camera_encoder` component provides image compression support for software-based cameras or cameras without internal compression. It allows raw camera frames to be compressed into a format suitable for transmission to API clients, such as Home Assistant, which expect JPEG-compressed images.","docs_url":"https://esphome.io/components/camera/camera_encoder/","id":"camera_encoder","image_url":"https://esphome.io/images/camera.svg","name":"Camera Encoder"}, @@ -184,7 +184,7 @@ {"category":"touchscreen","dependencies":["i2c"],"description":"The `cst9220` touchscreen platform allows using touch screen controllers based on the Hynitron CST92xx series of chips with ESPHome. The component supports the CST9220 (multi-touch) and CST9217 (single-touch) controllers, which are found on a number of Waveshare ESP32-S3 Touch AMOLED displays. The [I²C](https://esphome.io/components/i2c) is required to be set up in your configuration for this touchscreen to work.","docs_url":"https://esphome.io/components/touchscreen/cst9220/","id":"touchscreen.cst9220","image_url":"https://esphome.io/images/touch.svg","multi_conf":true,"name":"cst9220 Touch Screen Controller"}, {"category":"sensor","description":"The Current Transformer Clamp (`ct_clamp` ) sensor allows you to hook up a CT Clamp to an analog voltage sensor (like the [ADC sensor](https://esphome.io/components/sensor/adc/)) and convert the readings to measured single phase AC current.","docs_url":"https://esphome.io/components/sensor/ct_clamp/","id":"sensor.ct_clamp","image_url":"https://esphome.io/images/ct_clamp.jpg","multi_conf":true,"name":"CT Clamp Current Sensor"}, {"category":"cover","description":"The `current_based` cover platform allows you to create covers with position control by using current sensors to detect the fully-open and fully-closed states. This is pretty useful when using motors with integrated mechanical endstops. During cover operation, the component monitors the current consumption to detect when the motor has stopped.","docs_url":"https://esphome.io/components/cover/current_based/","id":"cover.current_based","image_url":"https://esphome.io/images/flash.svg","multi_conf":true,"name":"Current Based Cover"}, -{"category":"sensor","dependencies":["i2c"],"description":"The `cw2017` platform allows you to monitor the remaining capacity and voltage of a lithium-ion battery with a CellWise CW2017 fuel gauge in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","id":"sensor.cw2017","multi_conf":true,"name":"CellWise CW2017 battery fuel gauge","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"]]}}, +{"category":"sensor","dependencies":["i2c"],"description":"The `cw2017` platform allows you to monitor the remaining capacity and voltage of a lithium-ion battery with a CellWise CW2017 fuel gauge in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","docs_url":"https://esphome.io/components/sensor/cw2017/","id":"sensor.cw2017","image_url":"https://esphome.io/images/badges/cw2017.svg","multi_conf":true,"name":"CellWise CW2017 battery fuel gauge","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"]]}}, {"category":"light","description":"The `cwww` light platform creates a cold white + warm white light from 2 [float output components](https://esphome.io/components/output/) (one for each channel). The two channels can be controlled individually or together.","docs_url":"https://esphome.io/components/light/cwww/","id":"light.cwww","id_classes":["cwww::CWWWLightOutput","light::LightOutput","light::LightState"],"image_url":"https://esphome.io/images/brightness-medium.svg","multi_conf":true,"name":"Cold White + Warm White Light"}, {"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true}},"category":"sensor","dependencies":["uart"],"description":"The `d01` sensor platform allows you to use YYS D01 particulate matter sensors ([datasheet](https://manuals.plus/ae/1005006417362019)) with ESPHome. This is a similar form factor to the [PM1006](https://esphome.io/components/sensor/pm1006) sensor, though not a direct replacement. The sensor itself is based on the GD32 MCU and outputs UART. It reports a range of 5\\~2500µg/m³ particle concentration, though these are the uncalibrated limits. See the **filter** section below for proper calculation. The effective range is 0\\~1000µg/m³.","docs_url":"https://esphome.io/components/sensor/d01/","id":"sensor.d01","image_url":"https://esphome.io/images/d01.jpg","multi_conf":true,"name":"D01 Particulate Matter Sensor"}, {"category":"misc","dependencies":["i2c"],"description":"The DAC7678 component represents a DAC7678 12-bit 8 channel DAC with internal reference ([datasheet](https://www.ti.com/lit/ds/symlink/dac7678.pdf)) in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c) for communication.","docs_url":"https://esphome.io/components/output/dac7678/","id":"dac7678","image_url":"https://esphome.io/images/badges/dac7678.svg","multi_conf":true,"name":"DAC7678"}, @@ -192,7 +192,7 @@ {"category":"climate","dependencies":["remote_transmitter"],"description":"The `daikin` climate controls units that use the Daikin ARC43xxx remotes. The target temperature can be set in 0.5 °C steps. The following presets are supported and map to the unit's own functions:","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.daikin","multi_conf":true,"name":"IR Remote Climate"}, {"category":"climate","dependencies":["remote_transmitter"],"description":"The Daikin ARC remotes (`daikin_arc` climate, `daikin_arc417`, `daikin_arc480` protocols of [Arduino-HeatpumpIR](https://esphome.io/components/climate/climate_ir/#heatpumpir)) are used by the Japanese model of Daikin.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.daikin_arc","multi_conf":true,"name":"IR Remote Climate"}, {"category":"climate","dependencies":["remote_transmitter"],"description":"The Daikin BRC remotes are used by the ceiling cassette model of Daikin heatpumps.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.daikin_brc","multi_conf":true,"name":"IR Remote Climate"}, -{"category":"climate","dependencies":["ble_client"],"description":"The `daikin_madoka` component creates a climate device that controls a Daikin Madoka (BRC1H) wired controller over Bluetooth, the way the Daikin smartphone app does.","id":"climate.daikin_madoka","multi_conf":true,"name":"Daikin Madoka","supported_platforms":["esp32"]}, +{"category":"climate","dependencies":["ble_client"],"description":"The `daikin_madoka` component creates a climate device that controls a Daikin Madoka (BRC1H) wired controller over Bluetooth, the way the Daikin smartphone app does.","docs_url":"https://esphome.io/components/climate/daikin_madoka/","id":"climate.daikin_madoka","image_url":"https://esphome.io/images/daikin.png","multi_conf":true,"name":"Daikin Madoka","supported_platforms":["esp32"]}, {"category":"sensor","dependencies":["one_wire"],"description":"The `dallas_temp` component allows you to use [DS18B20](https://www.adafruit.com/product/374) ([datasheet](https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf)) and similar 1-Wire temperature sensors. A [1-Wire bus](https://esphome.io/components/one_wire/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/dallas_temp/","id":"sensor.dallas_temp","image_url":"https://esphome.io/images/dallas.jpg","multi_conf":true,"name":"Dallas Temperature Sensor"}, {"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `daly_bms` sensor platform allows you to use a Daly Smart BMS ([more info](https://dalyelec.en.made-in-china.com/)) with ESPHome.","docs_url":"https://esphome.io/components/sensor/daly_bms/","id":"daly_bms","image_url":"https://esphome.io/images/daly_bms.jpg","multi_conf":true,"name":"Daly BMS Sensor"}, {"category":"binary_sensor","dependencies":["daly_bms"],"description":"Binary sensor that indicates the status of MOS.","docs_url":"https://esphome.io/components/sensor/daly_bms/","id":"binary_sensor.daly_bms","image_url":"https://esphome.io/images/daly_bms.jpg","multi_conf":true,"name":"Daly BMS Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["charging_mos_enabled","id"],["discharging_mos_enabled","id"]]}}, @@ -204,27 +204,27 @@ {"category":"text_sensor","dependencies":["debug"],"description":"Debug component in ESPHome","docs_url":"https://esphome.io/components/debug","id":"text_sensor.debug","image_url":"https://esphome.io/images/bug-report.svg","multi_conf":true,"name":"Debug Component","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["device","id"],["reset_reason","id"]]}}, {"category":"misc","description":"The `deep_sleep` component can be used to automatically enter a deep sleep mode on the ESP8266/ESP32/BK72xx/nRF52 after a certain amount of time. This is especially useful with nodes that operate on batteries and therefore need to conserve as much energy as possible.","docs_url":"https://esphome.io/components/deep_sleep/","id":"deep_sleep","image_url":"https://esphome.io/images/hotel.svg","name":"Deep Sleep Component"}, {"category":"climate","dependencies":["remote_transmitter"],"description":"The `delonghi` climate currently supports the protocol used by some Delonghi portable units, known working with Delonghi PAC WE 120HP.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.delonghi","multi_conf":true,"name":"IR Remote Climate"}, -{"category":"misc","dependencies":["ble_client"],"description":"The `delta_wallbox` component connects to a Delta AC wallbox over Bluetooth Low Energy. It reports the charger's model, serial number, firmware versions, state, power, energy and charging time, lets you set the maximum charging current, and can start and stop a charging session.","id":"delta_wallbox","multi_conf":true,"name":"Delta AC Wallbox","supported_platforms":["esp32"]}, -{"category":"button","dependencies":["delta_wallbox"],"description":"","id":"button.delta_wallbox","multi_conf":true,"name":"Delta Wallbox","provides":["button"],"provides_id_paths":{"button":[["start_charging","id"],["stop_charging","id"]]},"supported_platforms":["esp32"]}, -{"category":"number","dependencies":["delta_wallbox"],"description":"","id":"number.delta_wallbox","multi_conf":true,"name":"Delta Wallbox","provides":["number"],"provides_id_paths":{"number":[["max_current","id"]]},"supported_platforms":["esp32"]}, -{"category":"sensor","dependencies":["delta_wallbox"],"description":"","id":"sensor.delta_wallbox","multi_conf":true,"name":"Delta Wallbox","provides":["sensor"],"provides_id_paths":{"sensor":[["charger_state","id"],["charging_time","id"],["energy","id"],["max_current","id"],["power","id"]]},"supported_platforms":["esp32"]}, -{"category":"text_sensor","dependencies":["delta_wallbox"],"description":"","id":"text_sensor.delta_wallbox","multi_conf":true,"name":"Delta Wallbox","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["bt_fw_version","id"],["error_code","id"],["fw_version","id"],["model_name","id"],["serial_number","id"]]},"supported_platforms":["esp32"]}, +{"category":"misc","dependencies":["ble_client"],"description":"The `delta_wallbox` component connects to a Delta AC wallbox over Bluetooth Low Energy. It reports the charger's model, serial number, firmware versions, state, power, energy and charging time, lets you set the maximum charging current, and can start and stop a charging session.","docs_url":"https://esphome.io/components/delta_wallbox/","id":"delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","multi_conf":true,"name":"Delta AC Wallbox","supported_platforms":["esp32"]}, +{"category":"button","dependencies":["delta_wallbox"],"description":"A Delta AC wallbox over Bluetooth in ESPHome.","docs_url":"https://esphome.io/components/delta_wallbox","id":"button.delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","multi_conf":true,"name":"Delta AC Wallbox","provides":["button"],"provides_id_paths":{"button":[["start_charging","id"],["stop_charging","id"]]},"supported_platforms":["esp32"]}, +{"category":"number","dependencies":["delta_wallbox"],"description":"A Delta AC wallbox over Bluetooth in ESPHome.","docs_url":"https://esphome.io/components/delta_wallbox","id":"number.delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","multi_conf":true,"name":"Delta AC Wallbox","provides":["number"],"provides_id_paths":{"number":[["max_current","id"]]},"supported_platforms":["esp32"]}, +{"category":"sensor","dependencies":["delta_wallbox"],"description":"A Delta AC wallbox over Bluetooth in ESPHome.","docs_url":"https://esphome.io/components/delta_wallbox","id":"sensor.delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","multi_conf":true,"name":"Delta AC Wallbox","provides":["sensor"],"provides_id_paths":{"sensor":[["charger_state","id"],["charging_time","id"],["energy","id"],["max_current","id"],["power","id"]]},"supported_platforms":["esp32"]}, +{"category":"text_sensor","dependencies":["delta_wallbox"],"description":"A Delta AC wallbox over Bluetooth in ESPHome.","docs_url":"https://esphome.io/components/delta_wallbox","id":"text_sensor.delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","multi_conf":true,"name":"Delta AC Wallbox","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["bt_fw_version","id"],["error_code","id"],["fw_version","id"],["model_name","id"],["serial_number","id"]]},"supported_platforms":["esp32"]}, {"category":"misc","description":"The `demo` component can be used for testing to generate sample instances of many different components (sensors, lights, ...)","docs_url":"https://esphome.io/components/demo/","id":"demo","image_url":"https://esphome.io/images/description.svg","name":"Demo Component"}, {"category":"sensor","dependencies":["sensor"],"description":"The `dew_point` platform allows you to calculate the dew point from air temperature and relative humidity. For the calculation the Magnus formula approximation is used.","docs_url":"https://esphome.io/components/sensor/dew_point/","id":"sensor.dew_point","image_url":"https://esphome.io/images/water-drop.svg","multi_conf":true,"name":"Dew Point"}, {"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `dfplayer` ([datasheet](https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299)), component allows you to play sound and music stored in an SD card or USB flash drive.","docs_url":"https://esphome.io/components/dfplayer/","id":"dfplayer","image_url":"https://esphome.io/images/dfplayer.svg","multi_conf":true,"name":"DF-Player mini"}, {"category":"misc","dependencies":["uart"],"description":"The [DFRobot mmWave Radar](https://wiki.dfrobot.com/mmWave_Radar_Human_Presence_Detection_SKU_SEN0395) (aka `SEN0395` ) is a 24GHz radar which can be used for human presence detection. It can detect tiny movements and compared to a PIR sensor **it can detect presence continuously**. This can be useful, for example, to turn the lights on when you enter a room, keep them on as long as you are there (without waving your hands at the sensor) and turn them off almost immediately after you leave the room.","docs_url":"https://esphome.io/components/dfrobot_sen0395/","id":"dfrobot_sen0395","image_url":"https://esphome.io/images/dfrobot_sen0395.jpg","multi_conf":true,"name":"DFRobot mmWave Radar"}, {"category":"binary_sensor","dependencies":["dfrobot_sen0395"],"description":"To determine presence, you can simply use a [Gpio](https://esphome.io/components/binary_sensor/gpio/) and connect a single GPIO pin from your processor to the IO2 pin of the mmWave radar. Using a dedicated GPIO pin may offer an advantage since it may wake the processor from sleep.","docs_url":"https://esphome.io/components/dfrobot_sen0395/","id":"binary_sensor.dfrobot_sen0395","image_url":"https://esphome.io/images/dfrobot_sen0395.jpg","multi_conf":true,"name":"DFRobot mmWave Radar"}, {"category":"switch","dependencies":["dfrobot_sen0395"],"description":"[Switch components](https://esphome.io/components/switch/#config-switch) are used to enable/disable various module features/functions.","docs_url":"https://esphome.io/components/dfrobot_sen0395/","id":"switch.dfrobot_sen0395","image_url":"https://esphome.io/images/dfrobot_sen0395.jpg","multi_conf":true,"name":"DFRobot mmWave Radar"}, -{"category":"sensor","dependencies":["i2c"],"description":"The `dfrobot_sen0465_i2c` and `dfrobot_sen0465_uart` sensor platforms allow you to use the DFRobot \"Factory Calibrated Electrochemical Gas Sensor\" series ([product page](https://www.dfrobot.com/product-2510.html)) with ESPHome. All boards of the series use the same protocol. They only differ in the gas probe that is fitted.","id":"sensor.dfrobot_sen0465_i2c","multi_conf":true,"name":"DFRobot SEN0465 to SEN0476 Gas Sensors","provides":["sensor"],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}}, -{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"sensor","dependencies":["uart"],"description":"","id":"sensor.dfrobot_sen0465_uart","multi_conf":true,"name":"Dfrobot Sen0465 UART","provides":["sensor"],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}}, -{"bus_constraints":{"uart":{"baud_rate":9600,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","id":"dfrobot_sen0609","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar"}, -{"category":"binary_sensor","dependencies":["dfrobot_sen0609"],"description":"","id":"binary_sensor.dfrobot_sen0609","multi_conf":true,"name":"Dfrobot Sen0609","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}}, -{"category":"button","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","id":"button.dfrobot_sen0609","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["button"],"provides_id_paths":{"button":[["factory_reset","id"],["query_params","id"],["restart","id"]]}}, -{"category":"number","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","id":"number.dfrobot_sen0609","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["number"],"provides_id_paths":{"number":[["hold_sensitivity","id"],["inhibit_time","id"],["max_range","id"],["min_range","id"],["off_latency","id"],["on_latency","id"],["threshold_factor","id"],["trigger_range","id"],["trigger_sensitivity","id"]]}}, -{"category":"select","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","id":"select.dfrobot_sen0609","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["select"],"provides_id_paths":{"select":[["out_pin_level","id"]]}}, -{"category":"sensor","dependencies":["dfrobot_sen0609"],"description":"The sensors need the hub `mode` to be `speed_and_distance`; configuration validation fails otherwise. When no target is detected, the sensors report an unknown state.","id":"sensor.dfrobot_sen0609","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["sensor"],"provides_id_paths":{"sensor":[["target_distance","id"],["target_energy","id"],["target_speed","id"]]}}, -{"category":"switch","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","id":"switch.dfrobot_sen0609","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["switch"],"provides_id_paths":{"switch":[["micro_motion","id"],["out_led","id"],["run_led","id"]]}}, -{"category":"text_sensor","dependencies":["dfrobot_sen0609"],"description":"The versions are read from the module at boot.","id":"text_sensor.dfrobot_sen0609","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["hardware_version","id"],["version","id"]]}}, +{"category":"sensor","dependencies":["i2c"],"description":"The `dfrobot_sen0465_i2c` and `dfrobot_sen0465_uart` sensor platforms allow you to use the DFRobot \"Factory Calibrated Electrochemical Gas Sensor\" series ([product page](https://www.dfrobot.com/product-2510.html)) with ESPHome. All boards of the series use the same protocol. They only differ in the gas probe that is fitted.","docs_url":"https://esphome.io/components/sensor/dfrobot_sen0465/","id":"sensor.dfrobot_sen0465_i2c","multi_conf":true,"name":"DFRobot SEN0465 to SEN0476 Gas Sensors","provides":["sensor"],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}}, +{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"sensor","dependencies":["uart"],"description":"","docs_url":"https://esphome.io/components/sensor/dfrobot_sen0465","id":"sensor.dfrobot_sen0465_uart","multi_conf":true,"name":"Dfrobot Sen0465 UART","provides":["sensor"],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}}, +{"bus_constraints":{"uart":{"baud_rate":9600,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","docs_url":"https://esphome.io/components/dfrobot_sen0609/","id":"dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar"}, +{"category":"binary_sensor","dependencies":["dfrobot_sen0609"],"description":"DFRobot SEN0609 and SEN0610 (C4001) mmWave presence radars.","docs_url":"https://esphome.io/components/dfrobot_sen0609","id":"binary_sensor.dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}}, +{"category":"button","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","docs_url":"https://esphome.io/components/dfrobot_sen0609/","id":"button.dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["button"],"provides_id_paths":{"button":[["factory_reset","id"],["query_params","id"],["restart","id"]]}}, +{"category":"number","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","docs_url":"https://esphome.io/components/dfrobot_sen0609/","id":"number.dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["number"],"provides_id_paths":{"number":[["hold_sensitivity","id"],["inhibit_time","id"],["max_range","id"],["min_range","id"],["off_latency","id"],["on_latency","id"],["threshold_factor","id"],["trigger_range","id"],["trigger_sensitivity","id"]]}}, +{"category":"select","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","docs_url":"https://esphome.io/components/dfrobot_sen0609/","id":"select.dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["select"],"provides_id_paths":{"select":[["out_pin_level","id"]]}}, +{"category":"sensor","dependencies":["dfrobot_sen0609"],"description":"The sensors need the hub `mode` to be `speed_and_distance`; configuration validation fails otherwise. When no target is detected, the sensors report an unknown state.","docs_url":"https://esphome.io/components/dfrobot_sen0609/","id":"sensor.dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["sensor"],"provides_id_paths":{"sensor":[["target_distance","id"],["target_energy","id"],["target_speed","id"]]}}, +{"category":"switch","dependencies":["uart","dfrobot_sen0609"],"description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","docs_url":"https://esphome.io/components/dfrobot_sen0609/","id":"switch.dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["switch"],"provides_id_paths":{"switch":[["micro_motion","id"],["out_led","id"],["run_led","id"]]}}, +{"category":"text_sensor","dependencies":["dfrobot_sen0609"],"description":"The versions are read from the module at boot.","docs_url":"https://esphome.io/components/dfrobot_sen0609/","id":"text_sensor.dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","multi_conf":true,"name":"DFRobot SEN0609 mmWave Radar","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["hardware_version","id"],["version","id"]]}}, {"category":"sensor","description":"The DHT Temperature+Humidity sensor allows you to use your","docs_url":"https://esphome.io/components/sensor/dht/","id":"sensor.dht","image_url":"https://esphome.io/images/dht.jpg","multi_conf":true,"name":"DHT Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `dht12` Temperature+Humidity sensor allows you to use your DHT12 ([datasheet](http://www.robototehnika.ru/file/DHT12.pdf), [electrodragon](http://www.electrodragon.com/product/dht12/)) I²C-based sensor with ESPHome. This sensor is also called AM2320 by some sellers.","docs_url":"https://esphome.io/components/sensor/dht12/","id":"sensor.dht12","image_url":"https://esphome.io/images/dht12.jpg","multi_conf":true,"name":"DHT12 Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"bus_constraints":{"uart":{"require_rx":true}},"category":"misc","dependencies":["uart"],"description":"The `dlms_meter` component connects to smart meters which use the **DLMS/COSEM** protocol in PUSH mode over UART. These smart meters are widely deployed globally.","docs_url":"https://esphome.io/components/sensor/dlms_meter/","id":"dlms_meter","image_url":"https://esphome.io/images/dlms_meter.jpg","multi_conf":true,"name":"DLMS Meter"}, @@ -237,29 +237,29 @@ {"category":"one_wire","dependencies":["i2c"],"description":"The `ds2484` platform provides access to 1-Wire busses via DS2484 device using the [I²C Bus](https://esphome.io/components/i2c) for communication.","docs_url":"https://esphome.io/components/one_wire/ds2484/","id":"one_wire.ds2484","image_url":"https://esphome.io/images/badges/ds2484.svg","multi_conf":true,"name":"1-Wire Bus via DS2484"}, {"category":"misc","dependencies":["i2c"],"description":"The `ds248x` component supports DS2482-100, DS2482-101, DS2482-800, and DS2484 I2C-to-1-Wire bridge chips. Configure the bridge itself under `ds248x`, then create one or more [1-Wire bus](https://esphome.io/components/one_wire/) entries using the `ds248x` platform.","docs_url":"https://esphome.io/components/one_wire/ds248x/","id":"ds248x","image_url":"https://esphome.io/images/badges/ds248x.svg","multi_conf":true,"name":"DS248x 1-Wire Bus Master"}, {"category":"one_wire","dependencies":["ds248x"],"description":"The `ds248x` component supports DS2482-100, DS2482-101, DS2482-800, and DS2484 I2C-to-1-Wire bridge chips. Configure the bridge itself under `ds248x`, then create one or more [1-Wire bus](https://esphome.io/components/one_wire/) entries using the `ds248x` platform.","docs_url":"https://esphome.io/components/one_wire/ds248x/","id":"one_wire.ds248x","image_url":"https://esphome.io/images/badges/ds248x.svg","multi_conf":true,"name":"DS248x 1-Wire Bus Master"}, -{"category":"misc","dependencies":["i2c"],"description":"The `ds3231` component provides support for the Maxim/Analog Devices DS3231 real-time clock (RTC). The DS3231 is a temperature-compensated RTC accurate to a few parts per million, and is found on inexpensive breakout boards such as the ZS-042.","id":"ds3231","multi_conf":true,"name":"DS3231 Real-Time Clock"}, -{"category":"binary_sensor","dependencies":["ds3231"],"description":"The `ds3231` binary sensor platform reports the alarm flags and the oscillator-stop flag of a [DS3231 real-time clock](https://esphome.io/components/ds3231/).","id":"binary_sensor.ds3231","multi_conf":true,"name":"DS3231 Binary Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["alarm_1","id"],["alarm_2","id"],["oscillator_stopped","id"]]}}, -{"category":"sensor","dependencies":["ds3231"],"description":"The `ds3231` sensor platform reads the temperature measured by the [DS3231 real-time clock](https://esphome.io/components/ds3231/). The chip uses this reading internally to compensate its oscillator; it has 0.25 °C resolution.","id":"sensor.ds3231","multi_conf":true,"name":"DS3231 Temperature Sensor"}, -{"category":"time","dependencies":["ds3231"],"description":"The `ds3231` time platform keeps the system clock from a [DS3231 real-time clock](https://esphome.io/components/ds3231/), so the device knows the time right after boot, even without a network connection.","id":"time.ds3231","multi_conf":true,"name":"DS3231 Time Source","provides":["ds3231"]}, +{"category":"misc","dependencies":["i2c"],"description":"The `ds3231` component provides support for the Maxim/Analog Devices DS3231 real-time clock (RTC). The DS3231 is a temperature-compensated RTC accurate to a few parts per million, and is found on inexpensive breakout boards such as the ZS-042.","docs_url":"https://esphome.io/components/ds3231/","id":"ds3231","image_url":"https://esphome.io/images/ds3231.jpg","multi_conf":true,"name":"DS3231 Real-Time Clock"}, +{"category":"binary_sensor","dependencies":["ds3231"],"description":"The `ds3231` binary sensor platform reports the alarm flags and the oscillator-stop flag of a [DS3231 real-time clock](https://esphome.io/components/ds3231/).","docs_url":"https://esphome.io/components/binary_sensor/ds3231/","id":"binary_sensor.ds3231","image_url":"https://esphome.io/images/ds3231.jpg","multi_conf":true,"name":"DS3231 Binary Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["alarm_1","id"],["alarm_2","id"],["oscillator_stopped","id"]]}}, +{"category":"sensor","dependencies":["ds3231"],"description":"The `ds3231` sensor platform reads the temperature measured by the [DS3231 real-time clock](https://esphome.io/components/ds3231/). The chip uses this reading internally to compensate its oscillator; it has 0.25 °C resolution.","docs_url":"https://esphome.io/components/sensor/ds3231/","id":"sensor.ds3231","image_url":"https://esphome.io/images/ds3231.jpg","multi_conf":true,"name":"DS3231 Temperature Sensor"}, +{"category":"time","dependencies":["ds3231"],"description":"The `ds3231` time platform keeps the system clock from a [DS3231 real-time clock](https://esphome.io/components/ds3231/), so the device knows the time right after boot, even without a network connection.","docs_url":"https://esphome.io/components/time/ds3231/","id":"time.ds3231","image_url":"https://esphome.io/images/ds3231.jpg","multi_conf":true,"name":"DS3231 Time Source","provides":["ds3231"]}, {"category":"misc","dependencies":["uart"],"description":"The DSMR component connects to Dutch Smart Meters which comply to DSMR (Dutch Smart Meter Requirements), also known as 'Slimme meter' or 'P1 port'.","docs_url":"https://esphome.io/components/sensor/dsmr/","id":"dsmr","image_url":"https://esphome.io/images/badges/dsmr.svg","multi_conf":true,"name":"DSMR Component"}, {"category":"sensor","dependencies":["dsmr","uart"],"description":"The DSMR component connects to Dutch Smart Meters which comply to DSMR (Dutch Smart Meter Requirements), also known as 'Slimme meter' or 'P1 port'.","docs_url":"https://esphome.io/components/sensor/dsmr/","id":"sensor.dsmr","image_url":"https://esphome.io/images/badges/dsmr.svg","multi_conf":true,"name":"DSMR Component","provides":["sensor"],"provides_id_paths":{"sensor":[["abs_power","id"],["active_demand_abs","id"],["active_demand_net","id"],["active_demand_power","id"],["active_energy_export_current_average_demand","id"],["active_energy_export_last_completed_demand","id"],["active_energy_import_current_average_demand","id"],["active_energy_import_last_completed_demand","id"],["active_energy_import_maximum_demand_last_13_months","id"],["active_energy_import_maximum_demand_running_month","id"],["apparent_delivery_power","id"],["apparent_delivery_power_l1","id"],["apparent_delivery_power_l2","id"],["apparent_delivery_power_l3","id"],["apparent_energy_export_current_average_demand","id"],["apparent_energy_export_last_completed_demand","id"],["apparent_energy_import_current_average_demand","id"],["apparent_energy_import_last_completed_demand","id"],["apparent_return_power","id"],["apparent_return_power_l1","id"],["apparent_return_power_l2","id"],["apparent_return_power_l3","id"],["current","id"],["current_fuse_l1","id"],["current_fuse_l2","id"],["current_fuse_l3","id"],["current_l1","id"],["current_l2","id"],["current_l3","id"],["current_n","id"],["current_sum","id"],["electricity_failures","id"],["electricity_long_failures","id"],["electricity_sags_l1","id"],["electricity_sags_l2","id"],["electricity_sags_l3","id"],["electricity_swells_l1","id"],["electricity_swells_l2","id"],["electricity_swells_l3","id"],["electricity_threshold","id"],["energy_delivered_ch","id"],["energy_delivered_lux","id"],["energy_delivered_tariff1","id"],["energy_delivered_tariff1_ch","id"],["energy_delivered_tariff1_il","id"],["energy_delivered_tariff2","id"],["energy_delivered_tariff2_ch","id"],["energy_delivered_tariff2_il","id"],["energy_delivered_tariff3","id"],["energy_delivered_tariff3_il","id"],["energy_delivered_tariff4","id"],["energy_returned_ch","id"],["energy_returned_lux","id"],["energy_returned_tariff1","id"],["energy_returned_tariff1_ch","id"],["energy_returned_tariff1_il","id"],["energy_returned_tariff2","id"],["energy_returned_tariff2_ch","id"],["energy_returned_tariff2_il","id"],["energy_returned_tariff3","id"],["energy_returned_tariff3_il","id"],["energy_returned_tariff4","id"],["frequency","id"],["gas_delivered","id"],["gas_delivered_be","id"],["gas_delivered_gj","id"],["gas_device_type","id"],["gas_valve_position","id"],["maximum_power_delivered_ch","id"],["maximum_power_returned_ch","id"],["min_power_factor","id"],["period_3_for_instantaneous_values","id"],["power_delivered","id"],["power_delivered_ch","id"],["power_delivered_l1","id"],["power_delivered_l1_ch","id"],["power_delivered_l2","id"],["power_delivered_l2_ch","id"],["power_delivered_l3","id"],["power_delivered_l3_ch","id"],["power_factor","id"],["power_factor_l1","id"],["power_factor_l2","id"],["power_factor_l3","id"],["power_returned","id"],["power_returned_ch","id"],["power_returned_l1","id"],["power_returned_l1_ch","id"],["power_returned_l2","id"],["power_returned_l2_ch","id"],["power_returned_l3","id"],["power_returned_l3_ch","id"],["reactive_energy_delivered_tariff1","id"],["reactive_energy_delivered_tariff2","id"],["reactive_energy_delivered_tariff3","id"],["reactive_energy_delivered_tariff4","id"],["reactive_energy_export_current_average_demand","id"],["reactive_energy_export_last_completed_demand","id"],["reactive_energy_import_current_average_demand","id"],["reactive_energy_import_last_completed_demand","id"],["reactive_energy_q1_ch","id"],["reactive_energy_q1_tariff1_ch","id"],["reactive_energy_q1_tariff2_ch","id"],["reactive_energy_q2_ch","id"],["reactive_energy_q2_tariff1_ch","id"],["reactive_energy_q2_tariff2_ch","id"],["reactive_energy_q3_ch","id"],["reactive_energy_q3_tariff1_ch","id"],["reactive_energy_q3_tariff2_ch","id"],["reactive_energy_q4_ch","id"],["reactive_energy_q4_tariff1_ch","id"],["reactive_energy_q4_tariff2_ch","id"],["reactive_energy_returned_tariff1","id"],["reactive_energy_returned_tariff2","id"],["reactive_energy_returned_tariff3","id"],["reactive_energy_returned_tariff4","id"],["reactive_power_delivered","id"],["reactive_power_delivered_l1","id"],["reactive_power_delivered_l1_ch","id"],["reactive_power_delivered_l2","id"],["reactive_power_delivered_l2_ch","id"],["reactive_power_delivered_l3","id"],["reactive_power_delivered_l3_ch","id"],["reactive_power_returned","id"],["reactive_power_returned_l1","id"],["reactive_power_returned_l1_ch","id"],["reactive_power_returned_l2","id"],["reactive_power_returned_l2_ch","id"],["reactive_power_returned_l3","id"],["reactive_power_returned_l3_ch","id"],["sub_delivered","id"],["sub_device_type","id"],["sub_valve_position","id"],["thermal_delivered","id"],["thermal_device_type","id"],["thermal_valve_position","id"],["total_exported_energy","id"],["total_exported_energy_ch","id"],["total_imported_energy","id"],["total_imported_energy_ch","id"],["voltage","id"],["voltage_avg_l1","id"],["voltage_avg_l2","id"],["voltage_avg_l3","id"],["voltage_l1","id"],["voltage_l2","id"],["voltage_l3","id"],["voltage_sag_l1","id"],["voltage_sag_l2","id"],["voltage_sag_l3","id"],["voltage_sag_time_l1","id"],["voltage_sag_time_l2","id"],["voltage_sag_time_l3","id"],["voltage_swell_l1","id"],["voltage_swell_l2","id"],["voltage_swell_l3","id"],["voltage_swell_time_l1","id"],["voltage_swell_time_l2","id"],["voltage_swell_time_l3","id"],["water_delivered","id"],["water_device_type","id"],["water_valve_position","id"]]}}, {"category":"text_sensor","dependencies":["uart","dsmr"],"description":"The DSMR component connects to Dutch Smart Meters which comply to DSMR (Dutch Smart Meter Requirements), also known as 'Slimme meter' or 'P1 port'.","docs_url":"https://esphome.io/components/sensor/dsmr/","id":"text_sensor.dsmr","image_url":"https://esphome.io/images/badges/dsmr.svg","multi_conf":true,"name":"DSMR Component","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["electricity_failure_log","id"],["electricity_failure_log_il","id"],["electricity_switch_position","id"],["electricity_tariff","id"],["electricity_tariff_il","id"],["equipment_id","id"],["fw_core_checksum","id"],["fw_core_version","id"],["fw_module_checksum","id"],["fw_module_version","id"],["gas_delivered_text","id"],["gas_equipment_id","id"],["gas_equipment_id_be","id"],["identification","id"],["message_long","id"],["message_short","id"],["p1_version","id"],["p1_version_be","id"],["sub_equipment_id","id"],["telegram","id"],["thermal_equipment_id","id"],["timestamp","id"],["water_equipment_id","id"]]}}, -{"bus_constraints":{"uart":{"baud_rate":57600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The Duco component controls a Duco ventilation system directly over a UART connection, without the Duco Connectivity Board. It uses the same protocol as the Connectivity Board.","id":"duco","multi_conf":true,"name":"Duco Ventilation"}, -{"category":"number","dependencies":["duco"],"description":"The number shows and changes the comfort temperature of the box, from 10.0 °C to 25.5 °C in steps of 0.1 °C.","id":"number.duco","multi_conf":true,"name":"Duco Ventilation"}, -{"category":"select","dependencies":["duco"],"description":"The select shows and changes the ventilation mode.","id":"select.duco","multi_conf":true,"name":"Duco Ventilation"}, -{"category":"sensor","dependencies":["duco"],"description":"The sensors read the nodes connected to the box and the state of the box itself. CO2 and humidity nodes also measure temperature.","id":"sensor.duco","multi_conf":true,"name":"Duco Ventilation","provides":["sensor"],"provides_id_paths":{"sensor":[["bypass","id"],["co2","id"],["filter_remaining","id"],["flow_level","id"],["humidity","id"],["temperature","id"],["temperature_eha","id"],["temperature_eta","id"],["temperature_oda","id"],["temperature_sup","id"],["time_remaining","id"]]}}, -{"category":"text_sensor","dependencies":["duco"],"description":"The text sensor reports the serial number of the box.","id":"text_sensor.duco","multi_conf":true,"name":"Duco Ventilation"}, +{"bus_constraints":{"uart":{"baud_rate":57600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The Duco component controls a Duco ventilation system directly over a UART connection, without the Duco Connectivity Board. It uses the same protocol as the Connectivity Board.","docs_url":"https://esphome.io/components/duco/","id":"duco","image_url":"https://esphome.io/images/duco.svg","multi_conf":true,"name":"Duco Ventilation"}, +{"category":"number","dependencies":["duco"],"description":"The number shows and changes the comfort temperature of the box, from 10.0 °C to 25.5 °C in steps of 0.1 °C.","docs_url":"https://esphome.io/components/duco/","id":"number.duco","image_url":"https://esphome.io/images/duco.svg","multi_conf":true,"name":"Duco Ventilation"}, +{"category":"select","dependencies":["duco"],"description":"The select shows and changes the ventilation mode.","docs_url":"https://esphome.io/components/duco/","id":"select.duco","image_url":"https://esphome.io/images/duco.svg","multi_conf":true,"name":"Duco Ventilation"}, +{"category":"sensor","dependencies":["duco"],"description":"The sensors read the nodes connected to the box and the state of the box itself. CO2 and humidity nodes also measure temperature.","docs_url":"https://esphome.io/components/duco/","id":"sensor.duco","image_url":"https://esphome.io/images/duco.svg","multi_conf":true,"name":"Duco Ventilation","provides":["sensor"],"provides_id_paths":{"sensor":[["bypass","id"],["co2","id"],["filter_remaining","id"],["flow_level","id"],["humidity","id"],["temperature","id"],["temperature_eha","id"],["temperature_eta","id"],["temperature_oda","id"],["temperature_sup","id"],["time_remaining","id"]]}}, +{"category":"text_sensor","dependencies":["duco"],"description":"The text sensor reports the serial number of the box.","docs_url":"https://esphome.io/components/duco/","id":"text_sensor.duco","image_url":"https://esphome.io/images/duco.svg","multi_conf":true,"name":"Duco Ventilation"}, {"category":"sensor","description":"The duty cycle sensor allows you to measure for what percentage of time a signal on a GPIO pin is HIGH or LOW.","docs_url":"https://esphome.io/components/sensor/duty_cycle/","id":"sensor.duty_cycle","image_url":"https://esphome.io/images/percent.svg","multi_conf":true,"name":"Duty Cycle Sensor"}, {"category":"sensor","description":"The `duty_time` sensor allows you to track the total duty time of some object, for example, a light bulb, in seconds. Able to calculate the last turn-on time when an optional sensor `last_time` is included in the configuration.","docs_url":"https://esphome.io/components/sensor/duty_time/","id":"sensor.duty_time","image_url":"https://esphome.io/images/timer-play-outline.svg","multi_conf":true,"name":"Duty Time","provides":["duty_time_sensor","sensor"],"provides_id_paths":{"sensor":[["id"],["last_time","id"]]}}, {"category":"misc","description":"The [E1.31 Effect](https://esphome.io/components/light/#e131-light-effect) requires a component hub for the `e131` light effect.","docs_url":"https://esphome.io/components/light/#e1-31-component","id":"e131","name":"E1.31"}, -{"category":"misc","dependencies":["ble_client"],"description":"The `ecocomfort2` component lets you control a [Fantini Cosmi Aspirvelo Air Ecocomfort 2.0 Smart](https://www.fantinicosmi.it/prodotto/aspirvelo-air-ecocomfort-2-0-smart/) heat recovery ventilation unit over BLE from an ESP32.","id":"ecocomfort2","multi_conf":true,"name":"Ecocomfort2","supported_platforms":["esp32"]}, -{"category":"binary_sensor","dependencies":["ecocomfort2"],"description":"","id":"binary_sensor.ecocomfort2","multi_conf":true,"name":"Ecocomfort2","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["boost","id"],["connected","id"]]},"supported_platforms":["esp32"]}, -{"category":"fan","dependencies":["ecocomfort2"],"description":"","id":"fan.ecocomfort2","multi_conf":true,"name":"Ecocomfort2","supported_platforms":["esp32"]}, -{"category":"number","dependencies":["ecocomfort2"],"description":"","id":"number.ecocomfort2","multi_conf":true,"name":"Ecocomfort2","provides":["number"],"provides_id_paths":{"number":[["humidity_offset","id"],["humidity_threshold","id"],["luminosity_threshold","id"],["temperature_offset","id"],["voc_threshold","id"]]},"supported_platforms":["esp32"]}, -{"category":"select","dependencies":["ecocomfort2"],"description":"","id":"select.ecocomfort2","multi_conf":true,"name":"Ecocomfort2","provides":["select"],"provides_id_paths":{"select":[["free_cooling","id"],["season","id"]]},"supported_platforms":["esp32"]}, -{"category":"sensor","dependencies":["ecocomfort2"],"description":"","id":"sensor.ecocomfort2","multi_conf":true,"name":"Ecocomfort2","provides":["sensor"],"provides_id_paths":{"sensor":[["direction","id"],["humidity","id"],["temperature","id"],["voc","id"]]},"supported_platforms":["esp32"]}, -{"category":"switch","dependencies":["ecocomfort2"],"description":"","id":"switch.ecocomfort2","multi_conf":true,"name":"Ecocomfort2","provides":["switch"],"provides_id_paths":{"switch":[["humidity_advanced","id"],["voc_advanced","id"]]},"supported_platforms":["esp32"]}, -{"category":"text_sensor","dependencies":["ecocomfort2"],"description":"","id":"text_sensor.ecocomfort2","multi_conf":true,"name":"Ecocomfort2","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["version","id"]]},"supported_platforms":["esp32"]}, +{"category":"misc","dependencies":["ble_client"],"description":"The `ecocomfort2` component lets you control a [Fantini Cosmi Aspirvelo Air Ecocomfort 2.0 Smart](https://www.fantinicosmi.it/prodotto/aspirvelo-air-ecocomfort-2-0-smart/) heat recovery ventilation unit over BLE from an ESP32.","docs_url":"https://esphome.io/components/ecocomfort2/","id":"ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","supported_platforms":["esp32"]}, +{"category":"binary_sensor","dependencies":["ecocomfort2"],"description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","docs_url":"https://esphome.io/components/ecocomfort2","id":"binary_sensor.ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["boost","id"],["connected","id"]]},"supported_platforms":["esp32"]}, +{"category":"fan","dependencies":["ecocomfort2"],"description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","docs_url":"https://esphome.io/components/ecocomfort2","id":"fan.ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","supported_platforms":["esp32"]}, +{"category":"number","dependencies":["ecocomfort2"],"description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","docs_url":"https://esphome.io/components/ecocomfort2","id":"number.ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","provides":["number"],"provides_id_paths":{"number":[["humidity_offset","id"],["humidity_threshold","id"],["luminosity_threshold","id"],["temperature_offset","id"],["voc_threshold","id"]]},"supported_platforms":["esp32"]}, +{"category":"select","dependencies":["ecocomfort2"],"description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","docs_url":"https://esphome.io/components/ecocomfort2","id":"select.ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","provides":["select"],"provides_id_paths":{"select":[["free_cooling","id"],["season","id"]]},"supported_platforms":["esp32"]}, +{"category":"sensor","dependencies":["ecocomfort2"],"description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","docs_url":"https://esphome.io/components/ecocomfort2","id":"sensor.ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","provides":["sensor"],"provides_id_paths":{"sensor":[["direction","id"],["humidity","id"],["temperature","id"],["voc","id"]]},"supported_platforms":["esp32"]}, +{"category":"switch","dependencies":["ecocomfort2"],"description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","docs_url":"https://esphome.io/components/ecocomfort2","id":"switch.ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","provides":["switch"],"provides_id_paths":{"switch":[["humidity_advanced","id"],["voc_advanced","id"]]},"supported_platforms":["esp32"]}, +{"category":"text_sensor","dependencies":["ecocomfort2"],"description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","docs_url":"https://esphome.io/components/ecocomfort2","id":"text_sensor.ecocomfort2","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Ecocomfort2","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["version","id"]]},"supported_platforms":["esp32"]}, {"category":"sensor","dependencies":["i2c"],"description":"The `ee895` sensor platform allows you to use your EE895 CO₂ ([datasheet](https://www.epluse.com/fileadmin/data/product/ee895/BA_EE895.pdf), [E+E EE895](https://www.epluse.com/products/co2-measurement/co2-modules-and-probes/ee895/)) sensor with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work. We recommend the use of pull up resistors.","docs_url":"https://esphome.io/components/sensor/ee895/","id":"sensor.ee895","image_url":"https://esphome.io/images/EE895.png","multi_conf":true,"name":"EE895 CO₂, Temperature and Pressure Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["co2","id"],["pressure","id"],["temperature","id"]]}}, {"category":"touchscreen","dependencies":["i2c"],"description":"The `ektf2232` component allows using the touchscreen controller found in the [Inkplate 6 Plus](https://esphome.io/components/display/inkplate/) with ESPHome. The [I²C](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/touchscreen/ektf2232/","id":"touchscreen.ektf2232","image_url":"https://esphome.io/images/badges/ektf2232.svg","multi_conf":true,"name":"EKTF2232 Touchscreen Controller"}, {"category":"misc","dependencies":["i2c"],"description":"The `emc2101` component allows you to control a cooling fan from ESPHome ([datasheet](https://ww1.microchip.com/downloads/aemDocuments/documents/MSLD/ProductDocuments/DataSheets/EMC2101-Data-Sheet-DS20006703.pdf)). It also provides temperature sensors and a tachometer. The fan can be controlled either by a PWM signal or by outputting a DC voltage using its DAC.","docs_url":"https://esphome.io/components/emc2101/","id":"emc2101","image_url":"https://esphome.io/images/emc2101.jpg","multi_conf":true,"name":"EMC2101 Fan Controller and Temperature sensor"}, @@ -275,13 +275,13 @@ {"category":"sensor","dependencies":["i2c"],"description":"The `ENS210` Temperature+Humidity sensor allows you to use your ENS210 ([datasheet](https://www.sciosense.com/wp-content/uploads/2023/12/ENS210-Datasheet.pdf)) i2c-based sensor with ESPHome.","docs_url":"https://esphome.io/components/sensor/ens210/","id":"sensor.ens210","image_url":"https://esphome.io/images/ens210.jpg","multi_conf":true,"name":"ENS210 Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"display","dependencies":["spi"],"description":"The `epaper_spi` display platform provides a new ePaper display component architecture with improved state management and non-blocking operation. This component implements a queue-based state machine that eliminates blocking waits for the busy pin and provides better integration with ESPHome's async architecture.","docs_url":"https://esphome.io/components/display/epaper_spi/","id":"display.epaper_spi","image_url":"https://esphome.io/images/waveshare_epaper.jpg","multi_conf":true,"name":"ePaper SPI Display","provides":["epaper_spi"]}, {"category":"audio_adc","dependencies":["i2c"],"description":"The `es7210` platform allows your ESPHome devices to use the ES7210 high performance four channel audio ADC ([datasheet](http://www.everest-semi.com/pdf/ES7210%20PB.pdf)). This allows attached microphones to be used as a microphone input via [I2S Audio](https://esphome.io/components/microphone/i2s_audio/).","docs_url":"https://esphome.io/components/audio_adc/es7210/","id":"audio_adc.es7210","image_url":"https://esphome.io/images/badges/es7210.svg","multi_conf":true,"name":"ES7210"}, -{"category":"audio_adc","dependencies":["i2c","i2s_audio"],"description":"The `es7243` platform allows your ESPHome devices to use the ES7243 stereo audio ADC ([datasheet](http://www.everest-semi.com/pdf/ES7243%20PB.pdf)). This allows attached microphones to be used as a microphone input via [I2S Audio](https://esphome.io/components/microphone/i2s_audio/). The chip is found on the ESP32-LyraT-Mini.","id":"audio_adc.es7243","multi_conf":true,"name":"ES7243","supported_platforms":["esp32"]}, +{"category":"audio_adc","dependencies":["i2c","i2s_audio"],"description":"The `es7243` platform allows your ESPHome devices to use the ES7243 stereo audio ADC ([datasheet](http://www.everest-semi.com/pdf/ES7243%20PB.pdf)). This allows attached microphones to be used as a microphone input via [I2S Audio](https://esphome.io/components/microphone/i2s_audio/). The chip is found on the ESP32-LyraT-Mini.","docs_url":"https://esphome.io/components/audio_adc/es7243/","id":"audio_adc.es7243","image_url":"https://esphome.io/images/badges/es7243.svg","multi_conf":true,"name":"ES7243","supported_platforms":["esp32"]}, {"category":"audio_adc","dependencies":["i2c"],"description":"The `es7243e` platform allows your ESPHome devices to use the ES7243E high performance four channel audio ADC ([datasheet](https://www.lcsc.com/datasheet/lcsc_datasheet_2410121611_Everest-semi-Everest-Semiconductor-ES7243E_C2929446.pdf)). This allows attached microphones to be used as a microphone input via [I2S Audio](https://esphome.io/components/microphone/i2s_audio/).","docs_url":"https://esphome.io/components/audio_adc/es7243e/","id":"audio_adc.es7243e","image_url":"https://esphome.io/images/badges/es7243e.svg","multi_conf":true,"name":"ES7243E"}, {"category":"audio_dac","dependencies":["i2c"],"description":"The `es8156` platform allows your ESPHome devices to use the ES8156 low power mono audio codec. This allows the playback of audio via the microcontroller from a range of sources via [Speaker](https://esphome.io/components/speaker/) or [Media Player](https://esphome.io/components/media_player/).","docs_url":"https://esphome.io/components/audio_dac/es8156/","id":"audio_dac.es8156","image_url":"https://esphome.io/images/badges/es8156.svg","multi_conf":true,"name":"ES8156"}, {"category":"audio_dac","dependencies":["i2c"],"description":"The `es8311` platform allows your ESPHome devices to use the ES8311 low power mono audio codec. This allows the playback of audio via the microcontroller from a range of sources via [Speaker](https://esphome.io/components/speaker/) or [Media Player](https://esphome.io/components/media_player/).","docs_url":"https://esphome.io/components/audio_dac/es8311/","id":"audio_dac.es8311","image_url":"https://esphome.io/images/badges/es8311.svg","multi_conf":true,"name":"ES8311"}, {"category":"audio_dac","dependencies":["i2c"],"description":"The `es8388` component allows your ESPHome devices to use the es8388 low power audio codec ([datasheet](http://www.everest-semi.com/pdf/ES8388%20DS.pdf)) This allows the playback of audio through two channel high performance audio DAC output via the microcontroller from a range of sources via [Speaker](https://esphome.io/components/speaker/) or [Media Player](https://esphome.io/components/media_player/).","docs_url":"https://esphome.io/components/audio_dac/es8388/","id":"audio_dac.es8388","image_url":"https://esphome.io/images/badges/es8388.svg","multi_conf":true,"name":"ES8388","provides":["es8388"]}, {"category":"select","dependencies":["es8388"],"description":"The `es8388` select controls the DAC output and ADC input routing of your [ES8388](https://esphome.io/components/audio_dac/es8388/).","docs_url":"https://esphome.io/components/audio_dac/es8388/","id":"select.es8388","image_url":"https://esphome.io/images/badges/es8388.svg","multi_conf":true,"name":"ES8388","provides":["select"],"provides_id_paths":{"select":[["adc_input_mic","id"],["dac_output","id"]]}}, -{"category":"audio_dac","dependencies":["i2c"],"description":"The `es9038q2m_katana` platform allows ESPHome devices to control DAC boards that expose an ES9038Q2M through an Allo Katana-compatible control interface.","id":"audio_dac.es9038q2m_katana","multi_conf":true,"name":"ES9038Q2M Katana"}, +{"category":"audio_dac","dependencies":["i2c"],"description":"The `es9038q2m_katana` platform allows ESPHome devices to control DAC boards that expose an ES9038Q2M through an Allo Katana-compatible control interface.","docs_url":"https://esphome.io/components/audio_dac/es9038q2m_katana/","id":"audio_dac.es9038q2m_katana","image_url":"https://esphome.io/images/badges/es9038q2m.svg","multi_conf":true,"name":"ES9038Q2M Katana"}, {"category":"core","description":"This component contains platform-specific options for the ESP32 platform.","docs_url":"https://esphome.io/components/esp32/","id":"esp32","image_url":"https://esphome.io/images/badges/esp32.svg","name":"ESP32 Platform","supported_platforms":["esp32"]}, {"category":"misc","dependencies":["esp32"],"description":"The `esp32_ble` component in ESPHome sets up the Bluetooth LE stack on the device so that a [Esp32 Ble Server](https://esphome.io/components/esp32_ble_server/) can run.","docs_url":"https://esphome.io/components/esp32_ble/","id":"esp32_ble","name":"BLE Component","supported_platforms":["esp32"]}, {"category":"misc","dependencies":["esp32"],"description":"The `esp32_ble_beacon` component creates a Bluetooth Low Energy Beacon with your ESP32 device. Beacons are BLE devices that repeatedly just send out a pre-defined packet of data. This packet can then be received by devices like smartphones and can then be used to track a phone's location.","docs_url":"https://esphome.io/components/esp32_ble_beacon/","id":"esp32_ble_beacon","image_url":"https://esphome.io/images/bluetooth.svg","name":"ESP32 Bluetooth Low Energy Beacon","supported_platforms":["esp32"]}, @@ -293,11 +293,11 @@ {"category":"output","dependencies":["esp32"],"description":"The ESP32 DAC platform allows you to output analog voltages using the 8-bit digital-to-analog converter of the ESP32. Unlike the [Ledc](https://esphome.io/components/output/ledc/), which can simulate an analog signal by using a fast switching frequency, the hardware DAC can output a *real* analog signal with no need for additional filtering.","docs_url":"https://esphome.io/components/output/esp32_dac/","id":"output.esp32_dac","image_url":"https://esphome.io/images/badges/dac.svg","multi_conf":true,"name":"ESP32 DAC","supported_platforms":["esp32"]}, {"category":"misc","dependencies":["esp32"],"description":"ESP32 Hosted ([ESP-Hosted-MCU](https://github.com/espressif/esp-hosted-mcu)) is a solution that allows you to use ESP32 modules as communication co-processors. This solution provides wireless connectivity (Wi-Fi and Bluetooth) to the host module, enabling it to communicate with other devices.","docs_url":"https://esphome.io/components/esp32_hosted/","id":"esp32_hosted","image_url":"https://esphome.io/images/network-wifi.svg","name":"ESP32 Hosted","supported_platforms":["esp32"]}, {"category":"update","dependencies":["esp32_hosted"],"description":"This platform allows you to update the firmware of an ESP32 co-processor connected via the [ESP32 Hosted](https://esphome.io/components/esp32_hosted) component. Two update modes are supported:","docs_url":"https://esphome.io/components/update/esp32_hosted/","id":"update.esp32_hosted","image_url":"https://esphome.io/images/network-wifi.svg","multi_conf":true,"name":"ESP32 Hosted Co-processor Update","supported_platforms":["esp32"]}, -{"category":"power_management","dependencies":["esp32"],"description":"The `esp32_power_management` platform turns on ESP-IDF power management. It scales the CPU frequency between a minimum and a maximum depending on what the running components need, and it can put the chip into automatic light sleep whenever nothing is scheduled to run. Both work on the ESP-IDF and the Arduino framework.","id":"power_management.esp32_power_management","multi_conf":true,"name":"ESP32 Power Management","supported_platforms":["esp32"]}, +{"category":"power_management","dependencies":["esp32"],"description":"The `esp32_power_management` platform turns on ESP-IDF power management. It scales the CPU frequency between a minimum and a maximum depending on what the running components need, and it can put the chip into automatic light sleep whenever nothing is scheduled to run. Both work on the ESP-IDF and the Arduino framework.","docs_url":"https://esphome.io/components/power_management/esp32_power_management/","id":"power_management.esp32_power_management","image_url":"https://esphome.io/images/badges/esp32.svg","multi_conf":true,"name":"ESP32 Power Management","supported_platforms":["esp32"]}, {"category":"light","dependencies":["esp32"],"description":"The `esp32_rmt_led_strip` light platform drives most addressable LED strips using the RMT peripheral.","docs_url":"https://esphome.io/components/light/esp32_rmt_led_strip/","id":"light.esp32_rmt_led_strip","image_url":"https://esphome.io/images/color_lens.svg","multi_conf":true,"name":"ESP32 RMT LED Strip","supported_platforms":["esp32"]}, {"category":"misc","dependencies":["esp32"],"description":"Capacitive touch detection is possible on ESP32, ESP32-S2, ESP32-S3 and ESP32-P4 processors. In ESPHome, it is configured in two parts:","docs_url":"https://esphome.io/components/binary_sensor/esp32_touch/","id":"esp32_touch","image_url":"https://esphome.io/images/touch.svg","name":"ESP32 Touch Pad","supported_platforms":["esp32"]}, {"category":"binary_sensor","dependencies":["esp32_touch","esp32"],"description":"The `esp32_touch` binary sensor platform lets you use the touch peripheral of the ESP32 to detect if a certain pin is being \"touched\".","docs_url":"https://esphome.io/components/binary_sensor/esp32_touch/","id":"binary_sensor.esp32_touch","image_url":"https://esphome.io/images/touch.svg","multi_conf":true,"name":"ESP32 Touch Pad","supported_platforms":["esp32"]}, -{"category":"misc","dependencies":["esp32"],"description":"The `esp32_ulp` component builds a program for the ESP32's low power coprocessor, embeds it in the firmware and runs it. The coprocessor keeps running while the main CPU is in deep sleep, so it can poll pins, sample the ADC or talk to a sensor at very low power and wake the main CPU when something needs attention.","id":"esp32_ulp","name":"ESP32 ULP Coprocessor","supported_platforms":["esp32"]}, +{"category":"misc","dependencies":["esp32"],"description":"The `esp32_ulp` component builds a program for the ESP32's low power coprocessor, embeds it in the firmware and runs it. The coprocessor keeps running while the main CPU is in deep sleep, so it can poll pins, sample the ADC or talk to a sensor at very low power and wake the main CPU when something needs attention.","docs_url":"https://esphome.io/components/esp32_ulp/","id":"esp32_ulp","image_url":"https://esphome.io/images/badges/esp32_ulp.svg","name":"ESP32 ULP Coprocessor","supported_platforms":["esp32"]}, {"category":"core","description":"This component contains platform-specific options for the ESP8266 platform.","docs_url":"https://esphome.io/components/esp8266/","id":"esp8266","image_url":"https://esphome.io/images/badges/esp8266.svg","name":"ESP8266 Platform","supported_platforms":["esp8266"]}, {"category":"output","dependencies":["esp8266"],"description":"The ESP8266 Software PWM platform allows you to use a software PWM on the pins GPIO0-GPIO16 on your ESP8266. Note that this is a software PWM, so there can be some flickering during periods of high WiFi activity. Hardware PWMs like the one on the ESP32 (see [Ledc](https://esphome.io/components/output/ledc/)) are preferred.","docs_url":"https://esphome.io/components/output/esp8266_pwm/","id":"output.esp8266_pwm","image_url":"https://esphome.io/images/pwm.png","multi_conf":true,"name":"ESP8266 Software PWM Output","provides":["esp8266_pwm"],"supported_platforms":["esp8266"]}, {"category":"misc","description":"The ESP32-P4 has 4 Low-Dropout linear regulators that can be used to power on- and off-chip peripherals. This component allows those regulators to be configured and enabled.","docs_url":"https://esphome.io/components/esp_ldo/","id":"esp_ldo","image_url":"https://esphome.io/images/ldo.svg","name":"ESP32-P4 LDO"}, @@ -322,7 +322,7 @@ {"category":"binary_sensor","dependencies":["ezo_pmp"],"description":"Indicates if the pump is currently running or not.","docs_url":"https://esphome.io/components/ezo_pmp/","id":"binary_sensor.ezo_pmp","image_url":"https://esphome.io/images/ezo-pmp.jpg","multi_conf":true,"name":"Atlas Scientific Peristaltic Pump","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["is_paused","id"],["pump_state","id"]]}}, {"category":"sensor","dependencies":["ezo_pmp"],"description":"Since the EZO-PMP offers a large number of sensors and each sensor needs to be polled individually, the code has been optimized not to update a sensor that is not defined in the config. If you need very quick updates from the pump (under 3 seconds) only enable the sensors that you actually need.","docs_url":"https://esphome.io/components/ezo_pmp/","id":"sensor.ezo_pmp","image_url":"https://esphome.io/images/ezo-pmp.jpg","multi_conf":true,"name":"Atlas Scientific Peristaltic Pump","provides":["sensor"],"provides_id_paths":{"sensor":[["absolute_total_volume_dosed","id"],["current_volume_dosed","id"],["last_volume_requested","id"],["max_flow_rate","id"],["pump_voltage","id"],["total_volume_dosed","id"]]}}, {"category":"text_sensor","dependencies":["ezo_pmp"],"description":"Indicates the dosing mode the pump is currently running as. Can be any of `Volume`, `Volume/Time`, `Constant Flow Rate`, `Continuous`, `None`.","docs_url":"https://esphome.io/components/ezo_pmp/","id":"text_sensor.ezo_pmp","image_url":"https://esphome.io/images/ezo-pmp.jpg","multi_conf":true,"name":"Atlas Scientific Peristaltic Pump","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["calibration_status","id"],["dosing_mode","id"]]}}, -{"category":"misc","dependencies":["serial_proxy"],"description":"The `ezsp_proxy_tap` component acknowledges frames from a Silicon Labs EZSP Zigbee network coprocessor (NCP) attached to a [Serial Proxy](https://esphome.io/components/serial_proxy/). The NCP resets if it gets no acknowledgement in time, so a slow or unstable network between the device and the API client can otherwise reset it.","id":"ezsp_proxy_tap","name":"EZSP Proxy Tap"}, +{"category":"misc","dependencies":["serial_proxy"],"description":"The `ezsp_proxy_tap` component acknowledges frames from a Silicon Labs EZSP Zigbee network coprocessor (NCP) attached to a [Serial Proxy](https://esphome.io/components/serial_proxy/). The NCP resets if it gets no acknowledgement in time, so a slow or unstable network between the device and the API client can otherwise reset it.","docs_url":"https://esphome.io/components/ezsp_proxy_tap/","id":"ezsp_proxy_tap","image_url":"https://esphome.io/images/badges/ezsp_proxy_tap.svg","name":"EZSP Proxy Tap"}, {"category":"misc","description":"The `factory_reset` component allows you to invalidate (reset) all ESPHome [preferences](https://esphome.io/components/preferences/) and reboot your node. After reboot all states, parameters and variables will be reinitialized with their default values. This is useful:","docs_url":"https://esphome.io/components/factory_reset/","id":"factory_reset","image_url":"https://esphome.io/images/restart-alert.svg","name":"Factory Reset"}, {"category":"button","description":"The `factory_reset` button allows you to remotely invalidate (reset) all ESPHome [preferences](https://esphome.io/components/preferences/) and reboot your node. After reboot all states, parameters and variables will be reinitialized with their default values. This is useful:","docs_url":"https://esphome.io/components/button/factory_reset/","id":"button.factory_reset","image_url":"https://esphome.io/images/restart-alert.svg","multi_conf":true,"name":"Factory Reset Button"}, {"category":"switch","description":"The `factory_reset` switch allows you to remotely invalidate (reset) all ESPHome [preferences](https://esphome.io/components/preferences/) and reboot your node. After reboot all states, parameters and variables will be reinitialized with their default values. This is useful:","docs_url":"https://esphome.io/components/switch/factory_reset/","id":"switch.factory_reset","image_url":"https://esphome.io/images/restart-alert.svg","multi_conf":true,"name":"Factory Reset Switch"}, @@ -330,7 +330,7 @@ {"category":"light","description":"The `fastled_spi` light platform allows you to create RGB lights in ESPHome for a [number of supported chipsets](https://esphome.io/components/light/fastled/#fastled_spi-chipsets).","docs_url":"https://esphome.io/components/light/fastled/","id":"light.fastled_spi","multi_conf":true,"name":"FastLED Light"}, {"category":"cover","description":"The `feedback` cover platform allows you to create covers with position control that can optionally have feedback from sensors to detect the fully-open and fully-closed states (endstops), and from sensors to detect actual movement (opening/closing). In all the cases the current position is approximated with the time the cover has been moving in a direction.","docs_url":"https://esphome.io/components/cover/feedback/","id":"cover.feedback","image_url":"https://esphome.io/images/feedback_cover.svg","multi_conf":true,"name":"Feedback Cover"}, {"category":"image","description":"The `file` platform of the [image](https://esphome.io/components/image/) component embeds a static image into the firmware at compile time. The image can come from a file stored alongside your configuration, be downloaded from a URL, or be one of the freely available Material Design Icons.","docs_url":"https://esphome.io/components/image/file/","id":"image.file","image_url":"https://esphome.io/images/file-image-outline.svg","multi_conf":true,"name":"File"}, -{"category":"sensor","description":"The `filter_lifetime` sensor platform reports how much of a replaceable filter's life remains, as a percentage, from how long the device has been running and at what speed. Use it for air purifiers, HVAC filters, water filters or any consumable that is replaced after a set number of running hours. The accumulated runtime is stored in flash and survives reboots.","id":"sensor.filter_lifetime","multi_conf":true,"name":"Filter Lifetime Sensor","provides":["filter_lifetime","sensor"],"provides_id_paths":{"sensor":[["id"],["remaining_days","id"],["runtime_hours","id"]]}}, +{"category":"sensor","description":"The `filter_lifetime` sensor platform reports how much of a replaceable filter's life remains, as a percentage, from how long the device has been running and at what speed. Use it for air purifiers, HVAC filters, water filters or any consumable that is replaced after a set number of running hours. The accumulated runtime is stored in flash and survives reboots.","docs_url":"https://esphome.io/components/sensor/filter_lifetime/","id":"sensor.filter_lifetime","image_url":"https://esphome.io/images/badges/filter_lifetime.svg","multi_conf":true,"name":"Filter Lifetime Sensor","provides":["filter_lifetime","sensor"],"provides_id_paths":{"sensor":[["id"],["remaining_days","id"],["runtime_hours","id"]]}}, {"bus_constraints":{"uart":{"baud_rate":57600}},"category":"misc","dependencies":["uart"],"description":"The `fingerprint_grow` component allows you to use your R307, R503, R503-RGB, ZFM-20, ... fingerprint sensors with ESPHome.","docs_url":"https://esphome.io/components/fingerprint_grow/","id":"fingerprint_grow","image_url":"https://esphome.io/images/fingerprint.svg","multi_conf":true,"name":"Grow Fingerprint Reader"}, {"category":"binary_sensor","dependencies":["fingerprint_grow"],"description":"Grow Fingerprint Reader component in ESPHome.","docs_url":"https://esphome.io/components/fingerprint_grow","id":"binary_sensor.fingerprint_grow","image_url":"https://esphome.io/images/fingerprint.svg","multi_conf":true,"name":"Grow Fingerprint Reader"}, {"category":"sensor","dependencies":["fingerprint_grow"],"description":"Grow Fingerprint Reader component in ESPHome.","docs_url":"https://esphome.io/components/fingerprint_grow","id":"sensor.fingerprint_grow","image_url":"https://esphome.io/images/fingerprint.svg","multi_conf":true,"name":"Grow Fingerprint Reader","provides":["sensor"],"provides_id_paths":{"sensor":[["capacity","id"],["fingerprint_count","id"],["last_confidence","id"],["last_finger_id","id"],["security_level","id"],["status","id"]]}}, @@ -341,9 +341,9 @@ {"category":"touchscreen","dependencies":["i2c"],"description":"The `ft63x6` component allows using the touchscreen controller found in [Seeed Studio's WT32-SC01](https://www.seeedstudio.com/ESP32-Development-board-WT32-SC01-p-4735.html) with ESPHome. The [I²C](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/touchscreen/ft63x6/","id":"touchscreen.ft63x6","image_url":"https://esphome.io/images/wt32-sc01.png","multi_conf":true,"name":"FT63X6 Touchscreen Controller"}, {"category":"button","dependencies":["fujitsu_general"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir","id":"button.fujitsu_general","multi_conf":true,"name":"Fujitsu General","provides":["button"],"provides_id_paths":{"button":[["economy","id"],["step_horizontal","id"],["step_vertical","id"]]}}, {"category":"climate","dependencies":["remote_transmitter"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir","id":"climate.fujitsu_general","multi_conf":true,"name":"Fujitsu General","provides":["fujitsu_general"]}, -{"category":"misc","dependencies":["i2c"],"description":"The `fusb302b` component supports the onsemi [FUSB302B](https://www.onsemi.com/products/interfaces/usb-type-c/fusb302b) USB Type-C and Power Delivery (PD) controller. It acts as a PD sink: when a USB-C power source is attached, it negotiates a power contract for a fixed supply voltage of up to 20 V.","id":"fusb302b","name":"FUSB302B USB-C Power Delivery"}, -{"category":"sensor","dependencies":["fusb302b"],"description":"The power contract is exposed through a `sensor` platform and a `text_sensor` platform. They are updated each time the power contract changes:","id":"sensor.fusb302b","multi_conf":true,"name":"FUSB302B USB-C Power Delivery","provides":["sensor"],"provides_id_paths":{"sensor":[["current","id"],["voltage","id"]]}}, -{"category":"text_sensor","dependencies":["fusb302b"],"description":"","id":"text_sensor.fusb302b","multi_conf":true,"name":"Fusb302B","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["contract","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The `fusb302b` component supports the onsemi [FUSB302B](https://www.onsemi.com/products/interfaces/usb-type-c/fusb302b) USB Type-C and Power Delivery (PD) controller. It acts as a PD sink: when a USB-C power source is attached, it negotiates a power contract for a fixed supply voltage of up to 20 V.","docs_url":"https://esphome.io/components/fusb302b/","id":"fusb302b","image_url":"https://esphome.io/images/badges/fusb302b.svg","name":"FUSB302B USB-C Power Delivery"}, +{"category":"sensor","dependencies":["fusb302b"],"description":"The power contract is exposed through a `sensor` platform and a `text_sensor` platform. They are updated each time the power contract changes:","docs_url":"https://esphome.io/components/fusb302b/","id":"sensor.fusb302b","image_url":"https://esphome.io/images/badges/fusb302b.svg","multi_conf":true,"name":"FUSB302B USB-C Power Delivery","provides":["sensor"],"provides_id_paths":{"sensor":[["current","id"],["voltage","id"]]}}, +{"category":"text_sensor","dependencies":["fusb302b"],"description":"FUSB302B USB-C Power Delivery controller as a PD sink in ESPHome.","docs_url":"https://esphome.io/components/fusb302b","id":"text_sensor.fusb302b","image_url":"https://esphome.io/images/badges/fusb302b.svg","multi_conf":true,"name":"FUSB302B USB-C Power Delivery","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["contract","id"]]}}, {"bus_constraints":{"uart":{"baud_rate":9600,"parity":"EVEN","require_rx":true}},"category":"sensor","dependencies":["uart"],"description":"The `gcja5` sensor platform allows you to use your Panasonic SN-GCJA5 laser based particulate matter sensor ([datasheet](https://industrial.panasonic.com/ww/products/pt/dust-sensor/pm_laser)) sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/gcja5/","id":"sensor.gcja5","image_url":"https://esphome.io/images/badges/gcja5.svg","multi_conf":true,"name":"Panasonic SN-GCJA5 Particulate Matter Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["pm_10_0","id"],["pm_1_0","id"],["pm_2_5","id"],["pmc_0_3","id"],["pmc_0_5","id"],["pmc_10_0","id"],["pmc_1_0","id"],["pmc_2_5","id"],["pmc_5_0","id"]]}}, {"category":"misc","dependencies":["i2c"],"description":"The **GDK101** sensor platform allows you to use your GDK101 sensor to monitor radiation levels at your place.","docs_url":"https://esphome.io/components/sensor/gdk101/","id":"gdk101","image_url":"https://esphome.io/images/gdk101.jpg","multi_conf":true,"name":"FTLab GDK101 Gamma Radiation Sensor Module"}, {"category":"binary_sensor","dependencies":["gdk101"],"description":"GDK101 Gamma Radiation Sensor Module","docs_url":"https://esphome.io/components/sensor/gdk101","id":"binary_sensor.gdk101","image_url":"https://esphome.io/images/gdk101.jpg","multi_conf":true,"name":"FTLab GDK101 Gamma Radiation Sensor Module","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["vibrations","id"]]}}, @@ -372,17 +372,17 @@ {"category":"binary_sensor","dependencies":["haier"],"description":"Additional sensors for Haier Climate device. **These sensors are supported only by the hOn protocol**.","docs_url":"https://esphome.io/components/binary_sensor/haier/","id":"binary_sensor.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate Binary Sensors","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["compressor_status","id"],["defrost_status","id"],["four_way_valve_status","id"],["indoor_electric_heating_status","id"],["indoor_fan_status","id"],["outdoor_fan_status","id"]]}}, {"category":"button","dependencies":["haier"],"description":"Additional buttons for Haier AC cleaning. **These buttons are supported only by the hOn protocol**.","docs_url":"https://esphome.io/components/button/haier/","id":"button.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate Buttons","provides":["button"],"provides_id_paths":{"button":[["self_cleaning","id"],["steri_cleaning","id"]]}}, {"category":"climate","dependencies":["climate","uart"],"description":"This is an implementation of the ESPHome component to control HVAC on the base of the SmartAir2 and hOn Haier protocols (AC that is controlled by the hOn or SmartAir2 application).","docs_url":"https://esphome.io/components/climate/haier/","id":"climate.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate","provides":["haier"]}, -{"category":"select","dependencies":["haier"],"description":"The `haier` select platform adds a vertical and a horizontal airflow direction select to a [Haier Climate](https://esphome.io/components/climate/haier/) that uses the hOn protocol.","id":"select.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate Select","provides":["select"],"provides_id_paths":{"select":[["horizontal_airflow","id"],["vertical_airflow","id"]]}}, +{"category":"select","dependencies":["haier"],"description":"The `haier` select platform adds a vertical and a horizontal airflow direction select to a [Haier Climate](https://esphome.io/components/climate/haier/) that uses the hOn protocol.","docs_url":"https://esphome.io/components/select/haier/","id":"select.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate Select","provides":["select"],"provides_id_paths":{"select":[["horizontal_airflow","id"],["vertical_airflow","id"]]}}, {"category":"sensor","dependencies":["haier"],"description":"Additional sensors for Haier Climate device. **These sensors are supported only by the hOn protocol**.","docs_url":"https://esphome.io/components/sensor/haier/","id":"sensor.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate Sensors","provides":["sensor"],"provides_id_paths":{"sensor":[["compressor_current","id"],["compressor_frequency","id"],["expansion_valve_open_degree","id"],["humidity","id"],["indoor_coil_temperature","id"],["outdoor_coil_temperature","id"],["outdoor_defrost_temperature","id"],["outdoor_in_air_temperature","id"],["outdoor_out_air_temperature","id"],["outdoor_temperature","id"],["power","id"]]}}, {"category":"switch","dependencies":["haier"],"description":"Additional switches to support additional features for Haier AC.","docs_url":"https://esphome.io/components/switch/haier/","id":"switch.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate Switches","provides":["switch"],"provides_id_paths":{"switch":[["beeper","id"],["display","id"],["health_mode","id"],["quiet_mode","id"]]}}, {"category":"text_sensor","dependencies":["haier"],"description":"Additional sensors for Haier Climate device. **These sensors are supported only by the hOn protocol**.","docs_url":"https://esphome.io/components/text_sensor/haier/","id":"text_sensor.haier","image_url":"https://esphome.io/images/haier.svg","multi_conf":true,"name":"Haier Climate Text Sensors","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["appliance_name","id"],["cleaning_status","id"],["protocol_version","id"]]}}, -{"category":"button","dependencies":["haier_tundra"],"description":"","id":"button.haier_tundra","multi_conf":true,"name":"Haier Tundra","provides":["button"],"provides_id_paths":{"button":[["light","id"],["self_clean","id"]]}}, +{"category":"button","dependencies":["haier_tundra"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir#haier_tundra","id":"button.haier_tundra","multi_conf":true,"name":"Haier Tundra","provides":["button"],"provides_id_paths":{"button":[["light","id"],["self_clean","id"]]}}, {"category":"climate","dependencies":["remote_transmitter"],"description":"Haier 112-bit protocol, currently only tested with AS35TB4HRA but may also work with other units.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.haier_tundra","multi_conf":true,"name":"IR Remote Climate","provides":["haier_tundra"]}, -{"category":"switch","dependencies":["haier_tundra"],"description":"","id":"switch.haier_tundra","multi_conf":true,"name":"Haier Tundra","provides":["switch"],"provides_id_paths":{"switch":[["health_mode","id"],["quiet_mode","id"],["turbo_mode","id"]]}}, -{"category":"binary_sensor","dependencies":["haier_water_heater"],"description":"","id":"binary_sensor.haier_water_heater","multi_conf":true,"name":"Haier Water Heater","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["communication","id"],["heating","id"],["power","id"]]}}, -{"category":"sensor","dependencies":["haier_water_heater"],"description":"","id":"sensor.haier_water_heater","multi_conf":true,"name":"Haier Water Heater","provides":["sensor"],"provides_id_paths":{"sensor":[["available_water","id"],["estimated_heating_time","id"],["primary_temperature","id"],["secondary_temperature","id"],["target_temperature","id"]]}}, -{"category":"text_sensor","dependencies":["haier_water_heater"],"description":"","id":"text_sensor.haier_water_heater","multi_conf":true,"name":"Haier Water Heater","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["mode","id"]]}}, -{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"water_heater","dependencies":["uart"],"description":"The `haier_water_heater` water heater platform controls a Haier water heater over UART, replacing its original Wi-Fi module. It uses hOn automatically and supports power, operating mode, target temperature, and status monitoring. SmartAir2 is not supported.","id":"water_heater.haier_water_heater","multi_conf":true,"name":"Haier Water Heater","provides":["haier_water_heater"]}, +{"category":"switch","dependencies":["haier_tundra"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir#haier_tundra","id":"switch.haier_tundra","multi_conf":true,"name":"Haier Tundra","provides":["switch"],"provides_id_paths":{"switch":[["health_mode","id"],["quiet_mode","id"],["turbo_mode","id"]]}}, +{"category":"binary_sensor","dependencies":["haier_water_heater"],"description":"Configure local control and monitoring of Haier hOn water heaters over UART.","docs_url":"https://esphome.io/components/water_heater/haier_water_heater","id":"binary_sensor.haier_water_heater","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","multi_conf":true,"name":"Haier Water Heater","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["communication","id"],["heating","id"],["power","id"]]}}, +{"category":"sensor","dependencies":["haier_water_heater"],"description":"Configure local control and monitoring of Haier hOn water heaters over UART.","docs_url":"https://esphome.io/components/water_heater/haier_water_heater","id":"sensor.haier_water_heater","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","multi_conf":true,"name":"Haier Water Heater","provides":["sensor"],"provides_id_paths":{"sensor":[["available_water","id"],["estimated_heating_time","id"],["primary_temperature","id"],["secondary_temperature","id"],["target_temperature","id"]]}}, +{"category":"text_sensor","dependencies":["haier_water_heater"],"description":"Configure local control and monitoring of Haier hOn water heaters over UART.","docs_url":"https://esphome.io/components/water_heater/haier_water_heater","id":"text_sensor.haier_water_heater","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","multi_conf":true,"name":"Haier Water Heater","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["mode","id"]]}}, +{"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"water_heater","dependencies":["uart"],"description":"The `haier_water_heater` water heater platform controls a Haier water heater over UART, replacing its original Wi-Fi module. It uses hOn automatically and supports power, operating mode, target temperature, and status monitoring. SmartAir2 is not supported.","docs_url":"https://esphome.io/components/water_heater/haier_water_heater/","id":"water_heater.haier_water_heater","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","multi_conf":true,"name":"Haier Water Heater","provides":["haier_water_heater"]}, {"category":"sensor","dependencies":["modbus","uart"],"description":"The `Havells Inverter` sensor platform allows you to use Havells inverter data reading on modbus ([website](https://havells.com/business/discover-solar-solutions)) with ESPHome.","docs_url":"https://esphome.io/components/sensor/havells_solar/","id":"sensor.havells_solar","image_url":"https://esphome.io/images/havellsgti5000d_s.jpg","multi_conf":true,"name":"Havells Solar","provides":["sensor"],"provides_id_paths":{"sensor":[["active_power","id"],["dci_of_r","id"],["dci_of_s","id"],["dci_of_t","id"],["energy_production_day","id"],["frequency","id"],["gfci_value","id"],["insulation_of_pv_n_to_ground","id"],["inverter_bus_voltage","id"],["inverter_inner_temp","id"],["inverter_module_temp","id"],["phase_a","current","id"],["phase_a","voltage","id"],["phase_b","current","id"],["phase_b","voltage","id"],["phase_c","current","id"],["phase_c","voltage","id"],["pv1","active_power","id"],["pv1","current","id"],["pv1","insulation_of_p_to_ground","id"],["pv1","voltage","id"],["pv1","voltage_sampled_by_secondary_cpu","id"],["pv2","active_power","id"],["pv2","current","id"],["pv2","insulation_of_p_to_ground","id"],["pv2","voltage","id"],["pv2","voltage_sampled_by_secondary_cpu","id"],["reactive_power","id"],["today_generation_time","id"],["total_energy_production","id"],["total_generation_time","id"]]}}, {"category":"fan","description":"The `hbridge` fan platform allows you to use a compatible *h-bridge* (L298N, DRV8871, MX1508, BTS7960, L9110S, DRV8833, TB6612, etc.) to control a fan (or motor/solenoid).","docs_url":"https://esphome.io/components/fan/hbridge/","id":"fan.hbridge","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"H-bridge Fan","provides":["hbridge"]}, {"category":"light","description":"The `hbridge` light platform creates a dual color brightness controlled light from two [float output component](https://esphome.io/components/output/).","docs_url":"https://esphome.io/components/light/hbridge/","id":"light.hbridge","id_classes":["hbridge::HBridgeLightOutput","light::LightOutput","light::LightState"],"image_url":"https://esphome.io/images/brightness-medium.svg","multi_conf":true,"name":"H-bridge Light"}, @@ -392,9 +392,9 @@ {"category":"sensor","dependencies":["i2c"],"description":"The HDC2010 Temperature and Humidity sensor allows you to use your HDC2010 ([datasheet](https://www.ti.com/lit/ds/symlink/hdc2010.pdf), [Itbrainpower](https://itbrainpower.net/a-gsm/Arduino-HDC2010-sensor_howto)) sensors with ESPHome. The [I2C](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/hdc2010/","id":"sensor.hdc2010","image_url":"https://esphome.io/images/hdc2010.png","multi_conf":true,"name":"HDC2010 High Precision Temperature and Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The HDC2080 Temperature+Humidity sensor allows you to use your HDC2080 ([datasheet](https://www.ti.com/lit/ds/symlink/hdc2080.pdf)) sensors with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/hdc2080/","id":"sensor.hdc2080","image_url":"https://esphome.io/images/hdc2080.png","multi_conf":true,"name":"HDC2080 Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `hdc302x` sensor platform allows you to use your HDC3020, HDC3021, or HDC3022 ([datasheet](https://www.ti.com/lit/ds/symlink/hdc3020.pdf), [Users Guide](https://www.ti.com/lit/pdf/snau265), [Adafruit](https://www.adafruit.com/product/5989)) sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/hdc302x/","id":"sensor.hdc302x","image_url":"https://esphome.io/images/badges/hdc302x.svg","multi_conf":true,"name":"HDC302x Temperature and Humidity Sensor","provides":["hdc302x","sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, -{"category":"misc","description":"The `hdmi_cec` component connects an ESPHome device to the HDMI-CEC bus, so it can receive the messages that travel between a TV and the devices attached to it, and send messages of its own: power a device on or off, press a button on the TV's remote, select an input, change the volume.","id":"hdmi_cec","name":"HDMI-CEC Bus"}, +{"category":"misc","description":"The `hdmi_cec` component connects an ESPHome device to the HDMI-CEC bus, so it can receive the messages that travel between a TV and the devices attached to it, and send messages of its own: power a device on or off, press a button on the TV's remote, select an input, change the volume.","docs_url":"https://esphome.io/components/hdmi_cec/","id":"hdmi_cec","image_url":"https://esphome.io/images/badges/hdmi-cec.svg","name":"HDMI-CEC Bus"}, {"bus_constraints":{"uart":{"baud_rate":1200,"data_bits":8,"parity":"EVEN","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"cover","dependencies":["uart"],"description":"The `he60r` cover platform allows you to control a HomEntry HE60R garage door opener. These units were made by Chamberlain and sold through Bunnings. It is *likely* that this component will also work with other older Chamberlain garage door openers. It is not currently compatible with newer Chamberlain units that use the Security+ 2.0 protocol.","docs_url":"https://esphome.io/components/cover/he60r/","id":"cover.he60r","image_url":"https://esphome.io/images/he60r.jpg","multi_conf":true,"name":"HE60R Garage Door Opener"}, -{"category":"climate","dependencies":["remote_transmitter"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir","id":"climate.heatpumpir","multi_conf":true,"name":"Heatpumpir"}, +{"category":"climate","dependencies":["remote_transmitter"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir#arduino-heatpumpir","id":"climate.heatpumpir","multi_conf":true,"name":"Heatpumpir"}, {"category":"climate","dependencies":["remote_transmitter"],"description":"Fan modes `auto`, `quiet`, `low`, `medium` and `high`, and swing modes `off`, `vertical`, `horizontal` and `both`.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.hitachi_ac344","multi_conf":true,"name":"IR Remote Climate","provides":["hitachi_ac344"]}, {"category":"switch","dependencies":["hitachi_ac344"],"description":"Fan modes `auto`, `quiet`, `low`, `medium` and `high`, and swing modes `off`, `vertical`, `horizontal` and `both`.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"switch.hitachi_ac344","multi_conf":true,"name":"IR Remote Climate","provides":["switch"],"provides_id_paths":{"switch":[["mildew_proof","id"]]}}, {"category":"climate","dependencies":["remote_transmitter"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir","id":"climate.hitachi_ac424","multi_conf":true,"name":"Hitachi Ac424"}, @@ -416,7 +416,7 @@ {"category":"text_sensor","dependencies":["hoermann_hcp"],"description":"The `hoermann_hcp` text sensor platform reports the door state as the motor names it, and the motor's serial number and firmware version.","docs_url":"https://esphome.io/components/cover/hoermann_hcp/","id":"text_sensor.hoermann_hcp","image_url":"https://esphome.io/images/hoermann_logo.svg","multi_conf":true,"name":"Hörmann Cover","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["door_state","id"],["serial_number","id"],["version","id"]]}}, {"category":"binary_sensor","dependencies":["api"],"description":"The `homeassistant` binary sensor platform allows you to create binary sensors that **import** states from your Home Assistant instance using the [native API](https://esphome.io/components/api/).","docs_url":"https://esphome.io/components/binary_sensor/homeassistant/","id":"binary_sensor.homeassistant","image_url":"https://esphome.io/images/home-assistant.svg","multi_conf":true,"name":"Home Assistant Binary Sensor"}, {"category":"button","dependencies":["api"],"description":"The `homeassistant` button platform allows you to create a button that presses a Home Assistant `button` or `input_button` entity using the [native API](https://esphome.io/components/api/). Pressing the button on the device calls the `button.press` or `input_button.press` action, chosen from the entity's domain. Buttons have no state, so nothing is imported from Home Assistant.","docs_url":"https://esphome.io/components/button/homeassistant/","id":"button.homeassistant","image_url":"https://esphome.io/images/home-assistant.svg","multi_conf":true,"name":"Home Assistant Button"}, -{"category":"light","dependencies":["api"],"description":"The `homeassistant` light platform creates a light that **imports** the state of a light in Home Assistant and **controls** it through the [native API](https://esphome.io/components/api/). The light can then be used like any other light on the device: in [automations](https://esphome.io/automations/), with the [light actions](https://esphome.io/components/light/#light-automations), on a [display](https://esphome.io/components/display/) or through [LVGL](https://esphome.io/components/lvgl/).","id":"light.homeassistant","id_classes":["homeassistant::HomeassistantLight","light::LightOutput","light::LightState"],"image_url":"https://esphome.io/images/home-assistant.svg","multi_conf":true,"name":"Home Assistant Light"}, +{"category":"light","dependencies":["api"],"description":"The `homeassistant` light platform creates a light that **imports** the state of a light in Home Assistant and **controls** it through the [native API](https://esphome.io/components/api/). The light can then be used like any other light on the device: in [automations](https://esphome.io/automations/), with the [light actions](https://esphome.io/components/light/#light-automations), on a [display](https://esphome.io/components/display/) or through [LVGL](https://esphome.io/components/lvgl/).","docs_url":"https://esphome.io/components/light/homeassistant/","id":"light.homeassistant","id_classes":["homeassistant::HomeassistantLight","light::LightOutput","light::LightState"],"image_url":"https://esphome.io/images/home-assistant.svg","multi_conf":true,"name":"Home Assistant Light"}, {"category":"number","dependencies":["api"],"description":"The `homeassistant` number platform allows you to create a number that is synchronized with Home Assistant. Min, Max and Step are not configurable for this platform because they are taken from the Home Assistant entity.","docs_url":"https://esphome.io/components/number/homeassistant/","id":"number.homeassistant","image_url":"https://esphome.io/images/home-assistant.svg","multi_conf":true,"name":"Home Assistant Number"}, {"category":"select","dependencies":["api"],"description":"The `homeassistant` select platform allows you to create a select that mirrors a Home Assistant `select` or `input_select` entity using the [native API](https://esphome.io/components/api/). The device subscribes to the entity's state, and selecting an option on the device calls the `select.select_option` or `input_select.select_option` action, chosen from the entity's domain.","docs_url":"https://esphome.io/components/select/homeassistant/","id":"select.homeassistant","image_url":"https://esphome.io/images/home-assistant.svg","multi_conf":true,"name":"Home Assistant Select"}, {"category":"sensor","dependencies":["api"],"description":"The `homeassistant` sensor platform allows you to create sensors that import states from your Home Assistant instance using the [native API](https://esphome.io/components/api/).","docs_url":"https://esphome.io/components/sensor/homeassistant/","id":"sensor.homeassistant","image_url":"https://esphome.io/images/home-assistant.svg","multi_conf":true,"name":"Home Assistant Sensor"}, @@ -430,7 +430,7 @@ {"category":"core","description":"The `host` platform allows ESPHome configurations to be compiled and run on a desktop computer. This is known to work on MacOS and Linux. On Windows [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) (Windows Subsystem for Linux) can be used to create a Linux environment that will run ESPHome.","docs_url":"https://esphome.io/components/host/","id":"host","image_url":"https://esphome.io/images/host.svg","name":"Host Platform","supported_platforms":["host"]}, {"category":"time","description":"The `host` platform allows ESPHome configurations to be compiled and run on a desktop computer. This is known to work on MacOS and Linux. On Windows [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) (Windows Subsystem for Linux) can be used to create a Linux environment that will run ESPHome.","docs_url":"https://esphome.io/components/host/","id":"time.host","image_url":"https://esphome.io/images/host.svg","multi_conf":true,"name":"Host Platform","supported_platforms":["host"]}, {"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","stop_bits":1}},"category":"sensor","dependencies":["uart"],"description":"This sensor allows you to use HRXL MaxSonar WR series ultrasonic sensors by MaxBotix ([datasheet](https://www.maxbotix.com/documents/HRXL-MaxSonar-WR_Datasheet.pdf)) or the XL MaxSonar WR series ([datasheet](https://www.maxbotix.com/documents/XL-MaxSonar-WR_Datasheet.pdf)) with ESPHome to measure distances. Depending on the model, these sensors can measure in a range between 30 centimeters and 10 meters.","docs_url":"https://esphome.io/components/sensor/hrxl_maxsonar_wr/","id":"sensor.hrxl_maxsonar_wr","image_url":"https://esphome.io/images/hrxl_maxsonar_wr.jpg","multi_conf":true,"name":"HRXL/XL MaxSonar WR Series"}, -{"category":"display","dependencies":["i2c"],"description":"The `ht16k33_char` display platform drives character displays built around the Holtek HT16K33 LED driver over [I²C](https://esphome.io/components/i2c/). The chip can drive any array of LEDs, but this platform only knows displays whose segments are wired as characters.","id":"display.ht16k33_char","id_classes":["ht16k33_char::HT16K33CharDisplay","i2c::I2CDevice"],"multi_conf":true,"name":"HT16K33 Character Display"}, +{"category":"display","dependencies":["i2c"],"description":"The `ht16k33_char` display platform drives character displays built around the Holtek HT16K33 LED driver over [I²C](https://esphome.io/components/i2c/). The chip can drive any array of LEDs, but this platform only knows displays whose segments are wired as characters.","docs_url":"https://esphome.io/components/display/ht16k33_char/","id":"display.ht16k33_char","id_classes":["ht16k33_char::HT16K33CharDisplay","i2c::I2CDevice"],"image_url":"https://esphome.io/images/badges/ht16k33.svg","multi_conf":true,"name":"HT16K33 Character Display"}, {"category":"sensor","dependencies":["i2c"],"description":"The `hte501` sensor platform Temperature+Humidity sensor allows you to use your HTE501 ([datasheet](https://www.epluse.com/fileadmin/data/product/hte501/datasheet_HTE501.pdf), [E+E HTE501](https://www.epluse.com/products/humidity-instruments/humidity-sensing-elements/hte501/)) sensor with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/hte501/","id":"sensor.hte501","image_url":"https://esphome.io/images/HTE501.png","multi_conf":true,"name":"HTE501 Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"core","description":"The `http_request` component lets you make HTTP/HTTPS requests. To do so, you need to add it to your device's configuration:","docs_url":"https://esphome.io/components/http_request/","id":"http_request","image_url":"https://esphome.io/images/connection.svg","name":"HTTP Request"}, {"category":"ota","dependencies":["http_request"],"description":"The OTA (Over The Air) via HTTP Request update component allows your devices to install updated firmware on their own. To use it, in your device's configuration, you specify a URL from which the device will download the binary file (firmware). To trigger the update, an ESPHome [action](https://esphome.io/automations/actions/#all-actions) is used which initiates the download and installation of the new firmware. Once complete, the device is rebooted, invoking the new firmware.","docs_url":"https://esphome.io/components/ota/http_request/","id":"ota.http_request","image_url":"https://esphome.io/images/system-update.svg","multi_conf":true,"name":"OTA Update via HTTP Request","provides":["http_request"]}, @@ -438,8 +438,8 @@ {"category":"sensor","dependencies":["i2c"],"description":"The HTU21D Temperature & Humidity component allows you to use HTU21D, Si7021 and SHT21 sensors with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/htu21d/","id":"sensor.htu21d","image_url":"https://esphome.io/images/htu21d.jpg","multi_conf":true,"name":"HTU21D | Si7021 | SHT21 Temperature & Humidity Sensor","provides":["htu21d","sensor"],"provides_id_paths":{"sensor":[["heater","id"],["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The HTU31D Temperature & Humidity component allows you to use HTU31D sensors with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/htu31d/","id":"sensor.htu31d","image_url":"https://esphome.io/images/htu31d.jpg","multi_conf":true,"name":"HTU31D Temperature & Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"display","dependencies":["esp32"],"description":"The `hub75` display platform allows you to use HUB75 RGB LED matrix panels with ESPHome. This component uses a high-performance DMA-based driver that provides efficient, low-CPU-overhead driving of LED matrix panels.","docs_url":"https://esphome.io/components/display/hub75/","id":"display.hub75","image_url":"https://esphome.io/images/badges/hub75.svg","multi_conf":true,"name":"HUB75 RGB LED Matrix Display","supported_platforms":["esp32"]}, -{"category":"misc","dependencies":["i2c"],"description":"The Hynetek HUSB238 ([product page](https://en.hynetek.com/2421.html), [datasheet](https://en.hynetek.com/uploadfiles/site/219/news/b038530d-67c0-4ba0-9269-de0e666cb35b.pdf)) is a USB Power Delivery (PD) controller that works as a sink, for power ratings up to 100 W. It is compatible with PD 3.0 and Type-C 1.4, and it also supports Apple Divider 3, BC1.2 SDP, CDP and DCP sources.","id":"husb238","multi_conf":true,"name":"HUSB238 USB Power Delivery Sink"}, -{"category":"binary_sensor","dependencies":["husb238"],"description":"The `husb238` binary sensor platform reports whether a USB-C source is attached and which CC line is in use. Both sensors are diagnostic entities by default.","id":"binary_sensor.husb238","multi_conf":true,"name":"HUSB238 USB Power Delivery Sink","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["attached","id"],["cc_direction","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The Hynetek HUSB238 ([product page](https://en.hynetek.com/2421.html), [datasheet](https://en.hynetek.com/uploadfiles/site/219/news/b038530d-67c0-4ba0-9269-de0e666cb35b.pdf)) is a USB Power Delivery (PD) controller that works as a sink, for power ratings up to 100 W. It is compatible with PD 3.0 and Type-C 1.4, and it also supports Apple Divider 3, BC1.2 SDP, CDP and DCP sources.","docs_url":"https://esphome.io/components/husb238/","id":"husb238","image_url":"https://esphome.io/images/husb238.jpg","multi_conf":true,"name":"HUSB238 USB Power Delivery Sink"}, +{"category":"binary_sensor","dependencies":["husb238"],"description":"The `husb238` binary sensor platform reports whether a USB-C source is attached and which CC line is in use. Both sensors are diagnostic entities by default.","docs_url":"https://esphome.io/components/husb238/","id":"binary_sensor.husb238","image_url":"https://esphome.io/images/husb238.jpg","multi_conf":true,"name":"HUSB238 USB Power Delivery Sink","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["attached","id"],["cc_direction","id"]]}}, {"category":"sensor","description":"The `hx711` sensor platform allows you to use your HX711 load cell amplifier ([datasheet](https://www.mouser.com/ds/2/813/hx711_english-1022875.pdf), [SparkFun](https://www.sparkfun.com/products/13879)) with ESPHome","docs_url":"https://esphome.io/components/sensor/hx711/","id":"sensor.hx711","image_url":"https://esphome.io/images/hx711.jpg","multi_conf":true,"name":"HX711 Load Cell Amplifier"}, {"category":"binary_sensor","dependencies":["hydreon_rgxx"],"description":"The `hydreon_rgxx` binary sensor platform gives access to information provided by a Hydreon Rain Sensor. For this sensor to work, a [Hydreon Rgxx](https://esphome.io/components/sensor/hydreon_rgxx/) must be set up.","docs_url":"https://esphome.io/components/binary_sensor/hydreon_rgxx/","id":"binary_sensor.hydreon_rgxx","image_url":"https://esphome.io/images/hydreon_rg9.jpg","multi_conf":true,"name":"Hydreon Rain Sensor Binary Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["em_sat","id"],["lens_bad","id"],["too_cold","id"]]}}, {"bus_constraints":{"uart":{"baud_rate":9600,"data_bits":8,"parity":"NONE","stop_bits":1}},"category":"sensor","dependencies":["uart"],"description":"The `hydreon_rgxx` sensor platform allows you to use rain sensors by Hydreon. Currently supported are the RG-9 and RG-15 sensors ([model comparison](https://rainsensors.com/products/model-comparison/)).","docs_url":"https://esphome.io/components/sensor/hydreon_rgxx/","id":"sensor.hydreon_rgxx","image_url":"https://esphome.io/images/hydreon_rg9.jpg","multi_conf":true,"name":"Hydreon Rain Sensor","provides":["hydreon_rgxx","sensor"],"provides_id_paths":{"sensor":[["acc","id"],["event_acc","id"],["moisture","id"],["r_int","id"],["temperature","id"],["total_acc","id"]]}}, @@ -449,10 +449,10 @@ {"category":"misc","dependencies":["esp32"],"description":"The `i2s_audio` component allows for sending and receiving audio via I²S. This component only works on ESP32 based chips.","docs_url":"https://esphome.io/components/i2s_audio/","id":"i2s_audio","image_url":"https://esphome.io/images/badges/i2s_audio.svg","multi_conf":true,"name":"I²S Audio Component","supported_platforms":["esp32"]}, {"category":"microphone","dependencies":["i2s_audio"],"description":"The `i2s_audio` microphone platform allows you to receive audio via the [I2S Audio](https://esphome.io/components/i2s_audio/).","docs_url":"https://esphome.io/components/microphone/i2s_audio/","id":"microphone.i2s_audio","image_url":"https://esphome.io/images/badges/i2s_audio.svg","multi_conf":true,"name":"I²S Audio Microphone","supported_platforms":["esp32"]}, {"category":"speaker","dependencies":["i2s_audio","esp32"],"description":"The `i2s_audio` speaker platform allows you to receive audio via the [I2S Audio](https://esphome.io/components/i2s_audio/).","docs_url":"https://esphome.io/components/speaker/i2s_audio/","id":"speaker.i2s_audio","image_url":"https://esphome.io/images/badges/i2s_audio.svg","multi_conf":true,"name":"I²S Audio Speaker","supported_platforms":["esp32"]}, -{"category":"light","dependencies":["esp32"],"description":"The `i2s_clockless_led_strip` light platform drives a clockless addressable LED strip with the I2S peripheral and DMA. It works with the WS2811 / WS2812B / SK6812 family of devices with RGB or RGBW pixels.","id":"light.i2s_clockless_led_strip","multi_conf":true,"name":"I2S Clockless LED Strip","supported_platforms":["esp32"]}, +{"category":"light","dependencies":["esp32"],"description":"The `i2s_clockless_led_strip` light platform drives a clockless addressable LED strip with the I2S peripheral and DMA. It works with the WS2811 / WS2812B / SK6812 family of devices with RGB or RGBW pixels.","docs_url":"https://esphome.io/components/light/i2s_clockless_led_strip/","id":"light.i2s_clockless_led_strip","image_url":"https://esphome.io/images/color_lens.svg","multi_conf":true,"name":"I2S Clockless LED Strip","supported_platforms":["esp32"]}, {"category":"sensor","dependencies":["i2c"],"description":"The AMS iAQ-Core sensor allows you to use your ([datasheet](https://www.digikey.com/en/htmldatasheets/production/1723318/0/0/1/iaq-core)) sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/iaqcore/","id":"sensor.iaqcore","image_url":"https://esphome.io/images/iaqcore.jpg","multi_conf":true,"name":"AMS iAQ-Core Indoor Air Quality Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["co2","id"],["tvoc","id"]]}}, -{"category":"motion","dependencies":["spi"],"description":"The `icm20689` motion platform allows you to use your TDK InvenSense ICM-20689 Accelerometer/Gyroscope sensors with ESPHome. The [SPI Bus](https://esphome.io/components/spi/) is required to be set up in your configuration for this sensor to work.","id":"motion.icm20689","multi_conf":true,"name":"ICM-20689 Accelerometer/Gyroscope Sensor","provides":["icm20689"]}, -{"category":"sensor","dependencies":["icm20689"],"description":"The `icm20689` sensor platform provides access to the temperature sensor in a TDK InvenSense ICM-20689 Accelerometer/Gyroscope with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `icm20689` platform, which handles the accelerometer and gyroscope data processing and configures the device. See that component for more information.","id":"sensor.icm20689","multi_conf":true,"name":"ICM-20689 Temperature Sensor"}, +{"category":"motion","dependencies":["spi"],"description":"The `icm20689` motion platform allows you to use your TDK InvenSense ICM-20689 Accelerometer/Gyroscope sensors with ESPHome. The [SPI Bus](https://esphome.io/components/spi/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/motion/icm20689/","id":"motion.icm20689","image_url":"https://esphome.io/images/imu.svg","multi_conf":true,"name":"ICM-20689 Accelerometer/Gyroscope Sensor","provides":["icm20689"]}, +{"category":"sensor","dependencies":["icm20689"],"description":"The `icm20689` sensor platform provides access to the temperature sensor in a TDK InvenSense ICM-20689 Accelerometer/Gyroscope with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `icm20689` platform, which handles the accelerometer and gyroscope data processing and configures the device. See that component for more information.","docs_url":"https://esphome.io/components/sensor/icm20689/","id":"sensor.icm20689","image_url":"https://esphome.io/images/imu.svg","multi_conf":true,"name":"ICM-20689 Temperature Sensor"}, {"category":"touchscreen","dependencies":["i2c"],"description":"The `icnt86` touchscreen platform allows using the touch screen controllers based on the ICNT86 chip with ESPHome. An [I²C](https://esphome.io/components/i2c) bus is required to be set up in your configuration for this touchscreen to work.","docs_url":"https://esphome.io/components/touchscreen/icnt86/","id":"touchscreen.icnt86","image_url":"https://esphome.io/images/badges/icnt86.svg","multi_conf":true,"name":"ICNT86 Touch Screen Controller"}, {"category":"display","dependencies":["spi"],"description":"With this display driver you can control the following displays:","docs_url":"https://esphome.io/components/display/ili9xxx/","id":"display.ili9xxx","image_url":"https://esphome.io/images/ili9341.jpg","multi_conf":true,"name":"ILI9xxx TFT LCD Series"}, {"category":"misc","dependencies":["wifi"],"description":"The `improv_ble` component in ESPHome implements the open [Improv standard](https://www.improv-wifi.com/) for configuring Wi-Fi on an ESP32 device by using Bluetooth Low Energy (BLE) to receive the credentials.","docs_url":"https://esphome.io/components/improv_ble/","id":"improv_ble","image_url":"https://esphome.io/images/improv.svg","name":"Improv via BLE"}, @@ -490,12 +490,12 @@ {"category":"sensor","dependencies":["ld2410"],"description":"The `ld2410` sensors allow reporting of various measurements the sensor takes.","docs_url":"https://esphome.io/components/sensor/ld2410/","id":"sensor.ld2410","image_url":"https://esphome.io/images/ld2410.jpg","multi_conf":true,"name":"LD2410 Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["detection_distance","id"],["g0","move_energy","id"],["g0","still_energy","id"],["g1","move_energy","id"],["g1","still_energy","id"],["g2","move_energy","id"],["g2","still_energy","id"],["g3","move_energy","id"],["g3","still_energy","id"],["g4","move_energy","id"],["g4","still_energy","id"],["g5","move_energy","id"],["g5","still_energy","id"],["g6","move_energy","id"],["g6","still_energy","id"],["g7","move_energy","id"],["g7","still_energy","id"],["g8","move_energy","id"],["g8","still_energy","id"],["light","id"],["moving_distance","id"],["moving_energy","id"],["still_distance","id"],["still_energy","id"]]}}, {"category":"switch","dependencies":["ld2410"],"description":"The `ld2410` switches allow you to enable or disable sensor features from the front end.","docs_url":"https://esphome.io/components/sensor/ld2410/","id":"switch.ld2410","image_url":"https://esphome.io/images/ld2410.jpg","multi_conf":true,"name":"LD2410 Sensor","provides":["switch"],"provides_id_paths":{"switch":[["bluetooth","id"],["engineering_mode","id"]]}}, {"category":"text_sensor","dependencies":["ld2410"],"description":"The `ld2410` text sensors allow reporting of sensor metadata.","docs_url":"https://esphome.io/components/sensor/ld2410/","id":"text_sensor.ld2410","image_url":"https://esphome.io/images/ld2410.jpg","multi_conf":true,"name":"LD2410 Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["calibration_result","id"],["mac_address","id"],["version","id"]]}}, -{"bus_constraints":{"uart":{"baud_rate":115200,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","id":"ld2410s","multi_conf":true,"name":"LD2410S Sensor"}, -{"category":"binary_sensor","dependencies":["ld2410s"],"description":"","id":"binary_sensor.ld2410s","multi_conf":true,"name":"Ld2410S","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}}, -{"category":"number","dependencies":["ld2410s"],"description":"The module's settings are read at start and written back whenever one of them is changed.","id":"number.ld2410s","multi_conf":true,"name":"LD2410S Sensor","provides":["number"],"provides_id_paths":{"number":[["distance_reporting_frequency","id"],["max_distance","id"],["min_distance","id"],["no_delay","id"],["status_reporting_frequency","id"]]}}, -{"category":"select","dependencies":["ld2410s"],"description":"","id":"select.ld2410s","multi_conf":true,"name":"Ld2410S","provides":["select"],"provides_id_paths":{"select":[["response_speed","id"]]}}, -{"category":"sensor","dependencies":["ld2410s"],"description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","id":"sensor.ld2410s","multi_conf":true,"name":"LD2410S Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["distance","id"]]}}, -{"category":"text_sensor","dependencies":["ld2410s"],"description":"","id":"text_sensor.ld2410s","multi_conf":true,"name":"Ld2410S","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["version","id"]]}}, +{"bus_constraints":{"uart":{"baud_rate":115200,"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","docs_url":"https://esphome.io/components/sensor/ld2410s/","id":"ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","multi_conf":true,"name":"LD2410S Sensor"}, +{"category":"binary_sensor","dependencies":["ld2410s"],"description":"HI-LINK LD2410S presence radar with ESPHome.","docs_url":"https://esphome.io/components/sensor/ld2410s","id":"binary_sensor.ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","multi_conf":true,"name":"LD2410S Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}}, +{"category":"number","dependencies":["ld2410s"],"description":"The module's settings are read at start and written back whenever one of them is changed.","docs_url":"https://esphome.io/components/sensor/ld2410s/","id":"number.ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","multi_conf":true,"name":"LD2410S Sensor","provides":["number"],"provides_id_paths":{"number":[["distance_reporting_frequency","id"],["max_distance","id"],["min_distance","id"],["no_delay","id"],["status_reporting_frequency","id"]]}}, +{"category":"select","dependencies":["ld2410s"],"description":"HI-LINK LD2410S presence radar with ESPHome.","docs_url":"https://esphome.io/components/sensor/ld2410s","id":"select.ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","multi_conf":true,"name":"LD2410S Sensor","provides":["select"],"provides_id_paths":{"select":[["response_speed","id"]]}}, +{"category":"sensor","dependencies":["ld2410s"],"description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","docs_url":"https://esphome.io/components/sensor/ld2410s/","id":"sensor.ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","multi_conf":true,"name":"LD2410S Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["distance","id"]]}}, +{"category":"text_sensor","dependencies":["ld2410s"],"description":"HI-LINK LD2410S presence radar with ESPHome.","docs_url":"https://esphome.io/components/sensor/ld2410s","id":"text_sensor.ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","multi_conf":true,"name":"LD2410S Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["version","id"]]}}, {"bus_constraints":{"uart":{"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `ld2412` sensor platform allows you to use HI-LINK LD2412 motion and presence sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/ld2412/","id":"ld2412","image_url":"https://esphome.io/images/ld2412.jpg","multi_conf":true,"name":"LD2412 Sensor"}, {"category":"binary_sensor","dependencies":["ld2412"],"description":"The `ld2412` binary sensors allow you to quickly determine various states reported by the sensor.","docs_url":"https://esphome.io/components/sensor/ld2412/","id":"binary_sensor.ld2412","image_url":"https://esphome.io/images/ld2412.jpg","multi_conf":true,"name":"LD2412 Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["dynamic_background_correction_status","id"],["has_moving_target","id"],["has_still_target","id"],["has_target","id"]]}}, {"category":"button","dependencies":["ld2412"],"description":"The `ld2412` button allows you to perform actions on your sensor.","docs_url":"https://esphome.io/components/sensor/ld2412/","id":"button.ld2412","image_url":"https://esphome.io/images/ld2412.jpg","multi_conf":true,"name":"LD2412 Sensor","provides":["button"],"provides_id_paths":{"button":[["factory_reset","id"],["query_params","id"],["restart","id"],["start_dynamic_background_correction","id"]]}}, @@ -520,8 +520,8 @@ {"category":"switch","dependencies":["ld2450"],"description":"The `ld2450` switch allows you to control your [Ld2450](https://esphome.io/components/sensor/ld2450/) `Bluetooth` and `Multi/Single Target Tracking`.","docs_url":"https://esphome.io/components/sensor/ld2450/","id":"switch.ld2450","image_url":"https://esphome.io/images/ld2450.png","multi_conf":true,"name":"LD2450 Sensor","provides":["switch"],"provides_id_paths":{"switch":[["bluetooth","id"],["multi_target","id"]]}}, {"category":"text","dependencies":["ld2450"],"description":"The `ld2450` text platform defines [polygon zones](https://esphome.io/components/sensor/ld2450/#polygon-zones): one text entity per zone that holds its polygon, paired with a presence binary sensor under the [binary sensor platform](https://esphome.io/components/sensor/ld2450/#ld2450-binary-sensors).","docs_url":"https://esphome.io/components/sensor/ld2450/","id":"text.ld2450","image_url":"https://esphome.io/images/ld2450.png","multi_conf":true,"name":"LD2450 Sensor","provides":["text"],"provides_id_paths":{"text":[["polygon_zones","id"]]}}, {"category":"text_sensor","dependencies":["ld2450"],"description":"The `ld2450` text sensor allows you to get information about your [Ld2450](https://esphome.io/components/sensor/ld2450/).","docs_url":"https://esphome.io/components/sensor/ld2450/","id":"text_sensor.ld2450","image_url":"https://esphome.io/images/ld2450.png","multi_conf":true,"name":"LD2450 Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["mac_address","id"],["target_1","direction","id"],["target_1","xy","id"],["target_2","direction","id"],["target_2","xy","id"],["target_3","direction","id"],["target_3","xy","id"],["version","id"]]}}, -{"bus_constraints":{"uart":{"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `ld2460` component allows you to use the Hi-Link HLK-LD2460 24GHz 2T4R millimeter-wave radar module with ESPHome. The module is made by [Hi-Link](https://www.hlktech.net/) (vendor website).","id":"ld2460","multi_conf":true,"name":"LD2460 Sensor"}, -{"category":"sensor","dependencies":["ld2460"],"description":"The `ld2460` sensor platform exposes the target count and real-time tracking data for up to 5 detected targets.","id":"sensor.ld2460","multi_conf":true,"name":"LD2460 Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["target_1","angle","id"],["target_1","distance","id"],["target_1","x","id"],["target_1","y","id"],["target_2","angle","id"],["target_2","distance","id"],["target_2","x","id"],["target_2","y","id"],["target_3","angle","id"],["target_3","distance","id"],["target_3","x","id"],["target_3","y","id"],["target_4","angle","id"],["target_4","distance","id"],["target_4","x","id"],["target_4","y","id"],["target_5","angle","id"],["target_5","distance","id"],["target_5","x","id"],["target_5","y","id"],["target_count","id"]]}}, +{"bus_constraints":{"uart":{"parity":"NONE","require_rx":true,"require_tx":true,"stop_bits":1}},"category":"misc","dependencies":["uart"],"description":"The `ld2460` component allows you to use the Hi-Link HLK-LD2460 24GHz 2T4R millimeter-wave radar module with ESPHome. The module is made by [Hi-Link](https://www.hlktech.net/) (vendor website).","docs_url":"https://esphome.io/components/sensor/ld2460/","id":"ld2460","image_url":"https://esphome.io/images/ld2460.jpg","multi_conf":true,"name":"LD2460 Sensor"}, +{"category":"sensor","dependencies":["ld2460"],"description":"The `ld2460` sensor platform exposes the target count and real-time tracking data for up to 5 detected targets.","docs_url":"https://esphome.io/components/sensor/ld2460/","id":"sensor.ld2460","image_url":"https://esphome.io/images/ld2460.jpg","multi_conf":true,"name":"LD2460 Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["target_1","angle","id"],["target_1","distance","id"],["target_1","x","id"],["target_1","y","id"],["target_2","angle","id"],["target_2","distance","id"],["target_2","x","id"],["target_2","y","id"],["target_3","angle","id"],["target_3","distance","id"],["target_3","x","id"],["target_3","y","id"],["target_4","angle","id"],["target_4","distance","id"],["target_4","x","id"],["target_4","y","id"],["target_5","angle","id"],["target_5","distance","id"],["target_5","x","id"],["target_5","y","id"],["target_count","id"]]}}, {"category":"misc","dependencies":["uart"],"description":"The `ld6002b` component allows you to use the Hi-Link HLK-LD6002B 60 GHz 3D presence radar module with ESPHome. It can track up to 3 people and reports per-target position (X/Y/Z), cluster ID, and Doppler index.","docs_url":"https://esphome.io/components/sensor/ld6002b/","id":"ld6002b","image_url":"https://esphome.io/images/ld6002b.png","multi_conf":true,"name":"LD6002B 3D Presence Radar"}, {"category":"binary_sensor","dependencies":["ld6002b"],"description":"The `ld6002b` binary sensor provides presence detection for targets and detection areas.","docs_url":"https://esphome.io/components/sensor/ld6002b/","id":"binary_sensor.ld6002b","image_url":"https://esphome.io/images/ld6002b.png","multi_conf":true,"name":"LD6002B 3D Presence Radar","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["detection_area_0","id"],["detection_area_1","id"],["detection_area_2","id"],["detection_area_3","id"],["target","id"],["target_1","id"],["target_2","id"],["target_3","id"]]}}, {"category":"button","dependencies":["ld6002b"],"description":"The `ld6002b` button platform exposes configuration and diagnostic commands.","docs_url":"https://esphome.io/components/sensor/ld6002b/","id":"button.ld6002b","image_url":"https://esphome.io/images/ld6002b.png","multi_conf":true,"name":"LD6002B 3D Presence Radar","provides":["button"],"provides_id_paths":{"button":[["apply_area","id"],["auto_interference","id"],["clear_interference","id"],["get_areas","id"],["get_delay","id"],["get_installation","id"],["get_low_power_mode","id"],["get_low_power_sleep_time","id"],["get_sensitivity","id"],["get_trigger_speed","id"],["get_z_range","id"],["reset_detection_area","id"],["reset_unattended","id"],["wake","id"]]}}, @@ -530,37 +530,37 @@ {"category":"sensor","dependencies":["ld6002b"],"description":"The `ld6002b` sensor provides target coordinates, point-cloud count, and configured area coordinates.","docs_url":"https://esphome.io/components/sensor/ld6002b/","id":"sensor.ld6002b","image_url":"https://esphome.io/images/ld6002b.png","multi_conf":true,"name":"LD6002B 3D Presence Radar","provides":["sensor"],"provides_id_paths":{"sensor":[["detection_area_0","x_max","id"],["detection_area_0","x_min","id"],["detection_area_0","y_max","id"],["detection_area_0","y_min","id"],["detection_area_0","z_max","id"],["detection_area_0","z_min","id"],["detection_area_1","x_max","id"],["detection_area_1","x_min","id"],["detection_area_1","y_max","id"],["detection_area_1","y_min","id"],["detection_area_1","z_max","id"],["detection_area_1","z_min","id"],["detection_area_2","x_max","id"],["detection_area_2","x_min","id"],["detection_area_2","y_max","id"],["detection_area_2","y_min","id"],["detection_area_2","z_max","id"],["detection_area_2","z_min","id"],["detection_area_3","x_max","id"],["detection_area_3","x_min","id"],["detection_area_3","y_max","id"],["detection_area_3","y_min","id"],["detection_area_3","z_max","id"],["detection_area_3","z_min","id"],["interference_area_0","x_max","id"],["interference_area_0","x_min","id"],["interference_area_0","y_max","id"],["interference_area_0","y_min","id"],["interference_area_0","z_max","id"],["interference_area_0","z_min","id"],["interference_area_1","x_max","id"],["interference_area_1","x_min","id"],["interference_area_1","y_max","id"],["interference_area_1","y_min","id"],["interference_area_1","z_max","id"],["interference_area_1","z_min","id"],["interference_area_2","x_max","id"],["interference_area_2","x_min","id"],["interference_area_2","y_max","id"],["interference_area_2","y_min","id"],["interference_area_2","z_max","id"],["interference_area_2","z_min","id"],["interference_area_3","x_max","id"],["interference_area_3","x_min","id"],["interference_area_3","y_max","id"],["interference_area_3","y_min","id"],["interference_area_3","z_max","id"],["interference_area_3","z_min","id"],["point_count","id"],["target_1","cluster_id","id"],["target_1","doppler_index","id"],["target_1","x","id"],["target_1","y","id"],["target_1","z","id"],["target_2","cluster_id","id"],["target_2","doppler_index","id"],["target_2","x","id"],["target_2","y","id"],["target_2","z","id"],["target_3","cluster_id","id"],["target_3","doppler_index","id"],["target_3","x","id"],["target_3","y","id"],["target_3","z","id"],["target_count","id"]]}}, {"category":"switch","dependencies":["ld6002b"],"description":"The `ld6002b` switch platform enables low power mode, point-cloud output, and target reporting.","docs_url":"https://esphome.io/components/sensor/ld6002b/","id":"switch.ld6002b","image_url":"https://esphome.io/images/ld6002b.png","multi_conf":true,"name":"LD6002B 3D Presence Radar","provides":["switch"],"provides_id_paths":{"switch":[["low_power","id"],["point_cloud","id"],["target_display","id"]]}}, {"category":"text_sensor","dependencies":["ld6002b"],"description":"The `ld6002b` text sensor exposes radar operating mode and firmware version.","docs_url":"https://esphome.io/components/sensor/ld6002b/","id":"text_sensor.ld6002b","image_url":"https://esphome.io/images/ld6002b.png","multi_conf":true,"name":"LD6002B 3D Presence Radar","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["ota_version","id"],["work_mode","id"]]}}, -{"category":"misc","dependencies":["uart"],"description":"The `ld6004` component allows you to use the Hi-Link HLK-LD6004 60 GHz 3D presence radar module with ESPHome. It can track up to 3 people and reports per-target position (X/Y/Z), cluster ID, and Doppler index.","id":"ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar"}, -{"category":"binary_sensor","dependencies":["ld6004"],"description":"The `ld6004` binary sensor provides presence detection for targets and detection areas.","id":"binary_sensor.ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["detection_area_0","id"],["detection_area_1","id"],["detection_area_2","id"],["detection_area_3","id"],["target","id"],["target_1","id"],["target_2","id"],["target_3","id"]]}}, -{"category":"button","dependencies":["ld6004"],"description":"The `ld6004` button platform exposes configuration and diagnostic commands.","id":"button.ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["button"],"provides_id_paths":{"button":[["apply_area","id"],["auto_interference","id"],["clear_dwell","id"],["clear_interference","id"],["get_areas","id"],["get_delay","id"],["get_installation","id"],["get_low_power_mode","id"],["get_low_power_sleep_time","id"],["get_sensitivity","id"],["get_trigger_speed","id"],["get_z_range","id"],["reset_detection_area","id"],["reset_unattended","id"]]}}, -{"category":"number","dependencies":["ld6004"],"description":"The `ld6004` number platform lets you configure timing and area coordinates.","id":"number.ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["number"],"provides_id_paths":{"number":[["area_config","x_max","id"],["area_config","x_min","id"],["area_config","y_max","id"],["area_config","y_min","id"],["area_config","z_max","id"],["area_config","z_min","id"],["dwell_lifetime","id"],["hold_delay","id"],["low_power_sleep_time","id"],["output_interval","id"],["z_max","id"],["z_min","id"]]}}, -{"category":"select","dependencies":["ld6004"],"description":"The `ld6004` select platform configures sensitivity, trigger speed, installation mode, the active area ID, work mode, and OUT / P20 behavior.","id":"select.ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["select"],"provides_id_paths":{"select":[["area_id","id"],["installation_mode","id"],["p20_mode","id"],["sensitivity","id"],["trigger_speed","id"],["work_mode","id"]]}}, -{"category":"sensor","dependencies":["ld6004"],"description":"The `ld6004` sensor provides target coordinates, point-cloud count, and configured area coordinates.","id":"sensor.ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["sensor"],"provides_id_paths":{"sensor":[["detection_area_0","x_max","id"],["detection_area_0","x_min","id"],["detection_area_0","y_max","id"],["detection_area_0","y_min","id"],["detection_area_0","z_max","id"],["detection_area_0","z_min","id"],["detection_area_1","x_max","id"],["detection_area_1","x_min","id"],["detection_area_1","y_max","id"],["detection_area_1","y_min","id"],["detection_area_1","z_max","id"],["detection_area_1","z_min","id"],["detection_area_2","x_max","id"],["detection_area_2","x_min","id"],["detection_area_2","y_max","id"],["detection_area_2","y_min","id"],["detection_area_2","z_max","id"],["detection_area_2","z_min","id"],["detection_area_3","x_max","id"],["detection_area_3","x_min","id"],["detection_area_3","y_max","id"],["detection_area_3","y_min","id"],["detection_area_3","z_max","id"],["detection_area_3","z_min","id"],["dwell_area_0","x_max","id"],["dwell_area_0","x_min","id"],["dwell_area_0","y_max","id"],["dwell_area_0","y_min","id"],["dwell_area_0","z_max","id"],["dwell_area_0","z_min","id"],["dwell_area_1","x_max","id"],["dwell_area_1","x_min","id"],["dwell_area_1","y_max","id"],["dwell_area_1","y_min","id"],["dwell_area_1","z_max","id"],["dwell_area_1","z_min","id"],["dwell_area_2","x_max","id"],["dwell_area_2","x_min","id"],["dwell_area_2","y_max","id"],["dwell_area_2","y_min","id"],["dwell_area_2","z_max","id"],["dwell_area_2","z_min","id"],["dwell_area_3","x_max","id"],["dwell_area_3","x_min","id"],["dwell_area_3","y_max","id"],["dwell_area_3","y_min","id"],["dwell_area_3","z_max","id"],["dwell_area_3","z_min","id"],["interference_area_0","x_max","id"],["interference_area_0","x_min","id"],["interference_area_0","y_max","id"],["interference_area_0","y_min","id"],["interference_area_0","z_max","id"],["interference_area_0","z_min","id"],["interference_area_1","x_max","id"],["interference_area_1","x_min","id"],["interference_area_1","y_max","id"],["interference_area_1","y_min","id"],["interference_area_1","z_max","id"],["interference_area_1","z_min","id"],["interference_area_2","x_max","id"],["interference_area_2","x_min","id"],["interference_area_2","y_max","id"],["interference_area_2","y_min","id"],["interference_area_2","z_max","id"],["interference_area_2","z_min","id"],["interference_area_3","x_max","id"],["interference_area_3","x_min","id"],["interference_area_3","y_max","id"],["interference_area_3","y_min","id"],["interference_area_3","z_max","id"],["interference_area_3","z_min","id"],["point_count","id"],["target_1","cluster_id","id"],["target_1","doppler_index","id"],["target_1","x","id"],["target_1","y","id"],["target_1","z","id"],["target_2","cluster_id","id"],["target_2","doppler_index","id"],["target_2","x","id"],["target_2","y","id"],["target_2","z","id"],["target_3","cluster_id","id"],["target_3","doppler_index","id"],["target_3","x","id"],["target_3","y","id"],["target_3","z","id"],["target_count","id"]]}}, -{"category":"switch","dependencies":["ld6004"],"description":"The `ld6004` switch platform enables point-cloud output and target reporting.","id":"switch.ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["switch"],"provides_id_paths":{"switch":[["point_cloud","id"],["target_display","id"]]}}, -{"category":"text_sensor","dependencies":["ld6004"],"description":"The `ld6004` text sensor exposes radar operating mode and firmware version.","id":"text_sensor.ld6004","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["ota_version","id"],["work_mode","id"]]}}, +{"category":"misc","dependencies":["uart"],"description":"The `ld6004` component allows you to use the Hi-Link HLK-LD6004 60 GHz 3D presence radar module with ESPHome. It can track up to 3 people and reports per-target position (X/Y/Z), cluster ID, and Doppler index.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar"}, +{"category":"binary_sensor","dependencies":["ld6004"],"description":"The `ld6004` binary sensor provides presence detection for targets and detection areas.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"binary_sensor.ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["detection_area_0","id"],["detection_area_1","id"],["detection_area_2","id"],["detection_area_3","id"],["target","id"],["target_1","id"],["target_2","id"],["target_3","id"]]}}, +{"category":"button","dependencies":["ld6004"],"description":"The `ld6004` button platform exposes configuration and diagnostic commands.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"button.ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["button"],"provides_id_paths":{"button":[["apply_area","id"],["auto_interference","id"],["clear_dwell","id"],["clear_interference","id"],["get_areas","id"],["get_delay","id"],["get_installation","id"],["get_low_power_mode","id"],["get_low_power_sleep_time","id"],["get_sensitivity","id"],["get_trigger_speed","id"],["get_z_range","id"],["reset_detection_area","id"],["reset_unattended","id"]]}}, +{"category":"number","dependencies":["ld6004"],"description":"The `ld6004` number platform lets you configure timing and area coordinates.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"number.ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["number"],"provides_id_paths":{"number":[["area_config","x_max","id"],["area_config","x_min","id"],["area_config","y_max","id"],["area_config","y_min","id"],["area_config","z_max","id"],["area_config","z_min","id"],["dwell_lifetime","id"],["hold_delay","id"],["low_power_sleep_time","id"],["output_interval","id"],["z_max","id"],["z_min","id"]]}}, +{"category":"select","dependencies":["ld6004"],"description":"The `ld6004` select platform configures sensitivity, trigger speed, installation mode, the active area ID, work mode, and OUT / P20 behavior.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"select.ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["select"],"provides_id_paths":{"select":[["area_id","id"],["installation_mode","id"],["p20_mode","id"],["sensitivity","id"],["trigger_speed","id"],["work_mode","id"]]}}, +{"category":"sensor","dependencies":["ld6004"],"description":"The `ld6004` sensor provides target coordinates, point-cloud count, and configured area coordinates.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"sensor.ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["sensor"],"provides_id_paths":{"sensor":[["detection_area_0","x_max","id"],["detection_area_0","x_min","id"],["detection_area_0","y_max","id"],["detection_area_0","y_min","id"],["detection_area_0","z_max","id"],["detection_area_0","z_min","id"],["detection_area_1","x_max","id"],["detection_area_1","x_min","id"],["detection_area_1","y_max","id"],["detection_area_1","y_min","id"],["detection_area_1","z_max","id"],["detection_area_1","z_min","id"],["detection_area_2","x_max","id"],["detection_area_2","x_min","id"],["detection_area_2","y_max","id"],["detection_area_2","y_min","id"],["detection_area_2","z_max","id"],["detection_area_2","z_min","id"],["detection_area_3","x_max","id"],["detection_area_3","x_min","id"],["detection_area_3","y_max","id"],["detection_area_3","y_min","id"],["detection_area_3","z_max","id"],["detection_area_3","z_min","id"],["dwell_area_0","x_max","id"],["dwell_area_0","x_min","id"],["dwell_area_0","y_max","id"],["dwell_area_0","y_min","id"],["dwell_area_0","z_max","id"],["dwell_area_0","z_min","id"],["dwell_area_1","x_max","id"],["dwell_area_1","x_min","id"],["dwell_area_1","y_max","id"],["dwell_area_1","y_min","id"],["dwell_area_1","z_max","id"],["dwell_area_1","z_min","id"],["dwell_area_2","x_max","id"],["dwell_area_2","x_min","id"],["dwell_area_2","y_max","id"],["dwell_area_2","y_min","id"],["dwell_area_2","z_max","id"],["dwell_area_2","z_min","id"],["dwell_area_3","x_max","id"],["dwell_area_3","x_min","id"],["dwell_area_3","y_max","id"],["dwell_area_3","y_min","id"],["dwell_area_3","z_max","id"],["dwell_area_3","z_min","id"],["interference_area_0","x_max","id"],["interference_area_0","x_min","id"],["interference_area_0","y_max","id"],["interference_area_0","y_min","id"],["interference_area_0","z_max","id"],["interference_area_0","z_min","id"],["interference_area_1","x_max","id"],["interference_area_1","x_min","id"],["interference_area_1","y_max","id"],["interference_area_1","y_min","id"],["interference_area_1","z_max","id"],["interference_area_1","z_min","id"],["interference_area_2","x_max","id"],["interference_area_2","x_min","id"],["interference_area_2","y_max","id"],["interference_area_2","y_min","id"],["interference_area_2","z_max","id"],["interference_area_2","z_min","id"],["interference_area_3","x_max","id"],["interference_area_3","x_min","id"],["interference_area_3","y_max","id"],["interference_area_3","y_min","id"],["interference_area_3","z_max","id"],["interference_area_3","z_min","id"],["point_count","id"],["target_1","cluster_id","id"],["target_1","doppler_index","id"],["target_1","x","id"],["target_1","y","id"],["target_1","z","id"],["target_2","cluster_id","id"],["target_2","doppler_index","id"],["target_2","x","id"],["target_2","y","id"],["target_2","z","id"],["target_3","cluster_id","id"],["target_3","doppler_index","id"],["target_3","x","id"],["target_3","y","id"],["target_3","z","id"],["target_count","id"]]}}, +{"category":"switch","dependencies":["ld6004"],"description":"The `ld6004` switch platform enables point-cloud output and target reporting.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"switch.ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["switch"],"provides_id_paths":{"switch":[["point_cloud","id"],["target_display","id"]]}}, +{"category":"text_sensor","dependencies":["ld6004"],"description":"The `ld6004` text sensor exposes radar operating mode and firmware version.","docs_url":"https://esphome.io/components/sensor/ld6004/","id":"text_sensor.ld6004","image_url":"https://esphome.io/images/badges/ld6004.svg","multi_conf":true,"name":"LD6004 3D Presence Radar","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["ota_version","id"],["work_mode","id"]]}}, {"category":"output","dependencies":["esp32"],"description":"The LEDC output component exposes an [LEDC PWM channel](https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/ledc.html) of the ESP32 as an output component.","docs_url":"https://esphome.io/components/output/ledc/","id":"output.ledc","image_url":"https://esphome.io/images/pwm.png","multi_conf":true,"name":"ESP32 LEDC Output","provides":["ledc"],"supported_platforms":["esp32"]}, {"category":"misc","description":"This component contains platform-specific options for the [LibreTiny](https://docs.libretiny.eu/) platform. It provides support for the following microcontrollers, commonly used in Tuya devices, amongst others:","docs_url":"https://esphome.io/components/libretiny/","id":"libretiny","image_url":"https://esphome.io/images/badges/bk72xx.svg","name":"LibreTiny Platform","supported_platforms":["bk72xx","ln882x","rtl87xx"]}, {"category":"text_sensor","dependencies":["libretiny"],"description":"The `libretiny` text sensor platform exposes various LibreTiny core information via text sensors.","docs_url":"https://esphome.io/components/text_sensor/libretiny/","id":"text_sensor.libretiny","image_url":"https://esphome.io/images/badges/libretiny.svg","multi_conf":true,"name":"LibreTiny Text Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["version","id"]]},"supported_platforms":["bk72xx","ln882x","rtl87xx"]}, {"category":"output","dependencies":["libretiny"],"description":"The LibreTiny PWM platform allows you to use a hardware PWM on BK72xx and RTL87xx chips. Refer to [LibreTiny/Boards](https://docs.libretiny.eu/link/boards) to find your board and which PWM pins it supports.","docs_url":"https://esphome.io/components/output/libretiny_pwm/","id":"output.libretiny_pwm","image_url":"https://esphome.io/images/pwm.png","multi_conf":true,"name":"LibreTiny PWM Output","provides":["libretiny_pwm"],"supported_platforms":["bk72xx","ln882x","rtl87xx"]}, {"category":"misc","description":"The `LightWaveRF` light platform creates a module to dump and send commands to light switches","docs_url":"https://esphome.io/components/lightwaverf/","id":"lightwaverf","image_url":"https://esphome.io/images/brightness-medium.svg","name":"LightWaveRF"}, {"category":"touchscreen","dependencies":["i2c"],"description":"The `liygo_t5_47` touchscreen platform allows using the touchscreen controller for the Lilygo T5 4.7\" e-Paper Display with ESPHome. The [I²C](https://esphome.io/components/i2c) component is required to be set up in your configuration for this touchscreen to work.","docs_url":"https://esphome.io/components/touchscreen/lilygo_t5_47/","id":"touchscreen.lilygo_t5_47","image_url":"https://esphome.io/images/lilygo_t5_47_touch.jpg","multi_conf":true,"name":"Lilygo T5 4.7\\\" Touchscreen"}, -{"category":"binary_sensor","dependencies":["lis2dw12"],"description":"Four binary sensors available for use. Internal 500 ms debounce is applied for all sensors. Every sensor needs at least an **id** or a **name**. All other options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor). Shorthand notation also can be used.","id":"binary_sensor.lis2dw12","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["active","id"],["double_tap","id"],["freefall","id"],["tap","id"]]}}, -{"category":"sensor","dependencies":["lis2dw12"],"description":"Acceleration data is available through sensors configuration. You can use shorthand notation like `acceleration_x: \"Acceleration X\"` or use regular notation. For regular notation at least an **id** or a **name** is required. All options from [Sensor](https://esphome.io/components/sensor/).","id":"sensor.lis2dw12","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["acceleration_x","id"],["acceleration_y","id"],["acceleration_z","id"]]}}, -{"category":"text_sensor","dependencies":["lis2dw12"],"description":"Text sensor provides 6D orientation information. You can use shorthand notation like `orientation: \"Orientation\"` or use regular notation.","id":"text_sensor.lis2dw12","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["orientation","id"]]}}, -{"category":"misc","dependencies":["i2c"],"description":"The `lis2dw12` sensor platform allows you to use your ST LIS2DW12 tri-axial, low-g accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis2dw12.pdf)) with ESPHome. The sensor supports both [I²C](https://esphome.io/components/i2c/) and [SPI](https://esphome.io/components/spi/) buses.","id":"lis2dw12_i2c","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["lis2dw12"]}, -{"category":"misc","dependencies":["spi"],"description":"","id":"lis2dw12_spi","multi_conf":true,"name":"Lis2Dw12 SPI","provides":["lis2dw12"]}, -{"category":"misc","dependencies":["i2c","motion"],"description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","id":"lis3dh","name":"LIS3DH Accelerometer"}, -{"category":"motion","dependencies":["i2c"],"description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","id":"motion.lis3dh","multi_conf":true,"name":"LIS3DH Accelerometer","provides":["lis3dh"]}, -{"category":"sensor","dependencies":["lis3dh"],"description":"The `lis3dh` sensor platform provides access to the on-chip temperature sensor of a LIS3DH accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `lis3dh` platform, which handles the accelerometer data and configures the device. See that component for more information.","id":"sensor.lis3dh","multi_conf":true,"name":"LIS3DH Temperature Sensor"}, +{"category":"binary_sensor","dependencies":["lis2dw12"],"description":"Four binary sensors available for use. Internal 500 ms debounce is applied for all sensors. Every sensor needs at least an **id** or a **name**. All other options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor). Shorthand notation also can be used.","docs_url":"https://esphome.io/components/sensor/lis2dw12/","id":"binary_sensor.lis2dw12","image_url":"https://esphome.io/images/lis2dw12.jpg","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["active","id"],["double_tap","id"],["freefall","id"],["tap","id"]]}}, +{"category":"sensor","dependencies":["lis2dw12"],"description":"Acceleration data is available through sensors configuration. You can use shorthand notation like `acceleration_x: \"Acceleration X\"` or use regular notation. For regular notation at least an **id** or a **name** is required. All options from [Sensor](https://esphome.io/components/sensor/).","docs_url":"https://esphome.io/components/sensor/lis2dw12/","id":"sensor.lis2dw12","image_url":"https://esphome.io/images/lis2dw12.jpg","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["acceleration_x","id"],["acceleration_y","id"],["acceleration_z","id"]]}}, +{"category":"text_sensor","dependencies":["lis2dw12"],"description":"Text sensor provides 6D orientation information. You can use shorthand notation like `orientation: \"Orientation\"` or use regular notation.","docs_url":"https://esphome.io/components/sensor/lis2dw12/","id":"text_sensor.lis2dw12","image_url":"https://esphome.io/images/lis2dw12.jpg","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["orientation","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The `lis2dw12` sensor platform allows you to use your ST LIS2DW12 tri-axial, low-g accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis2dw12.pdf)) with ESPHome. The sensor supports both [I²C](https://esphome.io/components/i2c/) and [SPI](https://esphome.io/components/spi/) buses.","docs_url":"https://esphome.io/components/sensor/lis2dw12/","id":"lis2dw12_i2c","multi_conf":true,"name":"LIS2DW12 Sensor","provides":["lis2dw12"]}, +{"category":"misc","dependencies":["spi"],"description":"","docs_url":"https://esphome.io/components/sensor/lis2dw12#componenthub","id":"lis2dw12_spi","multi_conf":true,"name":"Lis2Dw12 SPI","provides":["lis2dw12"]}, +{"category":"misc","dependencies":["i2c","motion"],"description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/motion/lis3dh/","id":"lis3dh","image_url":"https://esphome.io/images/imu.svg","name":"LIS3DH Accelerometer"}, +{"category":"motion","dependencies":["i2c"],"description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/motion/lis3dh/","id":"motion.lis3dh","image_url":"https://esphome.io/images/imu.svg","multi_conf":true,"name":"LIS3DH Accelerometer","provides":["lis3dh"]}, +{"category":"sensor","dependencies":["lis3dh"],"description":"The `lis3dh` sensor platform provides access to the on-chip temperature sensor of a LIS3DH accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `lis3dh` platform, which handles the accelerometer data and configures the device. See that component for more information.","docs_url":"https://esphome.io/components/sensor/lis3dh/","id":"sensor.lis3dh","image_url":"https://esphome.io/images/imu.svg","multi_conf":true,"name":"LIS3DH Temperature Sensor"}, {"category":"sensor","dependencies":["i2c"],"description":"The LM75B Temperature sensor allows you to use your NXP Semiconductors LM75B ([datasheet](https://www.nxp.com/docs/en/data-sheet/LM75B.pdf)) sensor with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/lm75b/","id":"sensor.lm75b","image_url":"https://esphome.io/images/lm75b.jpg","multi_conf":true,"name":"LM75B Temperature Sensor"}, {"category":"misc","dependencies":["ln882x"],"description":"The `ln882h_ble` component enables the Bluetooth Low Energy controller of the LN882H (LibreTiny `ln882x` platform) — the platform analog of [ESP32 BLE](https://esphome.io/components/esp32_ble/). It owns the BLE stack bring-up and the controller's persistent BLE address; higher-level consumers (such as the LN882H BLE tracker) build on it and load it automatically.","docs_url":"https://esphome.io/components/ln882h_ble/","id":"ln882h_ble","image_url":"https://esphome.io/images/bluetooth.svg","name":"LN882H Bluetooth Low Energy","supported_platforms":["ln882x"]}, {"category":"misc","dependencies":["ln882x"],"description":"The `ln882h_ble_tracker` component creates a global hub so that you can track Bluetooth Low Energy devices using your LN882H node (LibreTiny `ln882x` platform, such as the WL2H-U and LN-CB3S V1.0 modules).","docs_url":"https://esphome.io/components/ln882h_ble_tracker/","id":"ln882h_ble_tracker","image_url":"https://esphome.io/images/bluetooth.svg","name":"LN882H Bluetooth Low Energy Tracker Hub","provides":["ble_device_base"],"supported_platforms":["ln882x"]}, {"category":"core","description":"Configuration for the LibreTiny platform for ESPHome.","docs_url":"https://esphome.io/components/libretiny","id":"ln882x","name":"LN882x","provides":["libretiny"],"supported_platforms":["ln882x"]}, -{"category":"light","dependencies":["ln882x"],"description":"This is a component using the LN882x SPI DMA interface to drive addressable LED strips. The LED data is sent on the SPI0 MOSI line, which can be routed to any GPIO pin of the chip. It requires the `ln882x` platform of [LibreTiny](https://esphome.io/components/libretiny/).","id":"light.ln882x_spi_led_strip","multi_conf":true,"name":"LN882x SPI LED Strip","supported_platforms":["ln882x"]}, +{"category":"light","dependencies":["ln882x"],"description":"This is a component using the LN882x SPI DMA interface to drive addressable LED strips. The LED data is sent on the SPI0 MOSI line, which can be routed to any GPIO pin of the chip. It requires the `ln882x` platform of [LibreTiny](https://esphome.io/components/libretiny/).","docs_url":"https://esphome.io/components/light/ln882x_spi_led_strip/","id":"light.ln882x_spi_led_strip","image_url":"https://esphome.io/images/color_lens.svg","multi_conf":true,"name":"LN882x SPI LED Strip","supported_platforms":["ln882x"]}, {"category":"core","description":"The logger component automatically logs all log messages through the serial port and through MQTT topics (if there is an MQTT client in the configuration). By default, all logs with a severity `DEBUG` or higher will be shown. Increasing the log level severity (to e.g `INFO` or `WARN` ) can help with the performance of the application and memory size.","docs_url":"https://esphome.io/components/logger/","id":"logger","image_url":"https://esphome.io/images/file-document-box.svg","name":"Logger Component"}, {"category":"select","dependencies":["logger"],"description":"The `logger` Select platform allows you to create a Select that can be used to change the log level of the logger component.","docs_url":"https://esphome.io/components/select/logger/","id":"select.logger","image_url":"https://esphome.io/images/file-document-box.svg","multi_conf":true,"name":"Logger Select"}, -{"category":"misc","dependencies":["i2c"],"description":"The LP5562 component represents a Texas Instruments LP5562 4-channel (RGBW) LED driver ([datasheet](https://web.archive.org/web/20240327023921/https://www.ti.com/lit/ds/symlink/lp5562.pdf)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c/) for communication.","id":"lp5562","multi_conf":true,"name":"LP5562"}, -{"category":"output","dependencies":["lp5562"],"description":"The LP5562 output component exposes an LP5562 PWM channel of a global [LP5562 chip](https://esphome.io/components/output/lp5562/#componenthub) as a float output.","id":"output.lp5562","multi_conf":true,"name":"LP5562"}, +{"category":"misc","dependencies":["i2c"],"description":"The LP5562 component represents a Texas Instruments LP5562 4-channel (RGBW) LED driver ([datasheet](https://web.archive.org/web/20240327023921/https://www.ti.com/lit/ds/symlink/lp5562.pdf)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c/) for communication.","docs_url":"https://esphome.io/components/output/lp5562/","id":"lp5562","image_url":"https://esphome.io/images/badges/lp5562.svg","multi_conf":true,"name":"LP5562"}, +{"category":"output","dependencies":["lp5562"],"description":"The LP5562 output component exposes an LP5562 PWM channel of a global [LP5562 chip](https://esphome.io/components/output/lp5562/#componenthub) as a float output.","docs_url":"https://esphome.io/components/output/lp5562/","id":"output.lp5562","image_url":"https://esphome.io/images/badges/lp5562.svg","multi_conf":true,"name":"LP5562"}, {"category":"sensor","dependencies":["i2c"],"description":"The `lps22` sensor platform allows you to use your [LPS22HB](https://www.st.com/resource/en/datasheet/lps22hb.pdf), [LPS22HH](https://www.st.com/resource/en/datasheet/lps22hh.pdf) and [LPS22DF](https://www.st.com/resource/en/datasheet/lps22df.pdf) pressure sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/lps22/","id":"sensor.lps22","image_url":"https://esphome.io/images/lps22.webp","multi_conf":true,"name":"LPS22 Barometric Pressure Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["pressure","id"],["temperature","id"]]}}, {"category":"motion","dependencies":["i2c"],"description":"The `lsm6ds` motion platform allows you to use your LSM6DS Accelerometer/Gyroscope sensors with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/motion/lsm6ds/","id":"motion.lsm6ds","image_url":"https://esphome.io/images/imu.svg","multi_conf":true,"name":"LSM6DS Accelerometer/Gyroscope Sensor","provides":["lsm6ds"]}, {"category":"sensor","dependencies":["lsm6ds"],"description":"The `lsm6ds` sensor platform provides access to the temperature sensor in a LSM6DS Accelerometer/Gyroscope ([datasheet](https://www.st.com/resource/en/datasheet/lsm6ds3tr-c.pdf)) with ESPHome. It requires a [`motion`](https://esphome.io/components/motion) component to be configured with the `lsm6ds` platform, which handles the accelerometer and gyroscope data processing and configures the device. See that component for more information.","docs_url":"https://esphome.io/components/sensor/lsm6ds/","id":"sensor.lsm6ds","image_url":"https://esphome.io/images/imu.svg","multi_conf":true,"name":"LSM6DS Temperature Sensor"}, @@ -576,26 +576,26 @@ {"category":"switch","dependencies":["lvgl"],"description":"The `lvgl` switch platform creates a switch from an LVGL widget and requires [LVGL](https://esphome.io/components/lvgl/) to be configured.","docs_url":"https://esphome.io/components/switch/lvgl/","id":"switch.lvgl","image_url":"https://esphome.io/images/lvgl_c_swi.png","multi_conf":true,"name":"LVGL Switch"}, {"category":"text","description":"The `lvgl` text platform creates an editable text component from an LVGL textual widget and requires [LVGL](https://esphome.io/components/lvgl/) to be configured.","docs_url":"https://esphome.io/components/text/lvgl/","id":"text.lvgl","image_url":"https://esphome.io/images/lvgl_c_txt.png","multi_conf":true,"name":"LVGL Text"}, {"category":"text_sensor","description":"The `lvgl` text sensor platform creates a Text Sensor from an LVGL textual widget and requires [LVGL](https://esphome.io/components/lvgl/) to be configured.","docs_url":"https://esphome.io/components/text_sensor/lvgl/","id":"text_sensor.lvgl","image_url":"https://esphome.io/images/lvgl_c_txt.png","multi_conf":true,"name":"LVGL Text Sensor"}, -{"category":"misc","dependencies":["i2c"],"description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","id":"m5stack_4relay","multi_conf":true,"name":"M5Stack 4-Relay Switch"}, -{"category":"switch","dependencies":["m5stack_4relay"],"description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","id":"switch.m5stack_4relay","multi_conf":true,"name":"M5Stack 4-Relay Switch"}, +{"category":"misc","dependencies":["i2c"],"description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","docs_url":"https://esphome.io/components/switch/m5stack_4relay/","id":"m5stack_4relay","image_url":"https://esphome.io/images/m5stack_4relay.webp","multi_conf":true,"name":"M5Stack 4-Relay Switch"}, +{"category":"switch","dependencies":["m5stack_4relay"],"description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","docs_url":"https://esphome.io/components/switch/m5stack_4relay/","id":"switch.m5stack_4relay","image_url":"https://esphome.io/images/m5stack_4relay.webp","multi_conf":true,"name":"M5Stack 4-Relay Switch"}, {"category":"misc","dependencies":["i2c"],"description":"The `m5stack_8angle` platform allows to use the [m5angle](https://docs.m5stack.com/en/unit/UNIT%208Angle) input device with ESPHome. It has 8 knobs, a switch and can individually drive 9 RGB LEDs.","docs_url":"https://esphome.io/components/sensor/m5stack_8angle/","id":"m5stack_8angle","image_url":"https://esphome.io/images/m5stack_8angle.png","multi_conf":true,"name":"M5Stack Unit 8 Angle"}, {"category":"binary_sensor","dependencies":["i2c","m5stack_8angle"],"description":"The `m5stack_8angle` platform allows to use the [m5angle](https://docs.m5stack.com/en/unit/UNIT%208Angle) input device with ESPHome. It has 8 knobs, a switch and can individually drive 9 RGB LEDs.","docs_url":"https://esphome.io/components/sensor/m5stack_8angle/","id":"binary_sensor.m5stack_8angle","image_url":"https://esphome.io/images/m5stack_8angle.png","multi_conf":true,"name":"M5Stack Unit 8 Angle"}, {"category":"light","dependencies":["m5stack_8angle"],"description":"The 9 LEDs can be used a addressable light output.","docs_url":"https://esphome.io/components/sensor/m5stack_8angle/","id":"light.m5stack_8angle","image_url":"https://esphome.io/images/m5stack_8angle.png","multi_conf":true,"name":"M5Stack Unit 8 Angle"}, {"category":"sensor","dependencies":["m5stack_8angle"],"description":"The `m5stack_8angle` platform allows to use the [m5angle](https://docs.m5stack.com/en/unit/UNIT%208Angle) input device with ESPHome. It has 8 knobs, a switch and can individually drive 9 RGB LEDs.","docs_url":"https://esphome.io/components/sensor/m5stack_8angle/","id":"sensor.m5stack_8angle","image_url":"https://esphome.io/images/m5stack_8angle.png","multi_conf":true,"name":"M5Stack Unit 8 Angle"}, -{"category":"misc","dependencies":["i2c"],"description":"The `m5stack_unit_bldc` component drives an [M5Stack M5Unit-BLDC](https://docs.m5stack.com/en/unit/Unit-BLDC) brushless DC motor driver over [I²C](https://esphome.io/components/i2c/). The unit has its own microcontroller that runs the motor, so ESPHome uses its [I²C register protocol](https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/772/Unit_BLDC_I2C_Protocol.pdf) to set the control mode, direction and motor details, to send a PWM duty cycle or a target RPM, and to read back the measured RPM, frequency and motor status. The [I²C Bus](https://esphome.io/components/i2c/) must be set up first.","id":"m5stack_unit_bldc","multi_conf":true,"name":"M5Unit-BLDC"}, -{"category":"number","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` number platform controls the motor speed. Use `pwm` when the hub's `mode` is `open_loop` and `target_rpm` when it is `closed_loop`; the other one is rejected when the configuration is validated.","id":"number.m5stack_unit_bldc","multi_conf":true,"name":"M5Unit-BLDC","provides":["number"],"provides_id_paths":{"number":[["pwm","id"],["target_rpm","id"]]}}, -{"category":"select","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` select platform sets the motor's rotation direction.","id":"select.m5stack_unit_bldc","multi_conf":true,"name":"M5Unit-BLDC","provides":["select"],"provides_id_paths":{"select":[["direction","id"]]}}, -{"category":"sensor","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` sensor platform reports the motor's measured RPM and pulse frequency.","id":"sensor.m5stack_unit_bldc","multi_conf":true,"name":"M5Unit-BLDC","provides":["sensor"],"provides_id_paths":{"sensor":[["frequency","id"],["rpm","id"]]}}, -{"category":"text_sensor","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` text sensor platform reports the motor status.","id":"text_sensor.m5stack_unit_bldc","multi_conf":true,"name":"M5Unit-BLDC","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["status","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"The `m5stack_unit_bldc` component drives an [M5Stack M5Unit-BLDC](https://docs.m5stack.com/en/unit/Unit-BLDC) brushless DC motor driver over [I²C](https://esphome.io/components/i2c/). The unit has its own microcontroller that runs the motor, so ESPHome uses its [I²C register protocol](https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/772/Unit_BLDC_I2C_Protocol.pdf) to set the control mode, direction and motor details, to send a PWM duty cycle or a target RPM, and to read back the measured RPM, frequency and motor status. The [I²C Bus](https://esphome.io/components/i2c/) must be set up first.","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","id":"m5stack_unit_bldc","image_url":"https://esphome.io/images/motor.png","multi_conf":true,"name":"M5Unit-BLDC"}, +{"category":"number","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` number platform controls the motor speed. Use `pwm` when the hub's `mode` is `open_loop` and `target_rpm` when it is `closed_loop`; the other one is rejected when the configuration is validated.","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","id":"number.m5stack_unit_bldc","image_url":"https://esphome.io/images/motor.png","multi_conf":true,"name":"M5Unit-BLDC","provides":["number"],"provides_id_paths":{"number":[["pwm","id"],["target_rpm","id"]]}}, +{"category":"select","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` select platform sets the motor's rotation direction.","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","id":"select.m5stack_unit_bldc","image_url":"https://esphome.io/images/motor.png","multi_conf":true,"name":"M5Unit-BLDC","provides":["select"],"provides_id_paths":{"select":[["direction","id"]]}}, +{"category":"sensor","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` sensor platform reports the motor's measured RPM and pulse frequency.","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","id":"sensor.m5stack_unit_bldc","image_url":"https://esphome.io/images/motor.png","multi_conf":true,"name":"M5Unit-BLDC","provides":["sensor"],"provides_id_paths":{"sensor":[["frequency","id"],["rpm","id"]]}}, +{"category":"text_sensor","dependencies":["m5stack_unit_bldc"],"description":"The `m5stack_unit_bldc` text sensor platform reports the motor status.","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","id":"text_sensor.m5stack_unit_bldc","image_url":"https://esphome.io/images/motor.png","multi_conf":true,"name":"M5Unit-BLDC","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["status","id"]]}}, {"category":"misc","description":"The `mapping` component allows you to create a map or dictionary that allows a one-to-one translation from keys to values. This enables e.g. mapping a string to a number or vice versa, or mapping a string such as a weather condition to an image.","docs_url":"https://esphome.io/components/mapping/","id":"mapping","image_url":"https://esphome.io/images/mapping.svg","multi_conf":true,"name":"Mapping Component"}, {"category":"misc","description":"The `matrix_keypad` component allows you to integrate pads which have the keys connected at the intersection points of the rows and columns of a matrix.","docs_url":"https://esphome.io/components/matrix_keypad/","id":"matrix_keypad","image_url":"https://esphome.io/images/matrix_keypad.jpg","multi_conf":true,"name":"Matrix keypad","provides":["key_provider"]}, {"category":"binary_sensor","dependencies":["matrix_keypad"],"description":"Individual keys can be added independently to ESPHome as `binary_sensor` :","docs_url":"https://esphome.io/components/matrix_keypad/","id":"binary_sensor.matrix_keypad","image_url":"https://esphome.io/images/matrix_keypad.jpg","multi_conf":true,"name":"Matrix keypad"}, {"category":"sensor","dependencies":["i2c"],"description":"The MAX17043 platform allows you to use a MAX17043 to more accurately monitor the remaining capacity of a LIPO battery ([datasheet](https://www.analog.com/en/products/max17043.html#documentation), [DFRobot](https://www.dfrobot.com/product-1734.html)) in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c) for communication (the address is fixed at 0x36).","docs_url":"https://esphome.io/components/sensor/max17043/","id":"sensor.max17043","image_url":"https://esphome.io/images/max17043.jpg","multi_conf":true,"name":"Analog Devices MAX17043 battery fuel gauge","provides":["max17043","sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"]]}}, -{"category":"sensor","dependencies":["i2c"],"description":"The `max17048` platform allows you to monitor the remaining capacity of a lithium-ion battery with an Analog Devices MAX17048 or MAX17049 fuel gauge ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/MAX17048-MAX17049.pdf)) in ESPHome. The ModelGauge algorithm in the chip tracks the state of charge over a wide range of charge and discharge profiles without a sense resistor or relearn cycles. The MAX17048 monitors one cell and the MAX17049 two cells in series; the two chips are otherwise the same. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","id":"sensor.max17048","multi_conf":true,"name":"Analog Devices MAX17048 battery fuel gauge","provides":["max17048","sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"],["rate","id"]]}}, +{"category":"sensor","dependencies":["i2c"],"description":"The `max17048` platform allows you to monitor the remaining capacity of a lithium-ion battery with an Analog Devices MAX17048 or MAX17049 fuel gauge ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/MAX17048-MAX17049.pdf)) in ESPHome. The ModelGauge algorithm in the chip tracks the state of charge over a wide range of charge and discharge profiles without a sense resistor or relearn cycles. The MAX17048 monitors one cell and the MAX17049 two cells in series; the two chips are otherwise the same. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","docs_url":"https://esphome.io/components/sensor/max17048/","id":"sensor.max17048","image_url":"https://esphome.io/images/max17048.webp","multi_conf":true,"name":"Analog Devices MAX17048 battery fuel gauge","provides":["max17048","sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"],["rate","id"]]}}, {"category":"sensor","dependencies":["spi"],"description":"The `max31855` temperature sensor allows you to use your MAX31855 thermocouple temperature sensor ([datasheet](https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf)) with ESPHome","docs_url":"https://esphome.io/components/sensor/max31855/","id":"sensor.max31855","image_url":"https://esphome.io/images/max31855.jpg","multi_conf":true,"name":"MAX31855 K-Type Thermocouple Temperature Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["id"],["reference_temperature","id"]]}}, {"category":"sensor","dependencies":["spi"],"description":"The `MAX31856` temperature sensor allows you to use your MAX31856 Thermocouple temperature sensor ([datasheet](https://datasheets.maximintegrated.com/en/ds/MAX31856.pdf)) with ESPHome.","docs_url":"https://esphome.io/components/sensor/max31856/","id":"sensor.max31856","image_url":"https://esphome.io/images/max31856.jpg","multi_conf":true,"name":"MAX31856 Thermocouple Temperature Sensor"}, {"category":"sensor","dependencies":["spi"],"description":"The `max31865` temperature sensor allows you to use your max31865 RTD temperature sensor ([datasheet](https://datasheets.maximintegrated.com/en/ds/MAX31865.pdf)) with ESPHome","docs_url":"https://esphome.io/components/sensor/max31865/","id":"sensor.max31865","image_url":"https://esphome.io/images/max31865.jpg","multi_conf":true,"name":"MAX31865 Platinum RTD Temperature Sensor"}, -{"category":"sensor","dependencies":["one_wire"],"description":"The `max31888` sensor platform allows you to use the Analog Devices MAX31888 ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/max31888.pdf)) 1-Wire temperature sensor with ESPHome. A [1-Wire bus](https://esphome.io/components/one_wire/) is required to be set up in your configuration for this sensor to work.","id":"sensor.max31888","multi_conf":true,"name":"MAX31888 Temperature Sensor"}, +{"category":"sensor","dependencies":["one_wire"],"description":"The `max31888` sensor platform allows you to use the Analog Devices MAX31888 ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/max31888.pdf)) 1-Wire temperature sensor with ESPHome. A [1-Wire bus](https://esphome.io/components/one_wire/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/max31888/","id":"sensor.max31888","image_url":"https://esphome.io/images/badges/max31888.svg","multi_conf":true,"name":"MAX31888 Temperature Sensor"}, {"category":"sensor","dependencies":["i2c"],"description":"The `max44009` sensor platform allows you to use your MAX44009 ([datasheet](https://datasheets.maximintegrated.com/en/ds/MAX44009.pdf)) ambient light sensor with ESPHome. This sensor features an ultra-wide 22-bit dynamic range from 0.045 lux to 188,000 lux. The [I²C bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/max44009/","id":"sensor.max44009","image_url":"https://esphome.io/images/badges/max44009.svg","multi_conf":true,"name":"MAX44009 Ambient Light Sensor"}, {"category":"sensor","dependencies":["spi"],"description":"The `max6675` temperature sensor allows you to use your MAX6675 thermocouple temperature sensor ([datasheet](https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf), [SainSmart](https://www.sainsmart.com/products/max6675-module-k-type-thermocouple-thermocouple-sensor-temperature-0-1024-for-arduino)) with ESPHome","docs_url":"https://esphome.io/components/sensor/max6675/","id":"sensor.max6675","image_url":"https://esphome.io/images/max6675.jpg","multi_conf":true,"name":"MAX6675 K-Type Thermocouple Temperature Sensor"}, {"category":"misc","dependencies":["i2c"],"description":"The MAX6956 component allows you to use MAX6956 I/O expanders ([datasheet](https://datasheets.maximintegrated.com/en/ds/MAX6956.pdf)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c) for communication.","docs_url":"https://esphome.io/components/max6956/","id":"max6956","image_url":"https://esphome.io/images/max6956.jpg","multi_conf":true,"name":"MAX6956 I/O Expander"}, @@ -632,10 +632,10 @@ {"category":"switch","dependencies":["uart","micronova"],"description":"The MicroNova component allows you to integrate a pellet stove with a MicroNova board in ESPHome. It uses [UART](https://esphome.io/components/uart) for communication.","docs_url":"https://esphome.io/components/micronova/","id":"switch.micronova","image_url":"https://esphome.io/images/badges/micronova.svg","multi_conf":true,"name":"MicroNova based pellet stove","provides":["switch"],"provides_id_paths":{"switch":[["stove","id"]]}}, {"category":"text_sensor","dependencies":["uart","micronova"],"description":"The MicroNova component allows you to integrate a pellet stove with a MicroNova board in ESPHome. It uses [UART](https://esphome.io/components/uart) for communication.","docs_url":"https://esphome.io/components/micronova/","id":"text_sensor.micronova","image_url":"https://esphome.io/images/badges/micronova.svg","multi_conf":true,"name":"MicroNova based pellet stove","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["stove_state","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"This component exposes the different gas concentration sensors from the [MiCS-4514](https://www.dfrobot.com/product-2417.html). This is a different sensor than the MICS-4514 being sold on AliExpress.","docs_url":"https://esphome.io/components/sensor/mics_4514/","id":"sensor.mics_4514","image_url":"https://esphome.io/images/mics_4514.jpg","multi_conf":true,"name":"MiCS 4514 Gas Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["ammonia","id"],["carbon_monoxide","id"],["ethanol","id"],["hydrogen","id"],["methane","id"],["nitrogen_dioxide","id"]]}}, -{"category":"sensor","description":"The `mics_5524` sensor platform allows you to use the **MiCS-5524** MEMS multi-gas sensor - the small 5 V analog modules with `VCC` / `GND` / `A0` / `EN` pads, and the DFRobot \"Fermion\" breakout they are cloned from - with ESPHome. One entry configures one physical sensor: it reads the analog output once per `update_interval` and publishes every gas listed under it as its own sub-sensor.","id":"sensor.mics_5524","multi_conf":true,"name":"MiCS-5524 Gas Sensor","provides":["mics_5524","sensor"],"provides_id_paths":{"sensor":[["ammonia","id"],["carbon_monoxide","id"],["ethanol","id"],["hydrogen","id"],["methane","id"],["ratio_sensor","id"],["rs_sensor","id"],["voltage_sensor","id"]]}}, +{"category":"sensor","description":"The `mics_5524` sensor platform allows you to use the **MiCS-5524** MEMS multi-gas sensor - the small 5 V analog modules with `VCC` / `GND` / `A0` / `EN` pads, and the DFRobot \"Fermion\" breakout they are cloned from - with ESPHome. One entry configures one physical sensor: it reads the analog output once per `update_interval` and publishes every gas listed under it as its own sub-sensor.","docs_url":"https://esphome.io/components/sensor/mics_5524/","id":"sensor.mics_5524","image_url":"https://esphome.io/images/mics_5524.jpg","multi_conf":true,"name":"MiCS-5524 Gas Sensor","provides":["mics_5524","sensor"],"provides_id_paths":{"sensor":[["ammonia","id"],["carbon_monoxide","id"],["ethanol","id"],["hydrogen","id"],["methane","id"],["ratio_sensor","id"],["rs_sensor","id"],["voltage_sensor","id"]]}}, {"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true,"require_tx":true}},"category":"climate","dependencies":["climate","uart"],"description":"The `midea` component creates a Midea air conditioner climate device.","docs_url":"https://esphome.io/components/climate/midea/","id":"climate.midea","image_url":"https://esphome.io/images/midea.svg","multi_conf":true,"name":"Midea Air Conditioner","provides":["midea","sensor"],"provides_id_paths":{"sensor":[["humidity_setpoint","id"],["outdoor_temperature","id"],["power_usage","id"]]}}, {"category":"climate","dependencies":["remote_transmitter"],"description":"These air conditioners support two protocols: Midea and Coolix. Therefore, when using an IR receiver, it considers both protocols and publishes the received states.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.midea_ir","multi_conf":true,"name":"IR Remote Climate"}, -{"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true,"require_tx":true}},"category":"climate","dependencies":["uart"],"description":"The `midea_portasplit` climate platform controls a Midea PortaSplit air conditioner over the UART connection normally used by its Wi-Fi module.","id":"climate.midea_portasplit","multi_conf":true,"name":"Midea PortaSplit"}, +{"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true,"require_tx":true}},"category":"climate","dependencies":["uart"],"description":"The `midea_portasplit` climate platform controls a Midea PortaSplit air conditioner over the UART connection normally used by its Wi-Fi module.","docs_url":"https://esphome.io/components/climate/midea_portasplit/","id":"climate.midea_portasplit","image_url":"https://esphome.io/images/midea.svg","multi_conf":true,"name":"Midea PortaSplit"}, {"category":"display","dependencies":["esp32","esp_ldo","psram"],"description":"This driver is for displays that use the MIPI DSI display interface available in the ESP32-P4.","docs_url":"https://esphome.io/components/display/mipi_dsi/","id":"display.mipi_dsi","image_url":"https://esphome.io/images/tab5.jpg","multi_conf":true,"name":"MIPI DSI Display Driver","supported_platforms":["esp32"]}, {"category":"display","dependencies":["esp32"],"description":"This display driver supports displays with 16 bit parallel interfaces, often referred to as \"RGB\". Two classes of display fall under this category, the first are those that only have the RGB interface and require no special configuration of the driver chip. The second are those that have both the RGB interface and an SPI interface which is used to configure the driver chip.","docs_url":"https://esphome.io/components/display/mipi_rgb/","id":"display.mipi_rgb","image_url":"https://esphome.io/images/t4-s3.jpg","multi_conf":true,"name":"MIPI RGB Display Driver","supported_platforms":["esp32"]}, {"category":"display","dependencies":["spi"],"description":"This driver is for displays that use the MIPI DBI interface, implemented over SPI. This is a common interface for many displays, and is used in many ESP32 based display boards. The driver is designed to be flexible and support a wide range of displays, and can drive displays via SPI, Quad SPI and 8 bit parallel interfaces.","docs_url":"https://esphome.io/components/display/mipi_spi/","id":"display.mipi_spi","image_url":"https://esphome.io/images/t4-s3.jpg","multi_conf":true,"name":"MIPI SPI Display Driver","provides":["mipi_spi"]}, @@ -664,11 +664,11 @@ {"category":"sensor","dependencies":["modbus_controller"],"description":"The `modbus_controller` sensor platform creates a sensor from a modbus_controller component and requires [Modbus Controller](https://esphome.io/components/modbus_controller/) to be configured.","docs_url":"https://esphome.io/components/sensor/modbus_controller/","id":"sensor.modbus_controller","image_url":"https://esphome.io/images/modbus.png","multi_conf":true,"name":"Modbus Controller Sensor"}, {"category":"switch","dependencies":["modbus_controller"],"description":"The `modbus_controller` switch platform creates a switch from a modbus_controller component and requires [Modbus Controller](https://esphome.io/components/modbus_controller/) to be configured.","docs_url":"https://esphome.io/components/switch/modbus_controller/","id":"switch.modbus_controller","image_url":"https://esphome.io/images/modbus.png","multi_conf":true,"name":"Modbus Controller Switch"}, {"category":"text_sensor","dependencies":["modbus_controller"],"description":"The `modbus_controller` sensor platform creates a text sensor from a modbus_controller component and requires [Modbus Controller](https://esphome.io/components/modbus_controller/) to be configured.","docs_url":"https://esphome.io/components/text_sensor/modbus_controller/","id":"text_sensor.modbus_controller","image_url":"https://esphome.io/images/modbus.png","multi_conf":true,"name":"Modbus Controller Text Sensor"}, -{"category":"misc","dependencies":["modbus"],"description":"The `modbus_monitor` component runs automations for the requests and responses that a [Modbus](https://esphome.io/components/modbus/) hub handles. On a hub with the `server` role, that is each request the hub receives and the reply to it, sent by this hub or another device. On a hub with the `client` role, that is each request the hub sends and the reply to it.","id":"modbus_monitor","multi_conf":true,"name":"Modbus Monitor"}, +{"category":"misc","dependencies":["modbus"],"description":"The `modbus_monitor` component runs automations for the requests and responses that a [Modbus](https://esphome.io/components/modbus/) hub handles. On a hub with the `server` role, that is each request the hub receives and the reply to it, sent by this hub or another device. On a hub with the `client` role, that is each request the hub sends and the reply to it.","docs_url":"https://esphome.io/components/modbus_monitor/","id":"modbus_monitor","image_url":"https://esphome.io/images/modbus.png","multi_conf":true,"name":"Modbus Monitor"}, {"bus_constraints":{"modbus":{"role":"server"}},"category":"misc","dependencies":["modbus","uart"],"description":"The `modbus_server` component creates an RS485 connection to let your ESPHome node act as a Modbus server, allowing a Modbus client to read data (like sensor values) from your ESPHome node.","docs_url":"https://esphome.io/components/modbus_server/","id":"modbus_server","image_url":"https://esphome.io/images/modbus.png","multi_conf":true,"name":"Modbus Server"}, -{"category":"misc","dependencies":["esp32"],"description":"The `modem` component connects an ESP32 to the internet through a cellular modem attached to a UART. The modem carries the traffic over PPP, so the [API](https://esphome.io/components/api/), [MQTT](https://esphome.io/components/mqtt/) and OTA updates work as they do over Wi-Fi or Ethernet.","id":"modem","name":"Modem Component","supported_platforms":["esp32"]}, -{"category":"sensor","dependencies":["modem"],"description":"The `modem` sensor platform reports the signal quality of the [Modem](https://esphome.io/components/modem/), as read with the `AT+CSQ` command.","id":"sensor.modem","multi_conf":true,"name":"Modem Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["ber","id"],["rssi","id"]]},"supported_platforms":["esp32"]}, -{"category":"text_sensor","dependencies":["modem"],"description":"The `modem` text sensor platform reports the network type of the [Modem](https://esphome.io/components/modem/) and the unsolicited result codes (URC) it sends on its own, such as network registration changes.","id":"text_sensor.modem","multi_conf":true,"name":"Modem Text Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["network_type","id"],["urc","id"]]},"supported_platforms":["esp32"]}, +{"category":"misc","dependencies":["esp32"],"description":"The `modem` component connects an ESP32 to the internet through a cellular modem attached to a UART. The modem carries the traffic over PPP, so the [API](https://esphome.io/components/api/), [MQTT](https://esphome.io/components/mqtt/) and OTA updates work as they do over Wi-Fi or Ethernet.","docs_url":"https://esphome.io/components/modem/","id":"modem","image_url":"https://esphome.io/images/modem.svg","name":"Modem Component","supported_platforms":["esp32"]}, +{"category":"sensor","dependencies":["modem"],"description":"The `modem` sensor platform reports the signal quality of the [Modem](https://esphome.io/components/modem/), as read with the `AT+CSQ` command.","docs_url":"https://esphome.io/components/sensor/modem/","id":"sensor.modem","image_url":"https://esphome.io/images/modem.svg","multi_conf":true,"name":"Modem Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["ber","id"],["rssi","id"]]},"supported_platforms":["esp32"]}, +{"category":"text_sensor","dependencies":["modem"],"description":"The `modem` text sensor platform reports the network type of the [Modem](https://esphome.io/components/modem/) and the unsolicited result codes (URC) it sends on its own, such as network registration changes.","docs_url":"https://esphome.io/components/text_sensor/modem/","id":"text_sensor.modem","image_url":"https://esphome.io/images/modem.svg","multi_conf":true,"name":"Modem Text Sensor","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["network_type","id"],["urc","id"]]},"supported_platforms":["esp32"]}, {"category":"light","description":"The `monochromatic` light platform creates a simple brightness-only light from a [float output component](https://esphome.io/components/output/).","docs_url":"https://esphome.io/components/light/monochromatic/","id":"light.monochromatic","id_classes":["light::LightOutput","light::LightState","monochromatic::MonochromaticLightOutput"],"image_url":"https://esphome.io/images/brightness-medium.svg","multi_conf":true,"name":"Monochromatic Light"}, {"category":"misc","description":"","id":"mopeka_ble","name":"Mopeka BLE"}, {"category":"sensor","description":"The `mopeka_pro_check` sensor platform lets you track the output of Mopeka Pro Check LP, Mopeka Pro Plus, Mopeka Pro Universal or Lippert Propane Tank Sensors, Bluetooth Low Energy devices using the [Esp32 Ble Tracker](https://esphome.io/components/esp32_ble_tracker/). This component will track the tank level, distance, temperature, battery percentage, and sensor reading quality of a device every time the sensor sends out a BLE broadcast. There are additional configuration options to control handling of poor quality readings and reporting reading quality issues.","docs_url":"https://esphome.io/components/sensor/mopeka_pro_check/","id":"sensor.mopeka_pro_check","image_url":"https://esphome.io/images/mopeka_pro_check.jpg","multi_conf":true,"name":"Mopeka Pro Check BLE Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["battery_level","id"],["distance","id"],["ignored_reads","id"],["level","id"],["signal_quality","id"],["temperature","id"]]}}, @@ -690,11 +690,11 @@ {"category":"binary_sensor","dependencies":["msa3xx"],"description":"Three binary sensors available for use. Internal 500 ms debounce is applied for all sensors. For every sensor **name** is required. All other options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor). Shorthand notation also can be used.","docs_url":"https://esphome.io/components/sensor/msa3xx/","id":"binary_sensor.msa3xx","image_url":"https://esphome.io/images/msa301.jpg","multi_conf":true,"name":"MSA301 and MSA311 Sensors","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["active","id"],["double_tap","id"],["tap","id"]]}}, {"category":"sensor","dependencies":["msa3xx"],"description":"Acceleration data is available through sensors configuration. You can use shorthand notation like `acceleration_x: \"Acceleration X\"` or use regular notation. For regular notation only the **name** is required. All options from [Sensor](https://esphome.io/components/sensor).","docs_url":"https://esphome.io/components/sensor/msa3xx/","id":"sensor.msa3xx","image_url":"https://esphome.io/images/msa301.jpg","multi_conf":true,"name":"MSA301 and MSA311 Sensors","provides":["sensor"],"provides_id_paths":{"sensor":[["acceleration_x","id"],["acceleration_y","id"],["acceleration_z","id"]]}}, {"category":"text_sensor","dependencies":["msa3xx"],"description":"Text sensor provides orientation information. You can use shorthand notation like `orientation_xy: \"Orientation XY\"` or use regular notation.","docs_url":"https://esphome.io/components/sensor/msa3xx/","id":"text_sensor.msa3xx","image_url":"https://esphome.io/images/msa301.jpg","multi_conf":true,"name":"MSA301 and MSA311 Sensors","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["orientation_xy","id"],["orientation_z","id"]]}}, -{"category":"sensor","dependencies":["mt6701"],"description":"The `mt6701` sensor publishes the absolute angle (and, optionally, the raw count) from your MT6701. Set up an [I²C](https://esphome.io/components/sensor/mt6701/#i2c-hub) or [SSI/SPI](https://esphome.io/components/sensor/mt6701/#ssispi-hub) hub first, then add this platform.","id":"sensor.mt6701","multi_conf":true,"name":"MT6701 14-Bit Magnetic Angle Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["id"],["raw_count","id"]]}}, -{"category":"misc","dependencies":["i2c"],"description":"","id":"mt6701_i2c","multi_conf":true,"name":"Mt6701 I²C","provides":["mt6701"]}, -{"bus_constraints":{"spi":{"require_miso":true}},"category":"misc","dependencies":["spi"],"description":"","id":"mt6701_spi","multi_conf":true,"name":"Mt6701 SPI","provides":["mt6701"]}, -{"category":"binary_sensor","dependencies":["mt6701_spi"],"description":"The `mt6701_spi` binary sensors expose the status flags carried in the SSI frame. They are only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","id":"binary_sensor.mt6701_spi","multi_conf":true,"name":"MT6701 14-Bit Magnetic Angle Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["push_button","id"],["track_loss","id"]]}}, -{"category":"text_sensor","dependencies":["mt6701_spi"],"description":"The `mt6701_spi` text sensor exposes the magnetic-field status. It is only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","id":"text_sensor.mt6701_spi","multi_conf":true,"name":"MT6701 14-Bit Magnetic Angle Sensor"}, +{"category":"sensor","dependencies":["mt6701"],"description":"The `mt6701` sensor publishes the absolute angle (and, optionally, the raw count) from your MT6701. Set up an [I²C](https://esphome.io/components/sensor/mt6701/#i2c-hub) or [SSI/SPI](https://esphome.io/components/sensor/mt6701/#ssispi-hub) hub first, then add this platform.","docs_url":"https://esphome.io/components/sensor/mt6701/","id":"sensor.mt6701","image_url":"https://esphome.io/images/mt6701.jpg","multi_conf":true,"name":"MT6701 14-Bit Magnetic Angle Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["id"],["raw_count","id"]]}}, +{"category":"misc","dependencies":["i2c"],"description":"","docs_url":"https://esphome.io/components/sensor/mt6701#i2c-hub","id":"mt6701_i2c","multi_conf":true,"name":"Mt6701 I²C","provides":["mt6701"]}, +{"bus_constraints":{"spi":{"require_miso":true}},"category":"misc","dependencies":["spi"],"description":"","docs_url":"https://esphome.io/components/sensor/mt6701#ssispi-hub","id":"mt6701_spi","multi_conf":true,"name":"Mt6701 SPI","provides":["mt6701"]}, +{"category":"binary_sensor","dependencies":["mt6701_spi"],"description":"The `mt6701_spi` binary sensors expose the status flags carried in the SSI frame. They are only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","docs_url":"https://esphome.io/components/sensor/mt6701/","id":"binary_sensor.mt6701_spi","multi_conf":true,"name":"MT6701 14-Bit Magnetic Angle Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["push_button","id"],["track_loss","id"]]}}, +{"category":"text_sensor","dependencies":["mt6701_spi"],"description":"The `mt6701_spi` text sensor exposes the magnetic-field status. It is only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","docs_url":"https://esphome.io/components/sensor/mt6701/","id":"text_sensor.mt6701_spi","multi_conf":true,"name":"MT6701 14-Bit Magnetic Angle Sensor"}, {"category":"misc","description":"The MY9231/MY9291 component represents a MY9231/MY9291 LED driver chain ([MY9231 description](http://www.my-semi.com.tw/file/MY9231_BF_0.91.pdf), [MY9291 description](http://www.my-semi.com.tw/file/MY9291_BF_0.91.pdf)) in ESPHome. Communication is done with two GPIO pins (DI and DCKI) and multiple driver chips can be chained. There are two models with different number of output channels (MY9291 with 4 channels and MY9231 with 3 channels). They are popular driver chips used in smart light bulbs:","docs_url":"https://esphome.io/components/output/my9231/","id":"my9231","image_url":"https://esphome.io/images/badges/my9231.svg","multi_conf":true,"name":"MY9231/MY9291 LED driver"}, {"category":"output","dependencies":["my9231"],"description":"The MY931/MY9291 output component exposes a MY931/MY9291 channel of a global [Component/Hub](https://esphome.io/components/output/my9231/#my9231-component) as a float output.","docs_url":"https://esphome.io/components/output/my9231/","id":"output.my9231","image_url":"https://esphome.io/images/badges/my9231.svg","multi_conf":true,"name":"MY9231/MY9291 LED driver"}, {"category":"sensor","dependencies":["i2c"],"description":"The `nau7802` sensor platform allows you to use your NAU7802 ADC ([datasheet](https://www.nuvoton.com/resource-files/NAU7802%20Data%20Sheet%20V1.7.pdf), [Adafruit](https://www.adafruit.com/product/4538)) with ESPHome. This ADC is typically used with strain gauges to act as a weight sensor.","docs_url":"https://esphome.io/components/sensor/nau7802/","id":"sensor.nau7802","image_url":"https://esphome.io/images/nau7802.jpg","multi_conf":true,"name":"NAU7802 24-bit ADC","provides":["nau7802"]}, @@ -710,7 +710,7 @@ {"category":"misc","description":"","docs_url":"https://esphome.io/components/ota/esphome","id":"noise","name":"Noise"}, {"category":"sensor","dependencies":["i2c"],"description":"The `npi19` sensor platform allows you to use your NPI-19 ([datasheet](https://www.amphenol-sensors.com/hubfs/AAS-920-699F-NovaSensor-NPI-19-I2C-061322-web.pdf), [product page](https://www.amphenol-sensors.com/en/novasensor/pressure-sensors/3358-npi-19-i2c)) pressure sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/npi19/","id":"sensor.npi19","image_url":"https://esphome.io/images/npi19.jpg","multi_conf":true,"name":"NPI-19 Pressure Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["raw_pressure","id"],["temperature","id"]]}}, {"category":"core","description":"This component contains platform-specific options for the NRF52 platform.","docs_url":"https://esphome.io/components/nrf52/","id":"nrf52","image_url":"https://esphome.io/images/badges/nrf52.svg","name":"NRF52 Platform","supported_platforms":["nrf52"]}, -{"category":"touchscreen","dependencies":["i2c"],"description":"The `ns2009` touchscreen platform allows using the touch screen controllers based on the NS2009 chip with ESPHome. The [I²C bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this touchscreen to work.","id":"touchscreen.ns2009","multi_conf":true,"name":"NS2009 Touch Screen Controller"}, +{"category":"touchscreen","dependencies":["i2c"],"description":"The `ns2009` touchscreen platform allows using the touch screen controllers based on the NS2009 chip with ESPHome. The [I²C bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this touchscreen to work.","docs_url":"https://esphome.io/components/touchscreen/ns2009/","id":"touchscreen.ns2009","image_url":"https://esphome.io/images/mod-lcd2.8rtp.jpg","multi_conf":true,"name":"NS2009 Touch Screen Controller"}, {"category":"sensor","description":"The `ntc` platform is a helper sensor that allows you to convert resistance readings from a NTC thermistor to temperature readings.","docs_url":"https://esphome.io/components/sensor/ntc/","id":"sensor.ntc","image_url":"https://esphome.io/images/ntc.jpg","multi_conf":true,"name":"NTC Sensor"}, {"category":"sensor","dependencies":["number"],"description":"The Number Sensor platform allows you to view the state of any number component as a read-only sensor.","docs_url":"https://esphome.io/components/sensor/number/","id":"sensor.number","image_url":"https://esphome.io/images/description.svg","multi_conf":true,"name":"Number Sensor"}, {"category":"misc","dependencies":["display","http_request"],"description":"The `online_image` platform of the [image](https://esphome.io/components/image/) component allows you to define images that will be downloaded, decoded and drawn at runtime.","docs_url":"https://esphome.io/components/image/online_image/","id":"online_image","image_url":"https://esphome.io/images/image-sync-outline.svg","multi_conf":true,"name":"Online Image Component","provides":["image"]}, @@ -733,10 +733,10 @@ {"category":"binary_sensor","dependencies":["packet_transport"],"description":"The `packet_transport` binary sensor platform allows you to receive binary sensor data directly from another ESPHome node. It requires a `packet_transport` component to be configured.","docs_url":"https://esphome.io/components/binary_sensor/packet_transport/","id":"binary_sensor.packet_transport","image_url":"https://esphome.io/images/packet_transport.svg","multi_conf":true,"name":"Packet Transport Binary Sensor"}, {"category":"sensor","dependencies":["packet_transport"],"description":"The `packet_transport` sensor platform allows you to receive numeric sensor data directly from another ESPHome node. It requires a `packet_transport` component to be configured.","docs_url":"https://esphome.io/components/sensor/packet_transport/","id":"sensor.packet_transport","image_url":"https://esphome.io/images/packet_transport.svg","multi_conf":true,"name":"Packet Transport Sensor"}, {"category":"climate","dependencies":["remote_transmitter"],"description":"The `panasonic_ir` platform controls Panasonic air conditioners that use the 216 bit Panasonic IR protocol, called `PANASONIC_AC` by [IRremoteESP8266](https://github.com/crankyoldgit/IRremoteESP8266). The remote sends the whole state with every key press. The bytes the unit expects differ a little between model families, so set `model` to the one that matches your unit or remote.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.panasonic_ir","multi_conf":true,"name":"IR Remote Climate","provides":["panasonic_ir"]}, -{"category":"select","dependencies":["climate.panasonic_ir","panasonic_ir"],"description":"","id":"select.panasonic_ir","multi_conf":true,"name":"Panasonic Ir","provides":["select"],"provides_id_paths":{"select":[["vane_position","id"]]}}, +{"category":"select","dependencies":["climate.panasonic_ir","panasonic_ir"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir#panasonic_ir","id":"select.panasonic_ir","multi_conf":true,"name":"Panasonic Ir","provides":["select"],"provides_id_paths":{"select":[["vane_position","id"]]}}, {"category":"light","description":"The `partition` light platform allows you to combine multiple addressable light segments (like [Fastled](https://esphome.io/components/light/fastled/) or [Neopixelbus](https://esphome.io/components/light/neopixelbus/)) and/or individual lights (like [Rgb](https://esphome.io/components/light/rgb/)) into a single addressable light. This platform also allows splitting up an addressable light into multiple segments, so that segments can be individually controlled.","docs_url":"https://esphome.io/components/light/partition/","id":"light.partition","image_url":"https://esphome.io/images/color_lens.svg","multi_conf":true,"name":"Light Partition","provides":["light"],"provides_id_paths":{"light":[["id"],["segments","light_id"]]}}, {"category":"misc","dependencies":["i2c"],"description":"The PCA6416A component allows you to use **PCA6416A** or **PCAL6416A** I/O expanders in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c) for communication.","docs_url":"https://esphome.io/components/pca6416a/","id":"pca6416a","image_url":"https://esphome.io/images/badges/pca6416a.svg","multi_conf":true,"name":"PCA6416A I/O Expander"}, -{"category":"misc","dependencies":["i2c"],"description":"The PCA9505 component lets you use the NXP **PCA9505** and **PCA9506** I/O expanders in ESPHome using the [I²C Bus](https://esphome.io/components/i2c/) for communication. Both chips provide **40** I/O pins and share the same command interface, so either can be used with this component.","id":"pca9505","multi_conf":true,"name":"PCA9505 I/O Expander"}, +{"category":"misc","dependencies":["i2c"],"description":"The PCA9505 component lets you use the NXP **PCA9505** and **PCA9506** I/O expanders in ESPHome using the [I²C Bus](https://esphome.io/components/i2c/) for communication. Both chips provide **40** I/O pins and share the same command interface, so either can be used with this component.","docs_url":"https://esphome.io/components/pca9505/","id":"pca9505","image_url":"https://esphome.io/images/badges/pca9505.svg","multi_conf":true,"name":"PCA9505 I/O Expander"}, {"category":"misc","dependencies":["i2c"],"description":"The PCA9554 component allows you to use a variety of I/O expanders in ESPHome that use the [I²C Bus](https://esphome.io/components/i2c/) for communication. Once configured, you can use any of the IO pins (up to 16) with your projects. Within ESPHome they emulate a real internal GPIO pin and can therefore be used with many of ESPHome's components such as the GPIO binary sensor or GPIO switch. Any option accepting a [Pin Schema](https://esphome.io/guides/configuration-types/#pin-schema) can theoretically be used, but some more complicated components that do communication through this I/O expander will not work.","docs_url":"https://esphome.io/components/pca9554/","id":"pca9554","image_url":"https://esphome.io/images/pca9554a.jpg","multi_conf":true,"name":"PCA9554 I/O Expander"}, {"category":"misc","dependencies":["i2c"],"description":"The PCA9685 component represents a PCA9685 12-bit PWM driver ([datasheet](https://www.nxp.com/docs/en/data-sheet/PCA9685.pdf), [adafruit](https://www.adafruit.com/product/815)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c) for communication.","docs_url":"https://esphome.io/components/output/pca9685/","id":"pca9685","image_url":"https://esphome.io/images/pca9685.jpg","multi_conf":true,"name":"PCA9685"}, {"category":"output","dependencies":["pca9685"],"description":"The PCA9685 output component exposes a PCA9685 PWM channel of a global [PCA9685 hub](https://esphome.io/components/output/pca9685/#pca9685-component) as a float output.","docs_url":"https://esphome.io/components/output/pca9685/","id":"output.pca9685","image_url":"https://esphome.io/images/pca9685.jpg","multi_conf":true,"name":"PCA9685"}, @@ -810,8 +810,8 @@ {"category":"misc","description":"The `remote_receiver` component lets you receive and decode various common remote control signals, such as infrared or 433 MHz radio frequency (RF) signals.","docs_url":"https://esphome.io/components/remote_receiver/","id":"remote_receiver","image_url":"https://esphome.io/images/remote.svg","multi_conf":true,"name":"Remote Receiver","provides":["remote_base"]}, {"category":"binary_sensor","dependencies":["remote_receiver"],"description":"The `remote_receiver` binary sensor lets you track when a button on a remote control is pressed.","docs_url":"https://esphome.io/components/remote_receiver/","id":"binary_sensor.remote_receiver","image_url":"https://esphome.io/images/remote.svg","multi_conf":true,"name":"Remote Receiver"}, {"category":"misc","description":"The `remote_transmitter` component lets you send various common remote control signals, such as infrared or 433 MHz radio frequency (RF) signals.","docs_url":"https://esphome.io/components/remote_transmitter/","id":"remote_transmitter","image_url":"https://esphome.io/images/remote.svg","multi_conf":true,"name":"Remote Transmitter","provides":["remote_base"]}, -{"category":"misc","dependencies":["ble_client"],"description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","id":"renogy_inverter_ble","multi_conf":true,"name":"Renogy Inverter BLE Sensor","supported_platforms":["esp32"]}, -{"category":"sensor","dependencies":["renogy_inverter_ble"],"description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","id":"sensor.renogy_inverter_ble","multi_conf":true,"name":"Renogy Inverter BLE Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["ac_input_voltage","id"],["ac_output_current","id"],["ac_output_frequency","id"],["ac_output_voltage","id"],["battery_voltage","id"],["input_frequency","id"],["load_active_power","id"],["load_apparent_power","id"],["load_current","id"],["temperature","id"]]},"supported_platforms":["esp32"]}, +{"category":"misc","dependencies":["ble_client"],"description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","docs_url":"https://esphome.io/components/sensor/renogy_inverter_ble/","id":"renogy_inverter_ble","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"Renogy Inverter BLE Sensor","supported_platforms":["esp32"]}, +{"category":"sensor","dependencies":["renogy_inverter_ble"],"description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","docs_url":"https://esphome.io/components/sensor/renogy_inverter_ble/","id":"sensor.renogy_inverter_ble","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"name":"Renogy Inverter BLE Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["ac_input_voltage","id"],["ac_output_current","id"],["ac_output_frequency","id"],["ac_output_voltage","id"],["battery_voltage","id"],["input_frequency","id"],["load_active_power","id"],["load_apparent_power","id"],["load_current","id"],["temperature","id"]]},"supported_platforms":["esp32"]}, {"category":"microphone","dependencies":["microphone","esp32"],"description":"The `resampler` microphone platform converts the sample rate of the audio from another [microphone component](https://esphome.io/components/microphone/). Components that need a specific sample rate, such as a voice assistant expecting 16 kHz audio, can then use a microphone that only supports higher sample rates.","docs_url":"https://esphome.io/components/microphone/resampler/","id":"microphone.resampler","image_url":"https://esphome.io/images/waveform.svg","multi_conf":true,"name":"Resampler Microphone","supported_platforms":["esp32"]}, {"category":"speaker","dependencies":["esp32"],"description":"The `resampler` speaker platform allows you to convert the sample rate of an audio stream and output it to another [speaker component](https://esphome.io/components/speaker/).","docs_url":"https://esphome.io/components/speaker/resampler/","id":"speaker.resampler","image_url":"https://esphome.io/images/waveform.svg","multi_conf":true,"name":"Resampler Speaker","supported_platforms":["esp32"]}, {"category":"sensor","description":"The `resistance` platform is a helper sensor that allows you to convert readings from a voltage sensor (such as the [ADC Sensor](https://esphome.io/components/sensor/adc/)) into resistance readings in Ω (ohm).","docs_url":"https://esphome.io/components/sensor/resistance/","id":"sensor.resistance","image_url":"https://esphome.io/images/omega.svg","multi_conf":true,"name":"Resistance Sensor"}, @@ -831,20 +831,20 @@ {"category":"misc","dependencies":["rp2"],"description":"The `rp2_ble_tracker` component scans for Bluetooth Low Energy advertisements on the Raspberry Pi **Pico W** and **Pico 2 W** — the platform analog of [ESP32 BLE Tracker](https://esphome.io/components/esp32_ble_tracker/). It builds on the [RP2040 BLE](https://esphome.io/components/rp2040_ble/) stack component and loads it automatically.","docs_url":"https://esphome.io/components/rp2_ble_tracker/","id":"rp2_ble_tracker","image_url":"https://esphome.io/images/bluetooth.svg","name":"RP2 BLE Tracker","provides":["ble_device_base"],"supported_platforms":["rp2"]}, {"category":"display","dependencies":["esp32"],"description":"This display driver supports displays with 16 bit parallel interfaces, often referred to as \"RPI_DPI_RGB\" type. These have a parallel interface but no SPI interface and require no configuration of the driver chip.","docs_url":"https://esphome.io/components/display/rpi_dpi_rgb/","id":"display.rpi_dpi_rgb","image_url":"https://esphome.io/images/waveshare_touch-s3.jpg","multi_conf":true,"name":"RPI_DPI_RGB Display Driver","supported_platforms":["esp32"]}, {"category":"core","description":"Configuration for the LibreTiny platform for ESPHome.","docs_url":"https://esphome.io/components/libretiny","id":"rtl87xx","name":"RTL87xx","provides":["libretiny"],"supported_platforms":["rtl87xx"]}, -{"category":"misc","description":"The `rtsp_server` component streams video from an [ESP32 Camera](https://esphome.io/components/esp32_camera/) over RTSP, the standard protocol used by video players and surveillance software. This allows tools like VLC, ffplay, go2rtc or Frigate to consume the camera feed directly, without any ESPHome-specific integration.","id":"rtsp_server","name":"RTSP Server Component"}, +{"category":"misc","description":"The `rtsp_server` component streams video from an [ESP32 Camera](https://esphome.io/components/esp32_camera/) over RTSP, the standard protocol used by video players and surveillance software. This allows tools like VLC, ffplay, go2rtc or Frigate to consume the camera feed directly, without any ESPHome-specific integration.","docs_url":"https://esphome.io/components/rtsp_server/","id":"rtsp_server","image_url":"https://esphome.io/images/camera.svg","name":"RTSP Server Component"}, {"category":"misc","description":"The `rtttl` component allows you to easily connect a passive piezo buzzer to your microcontroller and play monophonic songs. It accepts the Ring Tone Text Transfer Language, RTTTL format ([Wikipedia](https://en.wikipedia.org/wiki/Ring_Tone_Transfer_Language)) which allows to store simple melodies.","docs_url":"https://esphome.io/components/rtttl/","id":"rtttl","image_url":"https://esphome.io/images/buzzer.jpg","multi_conf":true,"name":"RTTTL Buzzer"}, {"category":"misc","description":"The `runtime_stats` component allows you to collect and analyze runtime performance statistics for all components in your ESPHome device. This is a powerful debugging and optimization tool that helps identify components that may be blocking the event loop or consuming excessive processing time.","docs_url":"https://esphome.io/components/runtime_stats/","id":"runtime_stats","name":"Runtime Statistics"}, {"category":"misc","description":"","docs_url":"https://esphome.io/components/sensor/ruuvitag#setting-up-devices","id":"ruuvi_ble","name":"Ruuvi BLE"}, {"category":"sensor","description":"The `ruuvitag` sensor platform lets you track the output of RuuviTag Bluetooth Low Energy devices using the [Esp32 Ble Tracker](https://esphome.io/components/esp32_ble_tracker/). This component will track the temperature, humidity, acceleration and battery voltage of a RuuviTag device with RAWv1 protocol every time the sensor sends out a BLE broadcast. RAWv2 protocol is supported too. Then tx power, movement count and measurement sequence number are also tracked.","docs_url":"https://esphome.io/components/sensor/ruuvitag/","id":"sensor.ruuvitag","image_url":"https://esphome.io/images/ruuvitag.jpg","multi_conf":true,"name":"RuuviTag Open Source BLE Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["acceleration","id"],["acceleration_x","id"],["acceleration_y","id"],["acceleration_z","id"],["battery_voltage","id"],["humidity","id"],["measurement_sequence_number","id"],["movement_counter","id"],["pressure","id"],["temperature","id"],["tx_power","id"]]}}, {"category":"time","dependencies":["i2c"],"description":"The `rx8025t` time platform lets you use the Epson RX8025T real time clock as a time source. The chip keeps time from a backup battery while the device is powered off and is connected over I²C.","docs_url":"https://esphome.io/components/time/rx8025t/","id":"time.rx8025t","image_url":"https://esphome.io/images/clock-outline.svg","multi_conf":true,"name":"RX8025T Time Source","provides":["rx8025t"]}, -{"category":"binary_sensor","dependencies":["time","rx8111"],"description":"The `rx8111` binary sensor platform reports the latched flags and live status of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component and its [I²C bus](https://esphome.io/components/i2c/) first.","id":"binary_sensor.rx8111","multi_conf":true,"name":"RX8111 Binary Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["alarm_flag","id"],["battery_low","id"],["event_flag","id"],["evin","id"],["timer_flag","id"],["vlf","id"],["xst","id"]]}}, -{"category":"text_sensor","dependencies":["time","rx8111"],"description":"The `rx8111` text sensor publishes timestamps captured by the EVIN input of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component first.","id":"text_sensor.rx8111","multi_conf":true,"name":"RX8111 Event Timestamp"}, -{"category":"time","dependencies":["i2c"],"description":"The RX8111 time platform reads UTC time from an Epson RX8111CE real-time clock (RTC) over [I²C](https://esphome.io/components/i2c/). Configure the I²C bus separately.","id":"time.rx8111","multi_conf":true,"name":"RX8111 Time Source","provides":["rx8111"]}, +{"category":"binary_sensor","dependencies":["time","rx8111"],"description":"The `rx8111` binary sensor platform reports the latched flags and live status of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component and its [I²C bus](https://esphome.io/components/i2c/) first.","docs_url":"https://esphome.io/components/binary_sensor/rx8111/","id":"binary_sensor.rx8111","image_url":"https://esphome.io/images/clock-outline.svg","multi_conf":true,"name":"RX8111 Binary Sensor","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["alarm_flag","id"],["battery_low","id"],["event_flag","id"],["evin","id"],["timer_flag","id"],["vlf","id"],["xst","id"]]}}, +{"category":"text_sensor","dependencies":["time","rx8111"],"description":"The `rx8111` text sensor publishes timestamps captured by the EVIN input of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component first.","docs_url":"https://esphome.io/components/text_sensor/rx8111/","id":"text_sensor.rx8111","image_url":"https://esphome.io/images/clock-outline.svg","multi_conf":true,"name":"RX8111 Event Timestamp"}, +{"category":"time","dependencies":["i2c"],"description":"The RX8111 time platform reads UTC time from an Epson RX8111CE real-time clock (RTC) over [I²C](https://esphome.io/components/i2c/). Configure the I²C bus separately.","docs_url":"https://esphome.io/components/time/rx8111/","id":"time.rx8111","image_url":"https://esphome.io/images/clock-outline.svg","multi_conf":true,"name":"RX8111 Time Source","provides":["rx8111"]}, {"category":"time","dependencies":["i2c"],"description":"You first need to set up the [I2C](https://esphome.io/components/i2c/) component.","docs_url":"https://esphome.io/components/time/rx8130/","id":"time.rx8130","image_url":"https://esphome.io/images/clock-outline.svg","multi_conf":true,"name":"RX8130 Time Source","provides":["rx8130"]}, {"category":"core","description":"Sometimes hardware and/or software doesn't behave as expected. ESPHome supports a \"safe mode\" to help recover from repeated boot failures/reboot loops. After a specified number (the default is ten) of boot failures, the safe mode may be invoked; in this mode, all components are disabled except serial logging, network (Wi-Fi or Ethernet) and the OTA component(s). In most cases, this will temporarily mitigate the issue, allowing you a chance to correct it, perhaps by uploading a new binary.","docs_url":"https://esphome.io/components/safe_mode/","id":"safe_mode","image_url":"https://esphome.io/images/restart-alert.svg","name":"Safe Mode"}, {"category":"button","dependencies":["safe_mode"],"description":"The `safe_mode` button allows you to remotely reboot your node into [Safe Mode](https://esphome.io/components/safe_mode/). This is useful in certain situations where a misbehaving component is preventing Over-The-Air updates from completing successfully.","docs_url":"https://esphome.io/components/button/safe_mode/","id":"button.safe_mode","image_url":"https://esphome.io/images/restart-alert.svg","multi_conf":true,"name":"Safe Mode Button"}, {"category":"switch","dependencies":["safe_mode"],"description":"The `safe_mode` switch allows you to remotely reboot your node into [Safe Mode](https://esphome.io/components/safe_mode/). This is useful in certain situations where a misbehaving component, or low memory state is preventing Over-The-Air updates from completing successfully.","docs_url":"https://esphome.io/components/switch/safe_mode/","id":"switch.safe_mode","image_url":"https://esphome.io/images/restart-alert.svg","multi_conf":true,"name":"Safe Mode Switch"}, -{"category":"climate","dependencies":["remote_transmitter"],"description":"","id":"climate.samsung","multi_conf":true,"name":"Samsung"}, +{"category":"climate","dependencies":["remote_transmitter"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir#samsung","id":"climate.samsung","multi_conf":true,"name":"Samsung"}, {"category":"sensor","dependencies":["i2c"],"description":"The `scd30` sensor platform allows you to use your Sensirion SCD30 CO₂ ([datasheet](https://sensirion.com/media/documents/4EAF6AF8/61652C3C/Sensirion_CO2_Sensors_SCD30_Datasheet.pdf)) sensors with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/scd30/","id":"sensor.scd30","image_url":"https://esphome.io/images/scd30.jpg","multi_conf":true,"name":"SCD30 CO₂, Temperature and Relative Humidity Sensor","provides":["scd30","sensor"],"provides_id_paths":{"sensor":[["co2","id"],["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `scd4x` sensor platform allows you to use your Sensirion SCD4X CO₂ ([datasheet](https://sensirion.com/media/documents/48C4B7FB/67FE0194/CD_DS_SCD4x_Datasheet_D1.pdf)) sensors with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/scd4x/","id":"sensor.scd4x","image_url":"https://esphome.io/images/scd4x.jpg","multi_conf":true,"name":"SCD4X CO₂, Temperature and Relative Humidity Sensor","provides":["scd4x","sensor"],"provides_id_paths":{"sensor":[["co2","id"],["humidity","id"],["temperature","id"]]}}, {"category":"automation","description":"ESPHome's `script` component allows you to define a list of steps (actions) in a central place. You can then execute the script from nearly anywhere in your device's configuration with a single call.","docs_url":"https://esphome.io/components/script/","id":"script","image_url":"https://esphome.io/images/description.svg","name":"Script Component"}, @@ -869,8 +869,8 @@ {"category":"binary_sensor","dependencies":["seeed_mr60fda2"],"description":"The `seeed_mr60fda2` binary sensor allows you to determine the presence of a human.","docs_url":"https://esphome.io/components/seeed_mr60fda2/","id":"binary_sensor.seeed_mr60fda2","image_url":"https://esphome.io/images/seeed_mr60fda2.jpg","multi_conf":true,"name":"Seeed Studio MR60FDA2 60GHz mmWave Fall Detection Sensor Kit","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["fall_detected","id"],["people_exist","id"]]}}, {"category":"button","dependencies":["seeed_mr60fda2"],"description":"The `seeed_mr60fda2` button allows you to perform actions.","docs_url":"https://esphome.io/components/seeed_mr60fda2/","id":"button.seeed_mr60fda2","image_url":"https://esphome.io/images/seeed_mr60fda2.jpg","multi_conf":true,"name":"Seeed Studio MR60FDA2 60GHz mmWave Fall Detection Sensor Kit","provides":["button"],"provides_id_paths":{"button":[["factory_reset","id"],["get_radar_parameters","id"]]}}, {"category":"select","dependencies":["seeed_mr60fda2"],"description":"The `seeed_mr60fda2` select allows you to control the configuration.","docs_url":"https://esphome.io/components/seeed_mr60fda2/","id":"select.seeed_mr60fda2","image_url":"https://esphome.io/images/seeed_mr60fda2.jpg","multi_conf":true,"name":"Seeed Studio MR60FDA2 60GHz mmWave Fall Detection Sensor Kit","provides":["select"],"provides_id_paths":{"select":[["height_threshold","id"],["install_height","id"],["sensitivity","id"]]}}, -{"category":"misc","dependencies":["i2c"],"description":"The `seeed_multi_channel_relay` component controls the relays of the Seeed Studio Grove multi-channel relay boards over [I²C](https://esphome.io/components/i2c/): the [Grove 4-Channel SPDT Relay](https://wiki.seeedstudio.com/Grove-4-Channel_SPDT_Relay/) and the [Grove 8-Channel Solid State Relay](https://wiki.seeedstudio.com/Grove-8-Channel_Solid_State_Relay/).","id":"seeed_multi_channel_relay","multi_conf":true,"name":"Seeed Studio Multi-Channel Relay Switch"}, -{"category":"switch","dependencies":["seeed_multi_channel_relay"],"description":"Each relay is a `switch` of the `seeed_multi_channel_relay` platform.","id":"switch.seeed_multi_channel_relay","multi_conf":true,"name":"Seeed Studio Multi-Channel Relay Switch"}, +{"category":"misc","dependencies":["i2c"],"description":"The `seeed_multi_channel_relay` component controls the relays of the Seeed Studio Grove multi-channel relay boards over [I²C](https://esphome.io/components/i2c/): the [Grove 4-Channel SPDT Relay](https://wiki.seeedstudio.com/Grove-4-Channel_SPDT_Relay/) and the [Grove 8-Channel Solid State Relay](https://wiki.seeedstudio.com/Grove-8-Channel_Solid_State_Relay/).","docs_url":"https://esphome.io/components/switch/seeed_multi_channel_relay/","id":"seeed_multi_channel_relay","image_url":"https://esphome.io/images/seeed_multi_channel_relay.webp","multi_conf":true,"name":"Seeed Studio Multi-Channel Relay Switch"}, +{"category":"switch","dependencies":["seeed_multi_channel_relay"],"description":"Each relay is a `switch` of the `seeed_multi_channel_relay` platform.","docs_url":"https://esphome.io/components/switch/seeed_multi_channel_relay/","id":"switch.seeed_multi_channel_relay","image_url":"https://esphome.io/images/seeed_multi_channel_relay.webp","multi_conf":true,"name":"Seeed Studio Multi-Channel Relay Switch"}, {"category":"sensor","dependencies":["modbus"],"description":"The `selec_meter` sensor platform allows you to use Selec Modbus energy monitors with ESPHome. Two models are supported, selected with the `model` option:","docs_url":"https://esphome.io/components/sensor/selec_meter/","id":"sensor.selec_meter","image_url":"https://esphome.io/images/selec_meter_em2m.jpg","multi_conf":true,"name":"Selec Energy Monitor","provides":["binary_sensor","sensor","text_sensor"],"provides_id_paths":{"binary_sensor":[["dg_sensing","id"]],"sensor":[["active_power","id"],["apparent_energy","id"],["apparent_power","id"],["average_voltage_ll","id"],["current","id"],["export_active_energy","id"],["export_reactive_energy","id"],["frequency","id"],["import_active_energy","id"],["import_reactive_energy","id"],["maximum_demand_active_power","id"],["maximum_demand_apparent_power","id"],["maximum_demand_reactive_power","id"],["net_active_energy_dg","id"],["net_active_energy_mains","id"],["net_apparent_energy_dg","id"],["net_apparent_energy_mains","id"],["net_reactive_energy_dg","id"],["net_reactive_energy_mains","id"],["phase_a","active_power","id"],["phase_a","apparent_energy","id"],["phase_a","apparent_power","id"],["phase_a","current","id"],["phase_a","export_active_energy","id"],["phase_a","export_reactive_energy","id"],["phase_a","import_active_energy","id"],["phase_a","import_reactive_energy","id"],["phase_a","power_factor","id"],["phase_a","reactive_power","id"],["phase_a","voltage","id"],["phase_b","active_power","id"],["phase_b","apparent_energy","id"],["phase_b","apparent_power","id"],["phase_b","current","id"],["phase_b","export_active_energy","id"],["phase_b","export_reactive_energy","id"],["phase_b","import_active_energy","id"],["phase_b","import_reactive_energy","id"],["phase_b","power_factor","id"],["phase_b","reactive_power","id"],["phase_b","voltage","id"],["phase_c","active_power","id"],["phase_c","apparent_energy","id"],["phase_c","apparent_power","id"],["phase_c","current","id"],["phase_c","export_active_energy","id"],["phase_c","export_reactive_energy","id"],["phase_c","import_active_energy","id"],["phase_c","import_reactive_energy","id"],["phase_c","power_factor","id"],["phase_c","reactive_power","id"],["phase_c","voltage","id"],["power_factor","id"],["reactive_power","id"],["total_active_energy","id"],["total_reactive_energy","id"],["voltage","id"],["voltage_l12","id"],["voltage_l23","id"],["voltage_l31","id"]],"text_sensor":[["serial_number","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `sen0321` sensor platform allows you to use your DFRobot ([product wiki](https://wiki.dfrobot.com/Gravity_IIC_Ozone_Sensor_(0-10ppm)%20SKU_SEN0321), [DFRobot](https://www.dfrobot.com/product-2005.html)) ozone sensors with ESPHome. The sensor is used in automatic mode where the sensor actively updates its measurements every 2 seconds. [I²C](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/sen0321/","id":"sensor.sen0321","image_url":"https://esphome.io/images/sen0321.jpg","multi_conf":true,"name":"SEN0321 DFRobot Ozone Sensor"}, {"category":"sensor","dependencies":["i2c"],"description":"[Person Sensor (SEN21231) from Useful Sensors](https://www.sparkfun.com/person-sensor-by-useful-sensors.html) has built in facial recognition that can detect how many people are facing the sensor and relative positions of the faces.","docs_url":"https://esphome.io/components/sensor/sen21231/","id":"sensor.sen21231","image_url":"https://esphome.io/images/sen21231.png","multi_conf":true,"name":"SEN21231 Person Sensor from Useful Sensors"}, @@ -891,8 +891,8 @@ {"category":"sensor","dependencies":["i2c"],"description":"The `sfa40` sensor platform allows you to use your Sensirion SFA40 formaldehyde ([datasheet](https://sensirion.com/media/documents/5B06EDD9/69F84BD8/Sensirion_Datasheet_SFA40.pdf)) sensor with ESPHome. The sensor also reports temperature and relative humidity. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/sfa40/","id":"sensor.sfa40","image_url":"https://esphome.io/images/sfa40.webp","multi_conf":true,"name":"SFA40 Formaldehyde Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["formaldehyde","id"],["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `sgp30` sensor platform allows you to use your Sensirion SGP30 multi-pixel gas ([datasheet](https://sensirion.com/media/documents/984E0DD5/61644B8B/Sensirion_Gas_Sensors_Datasheet_SGP30.pdf)) sensors or the SVM30 breakout-boards ([product page](https://sensirion.com/products/catalog/SVM30/)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/sgp30/","id":"sensor.sgp30","image_url":"https://esphome.io/images/sgp30.jpg","multi_conf":true,"name":"SGP30 CO₂ and Volatile Organic Compound Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["eco2","id"],["eco2_baseline","id"],["tvoc","id"],["tvoc_baseline","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `sgp4x` sensor platform allows you to use your Sensirion SGP40 ([datasheet](https://sensirion.com/media/documents/296373BB/6203C5DF/Sensirion_Gas_Sensors_Datasheet_SGP40.pdf)) or SGP41 ([datasheet](https://sensirion.com/media/documents/5FE8673C/61E96F50/Sensirion_Gas_Sensors_Datasheet_SGP41.pdf)) with ESPHome. The type of sensor used is automatically detected. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/sgp4x/","id":"sensor.sgp4x","image_url":"https://esphome.io/images/sgp40.jpg","multi_conf":true,"name":"SGP40 Volatile Organic Compound Sensor and SGP41 VOC and NOx Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["id"],["nox_index","id"],["voc_index","id"]]}}, -{"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `sh1122_spi` display platform allows you to use SH1122 ([datasheet](https://www.displayfuture.com/Display/datasheet/controller/SH1122.pdf)) 256x64 pixel, 16 level greyscale OLED displays with ESPHome. This component is for displays connected via the 4-wire [SPI bus](https://esphome.io/components/spi/).","id":"display.sh1122_spi","multi_conf":true,"name":"SH1122 OLED Display"}, -{"category":"misc","description":"","id":"sha256","name":"Sha256"}, +{"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `sh1122_spi` display platform allows you to use SH1122 ([datasheet](https://www.displayfuture.com/Display/datasheet/controller/SH1122.pdf)) 256x64 pixel, 16 level greyscale OLED displays with ESPHome. This component is for displays connected via the 4-wire [SPI bus](https://esphome.io/components/spi/).","docs_url":"https://esphome.io/components/display/sh1122/","id":"display.sh1122_spi","multi_conf":true,"name":"SH1122 OLED Display"}, +{"category":"misc","description":"","docs_url":"https://esphome.io/components/update/esp32_hosted","id":"sha256","name":"Sha256"}, {"bus_constraints":{"uart":{"baud_rate":115200,"require_rx":true,"require_tx":true}},"category":"light","dependencies":["uart","esp8266"],"description":"The `shelly_dimmer` component adds support for the dimming and power-metering functionality that can be found the [Shelly Dimmer 2](https://shelly.cloud/knowledge-base/devices/shelly-dimmer-2/). The interaction with mains is done via an STM32 microcontroller that is automatically (when configured) flashed with an [open source firmware](https://github.com/jamesturton/shelly-dimmer-stm32). A detailed analysis of the Shelly Dimmer 2 hardware is given on [arendst/Tasmota#6914](https://github.com/arendst/Tasmota/issues/6914).","docs_url":"https://esphome.io/components/light/shelly_dimmer/","id":"light.shelly_dimmer","id_classes":["light::LightOutput","light::LightState","shelly_dimmer::ShellyDimmer","uart::UARTDevice"],"image_url":"https://esphome.io/images/shellydimmer2.jpg","multi_conf":true,"name":"Shelly Dimmer","provides":["sensor"],"provides_id_paths":{"sensor":[["current","id"],["power","id"],["voltage","id"]]},"supported_platforms":["esp8266"]}, {"category":"sensor","dependencies":["i2c"],"description":"The `sht3xd` sensor platform Temperature+Humidity sensor allows you to use your Sensirion SHT31-D/SHT3x ([datasheet](https://cdn-shop.adafruit.com/product-files/2857/Sensirion_Humidity_SHT3x_Datasheet_digital-767294.pdf), [Adafruit](https://www.adafruit.com/product/2857)) and SHT85 ([datasheet](https://sensirion.com/media/documents/4B40CEF3/640B2346/Sensirion_Humidity_Sensors_SHT85_Datasheet.pdf), [Sensirion](https://sensirion.com/products/catalog/SHT85/)) sensors with Esphome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/sht3xd/","id":"sensor.sht3xd","image_url":"https://esphome.io/images/sht3xd.jpg","multi_conf":true,"name":"SHT3X-D Temperature+Humidity Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `sht4x` sensor platform allows you to use your SHT4X temperature and humidity sensor ([datasheet](https://sensirion.com/media/documents/33FD6951/661CD142/HT_DS_Datasheet_SHT4x.pdf), [Adafruit](https://www.adafruit.com/product/4885)) with ESPHome.","docs_url":"https://esphome.io/components/sensor/sht4x/","id":"sensor.sht4x","image_url":"https://esphome.io/images/sht4x.jpg","multi_conf":true,"name":"SHT4X Temperature and Humidity Sensor","provides":["sensor","text_sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["temperature","id"]],"text_sensor":[["serial_number","id"]]}}, @@ -927,7 +927,7 @@ {"category":"sensor","dependencies":["microphone","esp32"],"description":"The `sound_level` sensor platform allows you to measure a [microphone](https://esphome.io/components/microphone/)'s average and peak sound pressure levels over a specified measurement duration. The sensors output in **relative** `dB`, where `0 dB` represents the loudest sound the microphone can measure.","docs_url":"https://esphome.io/components/sensor/sound_level/","id":"sensor.sound_level","image_url":"https://esphome.io/images/waveform.svg","multi_conf":true,"name":"Sound Level Sensor","provides":["sensor","sound_level"],"provides_id_paths":{"sensor":[["peak","id"],["rms","id"]]},"supported_platforms":["esp32"]}, {"category":"sensor","dependencies":["i2c"],"description":"The `spa06` sensor platform allows you to use your Goermicro SPA06-003 ([datasheet](https://cdn-shop.adafruit.com/product-files/6420/spa06-003.PDF), [Adafruit](https://www.adafruit.com/product/6420) or [Seeed](https://www.seeedstudio.com/Grove-Temperature-and-Barometer-Sensor-SPA06-003-p-6441.html)) temperature and pressure sensors with ESPHome. An [I²C](https://esphome.io/components/i2c) or [SPI](https://esphome.io/components/spi) bus is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/spa06/","id":"sensor.spa06_i2c","multi_conf":true,"name":"SPA06-003 Temperature+Pressure Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["pressure","id"],["temperature","id"]]}}, {"category":"sensor","dependencies":["spi"],"description":"The `spa06` sensor platform allows you to use your Goermicro SPA06-003 ([datasheet](https://cdn-shop.adafruit.com/product-files/6420/spa06-003.PDF), [Adafruit](https://www.adafruit.com/product/6420) or [Seeed](https://www.seeedstudio.com/Grove-Temperature-and-Barometer-Sensor-SPA06-003-p-6441.html)) temperature and pressure sensors with ESPHome. An [I²C](https://esphome.io/components/i2c) or [SPI](https://esphome.io/components/spi) bus is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/spa06/","id":"sensor.spa06_spi","multi_conf":true,"name":"SPA06-003 Temperature+Pressure Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["pressure","id"],["temperature","id"]]}}, -{"category":"touchscreen","dependencies":["i2c"],"description":"The `spd2010` touchscreen platform supports the SPD2010 capacitive touch controller. It requires an [I²C bus](https://esphome.io/components/i2c/) and a [display](https://esphome.io/components/display/). The default calibration covers a 412×412 display.","id":"touchscreen.spd2010","multi_conf":true,"name":"SPD2010 Touchscreen"}, +{"category":"touchscreen","dependencies":["i2c"],"description":"The `spd2010` touchscreen platform supports the SPD2010 capacitive touch controller. It requires an [I²C bus](https://esphome.io/components/i2c/) and a [display](https://esphome.io/components/display/). The default calibration covers a 412×412 display.","docs_url":"https://esphome.io/components/touchscreen/spd2010/","id":"touchscreen.spd2010","image_url":"https://esphome.io/images/waveshare-lcd-1.46-touch.webp","multi_conf":true,"name":"SPD2010 Touchscreen"}, {"category":"media_player","dependencies":["speaker","esp32"],"description":"The `speaker` media player platform allows you to play on-device and online audio media via [speaker components](https://esphome.io/components/speaker/).","docs_url":"https://esphome.io/components/media_player/speaker/","id":"media_player.speaker","image_url":"https://esphome.io/images/speaker.svg","multi_conf":true,"name":"Speaker Audio Media Player","provides":["speaker"],"supported_platforms":["esp32"]}, {"category":"media_player","dependencies":["media_source","speaker","esp32"],"description":"The `speaker_source` media player platform orchestrates [media source](https://esphome.io/components/media_source/) components that produce audio. When a media URL is received, the platform routes it to the appropriate source based on the URI prefix. For example, a URL starting with `audio-file://` is handled by the [Audio File media source](https://esphome.io/components/media_source/audio_file/).","docs_url":"https://esphome.io/components/media_player/speaker_source/","id":"media_player.speaker_source","image_url":"https://esphome.io/images/speaker.svg","multi_conf":true,"name":"Speaker Source Media Player","provides":["speaker_source"],"supported_platforms":["esp32"]}, {"category":"fan","description":"The `speed` fan platform lets you represent any float [Output Component](https://esphome.io/components/output/) as a fan that supports speed settings.","docs_url":"https://esphome.io/components/fan/speed/","id":"fan.speed","image_url":"https://esphome.io/images/fan.svg","multi_conf":true,"name":"Speed Fan"}, @@ -945,9 +945,9 @@ {"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `ssd1327_spi` display platform allows you to use SSD1327 ([datasheet](https://cdn.sparkfun.com/assets/1/a/5/d/4/DS-15890-Zio_OLED.pdf), [Adafruit](https://www.adafruit.com/product/326)) displays with ESPHome. Note that this component is for displays that are connected via the 4-Wire [SPI bus](https://esphome.io/components/spi). If your SSD1327 is connected via the [I²C Bus](https://esphome.io/components/i2c), see [Over I²C](https://esphome.io/components/display/ssd1327/#ssd1327-i2c).","docs_url":"https://esphome.io/components/display/ssd1327/","id":"display.ssd1327_spi","multi_conf":true,"name":"SSD1327 OLED Display"}, {"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `ssd1331_spi` display platform allows you to use SSD1331 ([datasheet](https://cdn-shop.adafruit.com/datasheets/SSD1331_1.2.pdf), [Adafruit](https://www.adafruit.com/product/684)) displays with ESPHome. This component is for displays that are connected via the 4-Wire [SPI bus](https://esphome.io/components/spi).","docs_url":"https://esphome.io/components/display/ssd1331/","id":"display.ssd1331_spi","multi_conf":true,"name":"SSD1331 OLED Display"}, {"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `ssd1351_spi` display platform allows you to use SSD1351 ([datasheet](https://cdn-shop.adafruit.com/datasheets/SSD1351-Revision+1.3.pdf), [Adafruit 128x128](https://www.adafruit.com/product/1431), [Adafruit 128x96](https://www.adafruit.com/product/1673), [Waveshare 128x128](https://www.waveshare.com/1.5inch-rgb-oled-module.htm)) displays with ESPHome. This component is for displays that are connected via the 4-Wire [SPI bus](https://esphome.io/components/spi).","docs_url":"https://esphome.io/components/display/ssd1351/","id":"display.ssd1351_spi","multi_conf":true,"name":"SSD1351 OLED Display"}, -{"category":"misc","dependencies":["spi"],"description":"The `st25r` component allows you to use STMicroelectronics ST25R3916 and ST25R3916B NFC readers ([datasheet](https://www.st.com/resource/en/datasheet/st25r3916.pdf)) with ESPHome. The reader is a global hub that polls for ISO 14443A (NFC-A) tags, reads the UID of the tag on the antenna and runs the `on_tag` and `on_tag_removed` automations. It is connected over [SPI](https://esphome.io/components/spi/) through the `st25r_spi` platform.","id":"st25r_spi","multi_conf":true,"name":"ST25R3916 NFC","provides":["nfc"]}, +{"category":"misc","dependencies":["spi"],"description":"The `st25r` component allows you to use STMicroelectronics ST25R3916 and ST25R3916B NFC readers ([datasheet](https://www.st.com/resource/en/datasheet/st25r3916.pdf)) with ESPHome. The reader is a global hub that polls for ISO 14443A (NFC-A) tags, reads the UID of the tag on the antenna and runs the `on_tag` and `on_tag_removed` automations. It is connected over [SPI](https://esphome.io/components/spi/) through the `st25r_spi` platform.","docs_url":"https://esphome.io/components/st25r/","id":"st25r_spi","multi_conf":true,"name":"ST25R3916 NFC","provides":["nfc"]}, {"category":"touchscreen","dependencies":["i2c"],"description":"The `st7123` touchscreen platform allows using the touch screen controllers based on the Sitronix ST7123 chip with ESPHome. The [I²C](https://esphome.io/components/i2c) is required to be set up in your configuration for this touchscreen to work.","docs_url":"https://esphome.io/components/touchscreen/st7123/","id":"touchscreen.st7123","image_url":"https://esphome.io/images/touch.svg","multi_conf":true,"name":"st7123 Touch Screen Controller"}, -{"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `st7305` display platform drives reflective monochrome LCD panels based on the Sitronix ST7305 and ST7306 controllers over a 4-wire [SPI bus](https://esphome.io/components/spi/). These panels are 1 bit per pixel, have no backlight and retain their image. The built-in `WAVESHARE-400X300` model describes the 4.2\" panel on the Waveshare ESP32-S3-RLCD-4.2 (400x300 in landscape). Other panels can be described with the `CUSTOM` model.","id":"display.st7305","multi_conf":true,"name":"ST7305 Reflective LCD Display"}, +{"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `st7305` display platform drives reflective monochrome LCD panels based on the Sitronix ST7305 and ST7306 controllers over a 4-wire [SPI bus](https://esphome.io/components/spi/). These panels are 1 bit per pixel, have no backlight and retain their image. The built-in `WAVESHARE-400X300` model describes the 4.2\" panel on the Waveshare ESP32-S3-RLCD-4.2 (400x300 in landscape). Other panels can be described with the `CUSTOM` model.","docs_url":"https://esphome.io/components/display/st7305/","id":"display.st7305","image_url":"https://esphome.io/images/st7305.jpg","multi_conf":true,"name":"ST7305 Reflective LCD Display"}, {"category":"display","dependencies":["i2c"],"description":"Connect `SDA` and `SCL` pins on a module to pins you chose for the [I²C Bus](https://esphome.io/components/i2c). If your display module has `RESET` pin you may optionally connect it to a pin on the ESP which may improve reliability. For power, connect `VCC` to 3.3V and `GND` to `GND`.","docs_url":"https://esphome.io/components/display/st7567/","id":"display.st7567_i2c","multi_conf":true,"name":"ST7567 LCD Graphic Display"}, {"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"Connect `D0` to the `CLK` pin you chose for the [SPI bus](https://esphome.io/components/spi), connect `D1` to the `MOSI` pin and `DC` and `CS` to some GPIO pins on the ESP. For power, connect `VCC` to 3.3V and `GND` to `GND`. Optionally you can also connect the `RESET` pin to a pin on the ESP which may improve reliability.","docs_url":"https://esphome.io/components/display/st7567/","id":"display.st7567_spi","multi_conf":true,"name":"ST7567 LCD Graphic Display"}, {"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi","esp32"],"description":"This display driver supports displays with 16 bit parallel interfaces, often referred to as \"RGB\". It currently supports the ST7701S chip.","docs_url":"https://esphome.io/components/display/st7701s/","id":"display.st7701s","image_url":"https://esphome.io/images/indicator.jpg","multi_conf":true,"name":"ST7701S Display Driver","supported_platforms":["esp32"]}, @@ -991,8 +991,8 @@ {"category":"select","dependencies":["tas58xx"],"description":"The `tas58xx` select platform changes the mixer mode while the device is running.","docs_url":"https://esphome.io/components/audio_dac/tas58xx/","id":"select.tas58xx","image_url":"https://esphome.io/images/badges/tas5805m.svg","multi_conf":true,"name":"TAS58xx","provides":["select"],"provides_id_paths":{"select":[["mixer_mode","id"]]}}, {"category":"switch","dependencies":["tas58xx"],"description":"The `activate` switch activates the amplifier or puts it into deep sleep. Turning the switch ON does the `tas58xx.activate` action, and turning it OFF does `tas58xx.deactivate`.","docs_url":"https://esphome.io/components/audio_dac/tas58xx/","id":"switch.tas58xx","image_url":"https://esphome.io/images/badges/tas5805m.svg","multi_conf":true,"name":"TAS58xx","provides":["switch"],"provides_id_paths":{"switch":[["activate","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The TC74 sensor platform allows you to use your TC74 ([datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/21462D.pdf), [Adafruit](https://www.adafruit.com/product/4375)) temperature sensors with ESPHome. The [I²C Bus](https://esphome.io/components/i2c) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/sensor/tc74/","id":"sensor.tc74","image_url":"https://esphome.io/images/tc74.jpg","multi_conf":true,"name":"TC74 Temperature Sensor"}, -{"category":"misc","dependencies":["i2c"],"description":"The `tca8418` component allows you to use a TCA8418 keypad scanner ([datasheet](https://www.ti.com/lit/ds/symlink/tca8418.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this device to work.","id":"tca8418","multi_conf":true,"name":"TCA8418 Keypad","provides":["key_provider"]}, -{"category":"binary_sensor","dependencies":["tca8418"],"description":"Individual keys can be added to ESPHome as `binary_sensor`:","id":"binary_sensor.tca8418","multi_conf":true,"name":"TCA8418 Keypad"}, +{"category":"misc","dependencies":["i2c"],"description":"The `tca8418` component allows you to use a TCA8418 keypad scanner ([datasheet](https://www.ti.com/lit/ds/symlink/tca8418.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this device to work.","docs_url":"https://esphome.io/components/tca8418/","id":"tca8418","image_url":"https://esphome.io/images/matrix_keypad.jpg","multi_conf":true,"name":"TCA8418 Keypad","provides":["key_provider"]}, +{"category":"binary_sensor","dependencies":["tca8418"],"description":"Individual keys can be added to ESPHome as `binary_sensor`:","docs_url":"https://esphome.io/components/tca8418/","id":"binary_sensor.tca8418","image_url":"https://esphome.io/images/matrix_keypad.jpg","multi_conf":true,"name":"TCA8418 Keypad"}, {"category":"misc","dependencies":["i2c"],"description":"The TCA9548A component allows you to use TCA9548A as a I²C multiplexer ([datasheet](https://www.ti.com/lit/ds/symlink/tca9548a.pdf), [AdaFruit](https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c/) for communication.","docs_url":"https://esphome.io/components/tca9548a/","id":"tca9548a","image_url":"https://esphome.io/images/tca9548a.jpg","multi_conf":true,"name":"TCA9548A I²C Multiplexer","provides":["i2c"],"provides_id_paths":{"i2c":[["channels","bus_id"]]}}, {"category":"misc","dependencies":["i2c"],"description":"The TCA9555 component allows you to use TCA955 I/O expanders ([datasheet](https://www.ti.com/lit/ds/symlink/tca9555.pdf)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c) for communication.","docs_url":"https://esphome.io/components/tca9555/","id":"tca9555","image_url":"https://esphome.io/images/badges/tca9555.svg","multi_conf":true,"name":"TCA9555 I/O Expander"}, {"category":"climate","dependencies":["remote_transmitter"],"description":"","docs_url":"https://esphome.io/components/climate/climate_ir","id":"climate.tcl112","multi_conf":true,"name":"Tcl112"}, @@ -1033,7 +1033,7 @@ {"category":"climate","description":"The `thermostat` climate platform allows you to control a climate control system in much the same manner as a physical thermostat. Its operation is similar to the [Bang-Bang](https://esphome.io/components/climate/bang_bang/) controller; a sensor measures a value (the air temperature) and the controller will try to keep this value within a range defined by the set point(s). To do this, the controller can activate devices like a heating unit and/or a cooling unit to change the value observed by the sensor. When configured for both heating and cooling, it is essentially two [Bang-Bang](https://esphome.io/components/climate/bang_bang/) controllers in one; it differs, however, in that interaction with the thermostat component is nearly identical to that of a real thermostat.","docs_url":"https://esphome.io/components/climate/thermostat/","id":"climate.thermostat","image_url":"https://esphome.io/images/air-conditioner.svg","multi_conf":true,"name":"Thermostat Climate Controller"}, {"category":"cover","description":"The `time_based` cover platform allows you to create covers with position control that do not have any position feedback. The state of the cover is thus always an assumed one, the current position is approximated with the time the cover has been moving in a direction. The state of the cover can be restored at node reboot.","docs_url":"https://esphome.io/components/cover/time_based/","id":"cover.time_based","image_url":"https://esphome.io/images/timer.svg","multi_conf":true,"name":"Time Based Cover"}, {"category":"misc","description":"The `tinyusb` component implements a foundation for USB device functionality. It is currently supported on the following ESP32 microcontroller variants:","docs_url":"https://esphome.io/components/tinyusb/","id":"tinyusb","image_url":"https://esphome.io/images/usb.svg","name":"TinyUSB"}, -{"category":"misc","dependencies":["tinyusb"],"description":"The `tinyusb_keyboard` component makes the device appear to a USB host as a keyboard with media keys, built on [TinyUSB](https://esphome.io/components/tinyusb/). Actions press and release keys, so a button, a sensor or any other automation can type on the connected computer or control its volume and playback.","id":"tinyusb_keyboard","name":"TinyUSB Keyboard"}, +{"category":"misc","dependencies":["tinyusb"],"description":"The `tinyusb_keyboard` component makes the device appear to a USB host as a keyboard with media keys, built on [TinyUSB](https://esphome.io/components/tinyusb/). Actions press and release keys, so a button, a sensor or any other automation can type on the connected computer or control its volume and playback.","docs_url":"https://esphome.io/components/tinyusb_keyboard/","id":"tinyusb_keyboard","image_url":"https://esphome.io/images/usb.svg","name":"TinyUSB Keyboard"}, {"category":"misc","dependencies":["i2c"],"description":"The TLC59208F component represents a Texas Instruments TLC59208F 8-bit PWM driver ([datasheet](http://www.ti.com/lit/gpn/tlc59208f), [hw example](https://faboplatform.github.io/ArduinoDocs/03.I2C%20Brick/211_brick_i2c_7seg/)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c) for communication.","docs_url":"https://esphome.io/components/output/tlc59208f/","id":"tlc59208f","image_url":"https://esphome.io/images/tlc59208f.jpg","multi_conf":true,"name":"TLC59208F"}, {"category":"output","dependencies":["tlc59208f"],"description":"The TLC59208F output component exposes a TLC59208F PWM channel of a global [TLC59208F chip](https://esphome.io/components/output/tlc59208f/#tlc59208f-component) as a float output.","docs_url":"https://esphome.io/components/output/tlc59208f/","id":"output.tlc59208f","image_url":"https://esphome.io/images/tlc59208f.jpg","multi_conf":true,"name":"TLC59208F"}, {"category":"misc","description":"This component represents a chain of [TLC5947 24-Channel, 12-Bit PWM LED Drivers](https://www.ti.com/lit/ds/symlink/tlc5947.pdf), which is used e.g. on this [board from Adafruit](https://www.adafruit.com/product/1429).","docs_url":"https://esphome.io/components/output/tlc5947/","id":"tlc5947","image_url":"https://esphome.io/images/tlc5947.jpg","multi_conf":true,"name":"TLC5947 LED driver"}, @@ -1048,12 +1048,12 @@ {"category":"output","dependencies":["tm1638"],"description":"TM1638 7 Segment Display Keypad & LED Module","docs_url":"https://esphome.io/components/display/tm1638","id":"output.tm1638","id_classes":["output::ApplyBinaryOutput","output::BinaryOutput"],"image_url":"https://esphome.io/images/tm1638.jpg","multi_conf":true,"name":"TM1638 7 Segment Display Keypad & LED Module"}, {"category":"switch","dependencies":["tm1638"],"description":"TM1638 7 Segment Display Keypad & LED Module","docs_url":"https://esphome.io/components/display/tm1638","id":"switch.tm1638","image_url":"https://esphome.io/images/tm1638.jpg","multi_conf":true,"name":"TM1638 7 Segment Display Keypad & LED Module"}, {"category":"misc","description":"The `tm1651` display platform allows you to use battery display units based on the TM1651 chip such as [this one](https://www.aliexpress.com/item/32811491559.html) with ESPHome. This component supports the level and brightness settings. All updates can be made via lambda expressions.","docs_url":"https://esphome.io/components/tm1651/","id":"tm1651","image_url":"https://esphome.io/images/tm1651_battery_display.jpg","multi_conf":true,"name":"TM1651 Battery Display"}, -{"category":"sensor","dependencies":["tmc2209"],"description":"The `tmc2209` sensor platform reads the motor current, the StallGuard load measurement and the StealthChop regulation values from the driver.","id":"sensor.tmc2209","multi_conf":true,"name":"TMC2209 Stepper Motor Driver","provides":["sensor"],"provides_id_paths":{"sensor":[["actual_current","id"],["motor_load","id"],["pwm_grad_auto","id"],["pwm_ofs_auto","id"],["pwm_scale_auto","id"],["pwm_scale_sum","id"],["stallguard_result","id"]]}}, -{"category":"stepper","dependencies":["uart"],"description":"The `tmc2209` stepper platform supports the Trinamic TMC2209 stepper motor driver ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/TMC2209_datasheet_rev1.09.pdf)). The driver is configured over its single wire UART interface. Several drivers can share one UART bus by using different addresses.","id":"stepper.tmc2209","multi_conf":true,"name":"TMC2209 Stepper Motor Driver","provides":["tmc2209"]}, -{"category":"binary_sensor","dependencies":["tmp102"],"description":"TMP102 temperature sensors.","docs_url":"https://esphome.io/components/sensor/tmp102","id":"binary_sensor.tmp102","image_url":"https://esphome.io/images/tmp102.jpg","multi_conf":true,"name":"TMP102 Temperature Sensor"}, -{"category":"number","dependencies":["tmp102"],"description":"TMP102 temperature sensors.","docs_url":"https://esphome.io/components/sensor/tmp102","id":"number.tmp102","image_url":"https://esphome.io/images/tmp102.jpg","multi_conf":true,"name":"TMP102 Temperature Sensor","provides":["number"],"provides_id_paths":{"number":[["temperature_high","id"],["temperature_low","id"]]}}, +{"category":"sensor","dependencies":["tmc2209"],"description":"The `tmc2209` sensor platform reads the motor current, the StallGuard load measurement and the StealthChop regulation values from the driver.","docs_url":"https://esphome.io/components/stepper/tmc2209/","id":"sensor.tmc2209","image_url":"https://esphome.io/images/badges/tmc2209.svg","multi_conf":true,"name":"TMC2209 Stepper Motor Driver","provides":["sensor"],"provides_id_paths":{"sensor":[["actual_current","id"],["motor_load","id"],["pwm_grad_auto","id"],["pwm_ofs_auto","id"],["pwm_scale_auto","id"],["pwm_scale_sum","id"],["stallguard_result","id"]]}}, +{"category":"stepper","dependencies":["uart"],"description":"The `tmc2209` stepper platform supports the Trinamic TMC2209 stepper motor driver ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/TMC2209_datasheet_rev1.09.pdf)). The driver is configured over its single wire UART interface. Several drivers can share one UART bus by using different addresses.","docs_url":"https://esphome.io/components/stepper/tmc2209/","id":"stepper.tmc2209","image_url":"https://esphome.io/images/badges/tmc2209.svg","multi_conf":true,"name":"TMC2209 Stepper Motor Driver","provides":["tmc2209"]}, +{"category":"binary_sensor","dependencies":["tmp102"],"description":"TMP102 temperature, thermostat, alert, and threshold-status configuration.","docs_url":"https://esphome.io/components/sensor/tmp102","id":"binary_sensor.tmp102","image_url":"https://esphome.io/images/tmp102.jpg","multi_conf":true,"name":"TMP102 Temperature Sensor"}, +{"category":"number","dependencies":["tmp102"],"description":"TMP102 temperature, thermostat, alert, and threshold-status configuration.","docs_url":"https://esphome.io/components/sensor/tmp102","id":"number.tmp102","image_url":"https://esphome.io/images/tmp102.jpg","multi_conf":true,"name":"TMP102 Temperature Sensor","provides":["number"],"provides_id_paths":{"number":[["temperature_high","id"],["temperature_low","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The TMP102 temperature sensor allows you to use [Texas Instruments TMP102](https://www.ti.com/product/TMP102) and LM75 sensors with ESPHome. TMP102 breakout boards are available from [SparkFun](https://www.sparkfun.com/products/13314). The [I²C Bus](https://esphome.io/components/i2c/) must be configured first.","docs_url":"https://esphome.io/components/sensor/tmp102/","id":"sensor.tmp102","image_url":"https://esphome.io/images/tmp102.jpg","multi_conf":true,"name":"TMP102 Temperature Sensor","provides":["tmp102"]}, -{"category":"text_sensor","dependencies":["tmp102"],"description":"TMP102 temperature sensors.","docs_url":"https://esphome.io/components/sensor/tmp102","id":"text_sensor.tmp102","image_url":"https://esphome.io/images/tmp102.jpg","multi_conf":true,"name":"TMP102 Temperature Sensor"}, +{"category":"text_sensor","dependencies":["tmp102"],"description":"TMP102 temperature, thermostat, alert, and threshold-status configuration.","docs_url":"https://esphome.io/components/sensor/tmp102","id":"text_sensor.tmp102","image_url":"https://esphome.io/images/tmp102.jpg","multi_conf":true,"name":"TMP102 Temperature Sensor"}, {"category":"sensor","dependencies":["i2c"],"description":"The TMP1075 Temperature sensor allows you to use your TMP1075 ([datasheet](https://www.ti.com/lit/gpn/tmp1075)) sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/tmp1075/","id":"sensor.tmp1075","image_url":"https://esphome.io/images/tmp1075.jpg","multi_conf":true,"name":"TMP1075 Temperature Sensor"}, {"category":"sensor","dependencies":["i2c"],"description":"The TMP117 Temperature sensor allows you to use your TMP117 ([datasheet](https://www.ti.com/lit/ds/symlink/tmp117.pdf), [sparkfun](https://www.sparkfun.com/products/15805)) sensors with ESPHome.","docs_url":"https://esphome.io/components/sensor/tmp117/","id":"sensor.tmp117","image_url":"https://esphome.io/images/tmp117.jpg","multi_conf":true,"name":"TMP117 Temperature Sensor"}, {"category":"sensor","dependencies":["i2c"],"description":"The `tof10120` sensor platform allows you to use TOF10120 optical time of flight sensor ([datasheet](https://github.com/SoyM/TOF10120/blob/master/TOF10120.pdf)) with ESPHome to measure distances. The sensor works optically by emitting short infrared pulses and measuring the time it takes the light to be reflected back.","docs_url":"https://esphome.io/components/sensor/tof10120/","id":"sensor.tof10120","image_url":"https://esphome.io/images/tof10120.jpg","multi_conf":true,"name":"TOF10120 Time Of Flight Distance Sensor"}, @@ -1084,7 +1084,7 @@ {"category":"water_heater","dependencies":["tuya"],"description":"The `tuya` water heater platform creates a water heater device from a [Tuya](https://esphome.io/components/tuya/) component. It is meant for electric water heaters (boilers) whose Tuya MCU exposes on/off, temperature and mode as datapoints.","docs_url":"https://esphome.io/components/water_heater/tuya/","id":"water_heater.tuya","image_url":"https://esphome.io/images/tuya.png","multi_conf":true,"name":"Tuya Water Heater"}, {"category":"sensor","description":"The `tx20` sensor platform allows you to use your TX20/TX23 wind direction and speed sensors with ESPHome. The only required pin is the black or brown cable (which is used to transmit data.) The red cable should be connected to VCC (3.3V), green initiates the data transfer when connected to GND and should therefore be directly connected to GND and the yellow cable should be always connected to ground. The difference from the TX20 to the TX23 seems to be that the green cable does not matter any more and the wind sensor is just sending a datagram every 2 seconds - pretty much the same as when the green cable was connected to GND in the TX20.","docs_url":"https://esphome.io/components/sensor/tx20/","id":"sensor.tx20","image_url":"https://esphome.io/images/tx20.jpg","multi_conf":true,"name":"TX20/TX23 Wind Speed/Direction Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["wind_direction_degrees","id"],["wind_speed","id"]]}}, {"category":"bus","description":"UART is a common serial protocol for many devices. For example, when uploading a binary to your ESP you have probably used UART to access the chip. UART (or for Arduino often also called Serial) usually consists of 2 pins:","docs_url":"https://esphome.io/components/uart/","id":"uart","image_url":"https://esphome.io/images/badges/uart.svg","multi_conf":true,"name":"UART Bus"}, -{"category":"binary_sensor","dependencies":["uart"],"description":"The `uart` binary sensor platform watches a [UART bus](https://esphome.io/components/uart/) for a fixed sequence of bytes. When the bytes that arrived most recently match the sequence, the sensor publishes `ON` and then `OFF` right away, so it behaves like a button press: use `on_press` to react to it. Keyboard escape sequences and the keys of a serial terminal are the typical use.","docs_url":"https://esphome.io/components/uart","id":"binary_sensor.uart","image_url":"https://esphome.io/images/badges/uart.svg","multi_conf":true,"name":"UART Binary Sensor"}, +{"category":"binary_sensor","dependencies":["uart"],"description":"The `uart` binary sensor platform watches a [UART bus](https://esphome.io/components/uart/) for a fixed sequence of bytes. When the bytes that arrived most recently match the sequence, the sensor publishes `ON` and then `OFF` right away, so it behaves like a button press: use `on_press` to react to it. Keyboard escape sequences and the keys of a serial terminal are the typical use.","docs_url":"https://esphome.io/components/binary_sensor/uart/","id":"binary_sensor.uart","image_url":"https://esphome.io/images/badges/uart.svg","multi_conf":true,"name":"UART Binary Sensor"}, {"category":"button","dependencies":["uart"],"description":"The `uart` button platform allows you to send a pre-defined sequence of bytes on a [UART bus](https://esphome.io/components/uart/) when triggered.","docs_url":"https://esphome.io/components/button/uart/","id":"button.uart","image_url":"https://esphome.io/images/badges/uart.svg","multi_conf":true,"name":"UART Button"}, {"category":"event","dependencies":["uart"],"description":"The `uart` event platform monitors incoming data on the [UART bus](https://esphome.io/components/uart) and triggers events when predefined byte sequences are detected. Patterns are matched against the end of received data, making them ideal for detecting message terminators or commands with known endings.","docs_url":"https://esphome.io/components/event/uart/","id":"event.uart","image_url":"https://esphome.io/images/badges/uart.svg","multi_conf":true,"name":"UART Event"}, {"category":"packet_interface","dependencies":["uart"],"description":"A UART serial bus on ESPs","docs_url":"https://esphome.io/components/uart","id":"packet_interface.uart","image_url":"https://esphome.io/images/badges/uart.svg","multi_conf":true,"name":"UART Bus","provides":["binary_sensor","packet_interface"],"provides_id_paths":{"binary_sensor":[["session","binary_sensor","id"]],"packet_interface":[["encryption","id"],["id"],["reliability","id"],["session","id"]]}}, @@ -1110,9 +1110,9 @@ {"category":"sensor","dependencies":["uponor_smatrix"],"description":"An Uponor Smatrix Base Pulse underfloor heating control system in ESPHome.","docs_url":"https://esphome.io/components/uponor_smatrix","id":"sensor.uponor_smatrix","image_url":"https://esphome.io/images/uponor.svg","multi_conf":true,"name":"Uponor Smatrix Base Pulse Underfloor Heating","provides":["sensor"],"provides_id_paths":{"sensor":[["external_temperature","id"],["humidity","id"],["id"],["target_temperature","id"],["temperature","id"]]}}, {"category":"sensor","description":"The `uptime` sensor allows you to track the time the ESP has stayed up for in seconds. Time rollovers are automatically handled.","docs_url":"https://esphome.io/components/sensor/uptime/","id":"sensor.uptime","image_url":"https://esphome.io/images/timer.svg","multi_conf":true,"name":"Uptime Sensor"}, {"category":"text_sensor","description":"The `uptime` text sensor provides a human-readable representation the time since. The elements can be separated by a custom string, and more significant elements will be omitted if they are zero. For example, if the uptime is 1 day, 2 hours, 3 minutes, and 4 seconds, the sensor will report `1d2h3m4s` with the default configuration. By default leading zero elements will be trimmed from the output, e.g. if the uptime is 0 days, 0 hours, 3 minutes, and 0 seconds, the sensor will report `3m0s`. This can be disabled by setting `expand` to `true`.","docs_url":"https://esphome.io/components/text_sensor/uptime/","id":"text_sensor.uptime","image_url":"https://esphome.io/images/timer.svg","multi_conf":true,"name":"Uptime Text Sensor"}, -{"category":"misc","dependencies":["esp32"],"description":"The `usb_audio` component lets an ESP32 act as a USB host for USB Audio Class (UAC) devices such as USB sound cards, USB DACs, USB microphones and USB speakerphones. A connected device can be used as a [USB Audio Speaker](https://esphome.io/components/speaker/usb_audio/), a [USB Audio Microphone](https://esphome.io/components/microphone/usb_audio/), or both. Each `usb_audio` component supports one speaker and one microphone.","id":"usb_audio","name":"USB Audio","supported_platforms":["esp32"]}, -{"category":"microphone","dependencies":["usb_audio"],"description":"The `usb_audio` microphone platform receives audio from a USB audio device, such as a USB microphone, sound card or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","id":"microphone.usb_audio","multi_conf":true,"name":"USB Audio Microphone","supported_platforms":["esp32"]}, -{"category":"speaker","dependencies":["usb_audio"],"description":"The `usb_audio` speaker platform plays audio on a USB audio device, such as a USB sound card, DAC or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","id":"speaker.usb_audio","multi_conf":true,"name":"USB Audio Speaker","supported_platforms":["esp32"]}, +{"category":"misc","dependencies":["esp32"],"description":"The `usb_audio` component lets an ESP32 act as a USB host for USB Audio Class (UAC) devices such as USB sound cards, USB DACs, USB microphones and USB speakerphones. A connected device can be used as a [USB Audio Speaker](https://esphome.io/components/speaker/usb_audio/), a [USB Audio Microphone](https://esphome.io/components/microphone/usb_audio/), or both. Each `usb_audio` component supports one speaker and one microphone.","docs_url":"https://esphome.io/components/usb_audio/","id":"usb_audio","image_url":"https://esphome.io/images/usb.svg","name":"USB Audio","supported_platforms":["esp32"]}, +{"category":"microphone","dependencies":["usb_audio"],"description":"The `usb_audio` microphone platform receives audio from a USB audio device, such as a USB microphone, sound card or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","docs_url":"https://esphome.io/components/microphone/usb_audio/","id":"microphone.usb_audio","image_url":"https://esphome.io/images/usb.svg","multi_conf":true,"name":"USB Audio Microphone","supported_platforms":["esp32"]}, +{"category":"speaker","dependencies":["usb_audio"],"description":"The `usb_audio` speaker platform plays audio on a USB audio device, such as a USB sound card, DAC or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","docs_url":"https://esphome.io/components/speaker/usb_audio/","id":"speaker.usb_audio","image_url":"https://esphome.io/images/usb.svg","multi_conf":true,"name":"USB Audio Speaker","supported_platforms":["esp32"]}, {"category":"misc","description":"The USB CDC-ACM (Communications Device Class - Abstract Control Model) component enables supported devices to function as USB virtual serial ports. When connected to a host computer, the microcontroller will appear as one or more serial/COM ports, allowing serial communication with the application running on the microcontroller.","docs_url":"https://esphome.io/components/usb_cdc_acm/","id":"usb_cdc_acm","image_url":"https://esphome.io/images/usb.svg","name":"USB CDC-ACM Interface","provides":["uart"],"provides_id_paths":{"uart":[["interfaces","id"]]}}, {"category":"misc","dependencies":["esp32"],"description":"The USB Host interface on the ESP32-S2, ESP32-S3, ESP32-S31, ESP32-P4 and ESP32-H4 is used to connect to USB peripheral devices. Multiple devices may be configured, but only one can be connected at any time. By default the device must be directly connected to the ESP32, but this can be changed by setting the `enable_hubs` option to `true`.","docs_url":"https://esphome.io/components/usb_host/","id":"usb_host","image_url":"https://esphome.io/images/usb.svg","name":"USB Host Interface","supported_platforms":["esp32"]}, {"category":"misc","dependencies":["esp32"],"description":"This component allows an ESP32 with USB host support (ESP32-S2, ESP32-S3, ESP32-S31, ESP32-P4 or ESP32-H4) to host USB-serial peripheral devices. It uses the [Usb Host](https://esphome.io/components/usb_host/) component to interface to the device as a USB-OTG host.","docs_url":"https://esphome.io/components/usb_uart/","id":"usb_uart","image_url":"https://esphome.io/images/usb.svg","name":"USB Host UART Interface","provides":["uart"],"provides_id_paths":{"uart":[["channels","id"]]},"supported_platforms":["esp32"]}, @@ -1120,16 +1120,16 @@ {"category":"binary_sensor","dependencies":["uart","vbus"],"description":"The `VBus` Component provides status reading connectivity to solar heat energy collector controllers using VBus protocol. These devices are mainly produced by Resol, often also found under different brand names like Viessmann, Kioto, Wagner etc. The component currently supports natively the models in the table below but any device can be added via lambda by knowing [its packet structure](https://danielwippermann.github.io/resol-vbus).","docs_url":"https://esphome.io/components/vbus/","id":"binary_sensor.vbus","image_url":"https://esphome.io/images/resol_deltasol_bs_plus.jpg","multi_conf":true,"name":"VBus Component","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["binary_sensors","id"],["collector_frost","id"],["collector_max","id"],["collector_min","id"],["frost_protection_active","id"],["hqm","id"],["recooling","id"],["relay1","id"],["relay2","id"],["sensor1_error","id"],["sensor2_error","id"],["sensor3_error","id"],["sensor4_error","id"],["tube_collector","id"]]}}, {"category":"sensor","dependencies":["uart","vbus"],"description":"The `VBus` Component provides status reading connectivity to solar heat energy collector controllers using VBus protocol. These devices are mainly produced by Resol, often also found under different brand names like Viessmann, Kioto, Wagner etc. The component currently supports natively the models in the table below but any device can be added via lambda by knowing [its packet structure](https://danielwippermann.github.io/resol-vbus).","docs_url":"https://esphome.io/components/vbus/","id":"sensor.vbus","image_url":"https://esphome.io/images/resol_deltasol_bs_plus.jpg","multi_conf":true,"name":"VBus Component","provides":["sensor"],"provides_id_paths":{"sensor":[["flow_rate","id"],["heat_quantity","id"],["operating_hours","id"],["operating_hours_1","id"],["operating_hours_2","id"],["pump_speed","id"],["pump_speed_1","id"],["pump_speed_2","id"],["sensors","id"],["temperature_1","id"],["temperature_2","id"],["temperature_3","id"],["temperature_4","id"],["temperature_5","id"],["time","id"],["version","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `veml3235` sensor platform allows you to use the Vishay VEML3235 ambient light sensor with ESPHome. Communication with the device is over [I²C](https://esphome.io/components/i2c), which must be present in your configuration.","docs_url":"https://esphome.io/components/sensor/veml3235/","id":"sensor.veml3235","image_url":"https://esphome.io/images/veml3235.jpg","multi_conf":true,"name":"VEML3235 Ambient Light Sensor"}, -{"category":"sensor","dependencies":["i2c"],"description":"The `veml6040` sensor platform allows you to use the Vishay VEML6040 RGBW color sensor with ESPHome. It reports the red, green, blue and white channels, illuminance and correlated color temperature. Communication with the device is over [I²C](https://esphome.io/components/i2c/), which must be present in your configuration.","id":"sensor.veml6040","multi_conf":true,"name":"VEML6040 RGBW Color Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["blue_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"],["white_channel","id"]]}}, +{"category":"sensor","dependencies":["i2c"],"description":"The `veml6040` sensor platform allows you to use the Vishay VEML6040 RGBW color sensor with ESPHome. It reports the red, green, blue and white channels, illuminance and correlated color temperature. Communication with the device is over [I²C](https://esphome.io/components/i2c/), which must be present in your configuration.","docs_url":"https://esphome.io/components/sensor/veml6040/","id":"sensor.veml6040","image_url":"https://esphome.io/images/badges/veml6040.svg","multi_conf":true,"name":"VEML6040 RGBW Color Sensor","provides":["sensor"],"provides_id_paths":{"sensor":[["blue_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"],["white_channel","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"You can configure all or any subset of the sensors described earlier. Each configured sensor is reported separately on each `update_interval`. All options from [Sensor](https://esphome.io/components/sensor) are supported.","docs_url":"https://esphome.io/components/sensor/veml7700/","id":"sensor.veml7700","image_url":"https://esphome.io/images/veml6030.jpg","multi_conf":true,"name":"VEML7700 and VEML6030 Ambient Light Sensors","provides":["sensor"],"provides_id_paths":{"sensor":[["actual_gain","id"],["actual_integration_time","id"],["ambient_light","id"],["ambient_light_counts","id"],["full_spectrum","id"],["full_spectrum_counts","id"],["infrared","id"]]}}, {"category":"text_sensor","description":"The `version` text sensor platform exposes the ESPHome version the firmware was compiled against as a text sensor.","docs_url":"https://esphome.io/components/text_sensor/version/","id":"text_sensor.version","image_url":"https://esphome.io/images/new-box.svg","multi_conf":true,"name":"Version Text Sensor"}, -{"category":"misc","dependencies":["remote_receiver"],"description":"The `vevor_dtx` component decodes the internal DTX data signal used by some Vevor 7-in-1 weather station receiver displays. It is intended for installations where an ESP is connected to the receiver board data signal, rather than receiving the outdoor sensor's RF transmission directly.","id":"vevor_dtx","multi_conf":true,"name":"Vevor DTX Weather Station"}, -{"category":"binary_sensor","dependencies":["vevor_dtx"],"description":"","id":"binary_sensor.vevor_dtx","multi_conf":true,"name":"Vevor Dtx","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["low_battery","id"]]}}, -{"category":"sensor","dependencies":["vevor_dtx"],"description":"","id":"sensor.vevor_dtx","multi_conf":true,"name":"Vevor Dtx","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["illuminance","id"],["rain","id"],["temperature","id"],["tx_counter","id"],["uv_index","id"],["wind_direction_degrees","id"],["wind_gust","id"],["wind_speed","id"]]}}, -{"category":"text_sensor","dependencies":["vevor_dtx"],"description":"","id":"text_sensor.vevor_dtx","multi_conf":true,"name":"Vevor Dtx","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["sensor_id","id"]]}}, +{"category":"misc","dependencies":["remote_receiver"],"description":"The `vevor_dtx` component decodes the internal DTX data signal used by some Vevor 7-in-1 weather station receiver displays. It is intended for installations where an ESP is connected to the receiver board data signal, rather than receiving the outdoor sensor's RF transmission directly.","docs_url":"https://esphome.io/components/vevor_dtx/","id":"vevor_dtx","image_url":"https://esphome.io/images/weather-sunny.svg","multi_conf":true,"name":"Vevor DTX Weather Station"}, +{"category":"binary_sensor","dependencies":["vevor_dtx"],"description":"Vevor 7-in-1 weather station sensors using the internal DTX signal","docs_url":"https://esphome.io/components/vevor_dtx","id":"binary_sensor.vevor_dtx","image_url":"https://esphome.io/images/weather-sunny.svg","multi_conf":true,"name":"Vevor DTX Weather Station","provides":["binary_sensor"],"provides_id_paths":{"binary_sensor":[["low_battery","id"]]}}, +{"category":"sensor","dependencies":["vevor_dtx"],"description":"Vevor 7-in-1 weather station sensors using the internal DTX signal","docs_url":"https://esphome.io/components/vevor_dtx","id":"sensor.vevor_dtx","image_url":"https://esphome.io/images/weather-sunny.svg","multi_conf":true,"name":"Vevor DTX Weather Station","provides":["sensor"],"provides_id_paths":{"sensor":[["humidity","id"],["illuminance","id"],["rain","id"],["temperature","id"],["tx_counter","id"],["uv_index","id"],["wind_direction_degrees","id"],["wind_gust","id"],["wind_speed","id"]]}}, +{"category":"text_sensor","dependencies":["vevor_dtx"],"description":"Vevor 7-in-1 weather station sensors using the internal DTX signal","docs_url":"https://esphome.io/components/vevor_dtx","id":"text_sensor.vevor_dtx","image_url":"https://esphome.io/images/weather-sunny.svg","multi_conf":true,"name":"Vevor DTX Weather Station","provides":["text_sensor"],"provides_id_paths":{"text_sensor":[["sensor_id","id"]]}}, {"category":"sensor","dependencies":["i2c"],"description":"The `vl53l0x` sensor platform allows you to use VL53L0X optical time of flight ([datasheet](https://www.st.com/resource/en/datasheet/vl53l0x.pdf), [ST](https://www.st.com/en/imaging-and-photonics-solutions/vl53l0x.html)) with ESPHome to measure distances. The sensor works optically by emitting short infrared pulses and measuring the time it takes the light to be reflected back","docs_url":"https://esphome.io/components/sensor/vl53l0x/","id":"sensor.vl53l0x","image_url":"https://esphome.io/images/vl53l0x.jpg","multi_conf":true,"name":"VL53L0X Time Of Flight Distance Sensor"}, -{"category":"sensor","dependencies":["i2c"],"description":"The `vl53l1x` sensor platform allows you to use VL53L1X optical time of flight ([datasheet](https://www.st.com/resource/en/datasheet/vl53l1x.pdf), [ST](https://www.st.com/en/imaging-and-photonics-solutions/vl53l1x.html)) sensors with ESPHome to measure distances. The sensor works optically by emitting short infrared pulses and measuring the time it takes the light to be reflected back.","id":"sensor.vl53l1x","multi_conf":true,"name":"VL53L1X Time Of Flight Distance Sensor"}, -{"category":"misc","dependencies":["display"],"description":"The `vnc` component connects to a VNC server and shows its screen on a [display](https://esphome.io/components/display/). It connects when the device starts, reconnects by itself when the server goes away, and can send touches, key presses and pointer clicks back to the server.","id":"vnc","multi_conf":true,"name":"VNC Client"}, +{"category":"sensor","dependencies":["i2c"],"description":"The `vl53l1x` sensor platform allows you to use VL53L1X optical time of flight ([datasheet](https://www.st.com/resource/en/datasheet/vl53l1x.pdf), [ST](https://www.st.com/en/imaging-and-photonics-solutions/vl53l1x.html)) sensors with ESPHome to measure distances. The sensor works optically by emitting short infrared pulses and measuring the time it takes the light to be reflected back.","docs_url":"https://esphome.io/components/sensor/vl53l1x/","id":"sensor.vl53l1x","image_url":"https://esphome.io/images/vl53l1x.jpg","multi_conf":true,"name":"VL53L1X Time Of Flight Distance Sensor"}, +{"category":"misc","dependencies":["display"],"description":"The `vnc` component connects to a VNC server and shows its screen on a [display](https://esphome.io/components/display/). It connects when the device starts, reconnects by itself when the server goes away, and can send touches, key presses and pointer clicks back to the server.","docs_url":"https://esphome.io/components/vnc/","id":"vnc","image_url":"https://esphome.io/images/vnc.svg","multi_conf":true,"name":"VNC Client"}, {"category":"misc","dependencies":["api","microphone","esp32"],"description":"ESPHome devices with a microphone are able to stream the audio to Home Assistant and be processed there by [assist](https://www.home-assistant.io/voice_control/).","docs_url":"https://esphome.io/components/voice_assistant/","id":"voice_assistant","image_url":"https://esphome.io/images/voice-assistant.svg","name":"Voice Assistant","supported_platforms":["esp32"]}, {"category":"button","description":"The `wake_on_lan` button platform allows you to send a Wake-on-LAN magic packet to a computer on the network by specifying its MAC address.","docs_url":"https://esphome.io/components/button/wake_on_lan/","id":"button.wake_on_lan","image_url":"https://esphome.io/images/power_settings.svg","multi_conf":true,"name":"Wake-on-LAN Button"}, {"bus_constraints":{"spi":{"require_mosi":true}},"category":"display","dependencies":["spi"],"description":"The `waveshare_epaper` display platform allows you to use some E-Paper displays sold by [Waveshare](https://www.waveshare.com/product/displays/e-paper.htm) with ESPHome. The 2.13\" [TTGO module](https://github.com/lewisxhe/TTGO-EPaper-Series) and the [Waveshare Cloud Module](https://www.waveshare.com/wiki/2.13inch_e-Paper_Cloud_Module) with an ESP32 on the board are supported as well. Depending on your specific revision of the TTGO board you might need to try out the `-b73` or `-b1` version (see below). The 1.54\" [Good Display gdew0154m09](https://www.good-display.com/product/206.html) as used in the [M5Stack Core Ink](https://shop.m5stack.com/products/m5stack-esp32-core-ink-development-kit1-54-elnk-display) is also supported. Similar modules sold by other vendors might also work but not have been tested yet.","docs_url":"https://esphome.io/components/display/waveshare_epaper/","id":"display.waveshare_epaper","image_url":"https://esphome.io/images/waveshare_epaper.jpg","multi_conf":true,"name":"Waveshare E-Paper Display"}, @@ -1192,7 +1192,7 @@ {"category":"touchscreen","dependencies":["spi"],"description":"The `xpt2046` touchscreen platform allows using the resistive touch screen controllers based on the XPT2046 chip ([datasheet](https://grobotronics.com/images/datasheets/xpt2046-datasheet.pdf), [AZ-Delivery](https://www.az-delivery.de/en/products/2-4-tft-lcd-touch-display)) with ESPHome. Many cheap LCD displays contain this controller. The [SPI](https://esphome.io/components/spi) is required to be set up in your configuration for this sensor to work.","docs_url":"https://esphome.io/components/touchscreen/xpt2046/","id":"touchscreen.xpt2046","image_url":"https://esphome.io/images/xpt2046.jpg","multi_conf":true,"name":"XPT2046 Touch Screen Controller (Updated version)"}, {"category":"climate","description":"","docs_url":"https://esphome.io/components/climate/climate_ir","id":"climate.yashima","multi_conf":true,"name":"Yashima"}, {"category":"misc","description":"The `zephyr_ble_server` component enables a Bluetooth Low Energy GATT server on devices running the Zephyr RTOS. It supports secure pairing flows, including the **Numeric Comparison** passkey confirmation model defined in the Bluetooth specification.","docs_url":"https://esphome.io/components/zephyr_ble_server/","id":"zephyr_ble_server","image_url":"https://esphome.io/images/bluetooth.svg","name":"Zephyr BLE Server"}, -{"category":"misc","dependencies":["logger"],"description":"The `zephyr_coredump` component helps debug crashes on [nRF52](https://esphome.io/components/nrf52/) devices without a debug probe. When the firmware crashes, Zephyr saves the CPU registers and the stacks of all threads to a 32 KB partition at the top of the application flash. After the restart the stored dump is printed in the log as hex-encoded `#CD:` lines and then erased. The Zephyr coredump tools turn that log into a GDB session with a full backtrace.","id":"zephyr_coredump","name":"Zephyr Coredump"}, +{"category":"misc","dependencies":["logger"],"description":"The `zephyr_coredump` component helps debug crashes on [nRF52](https://esphome.io/components/nrf52/) devices without a debug probe. When the firmware crashes, Zephyr saves the CPU registers and the stacks of all threads to a 32 KB partition at the top of the application flash. After the restart the stored dump is printed in the log as hex-encoded `#CD:` lines and then erased. The Zephyr coredump tools turn that log into a GDB session with a full backtrace.","docs_url":"https://esphome.io/components/zephyr_coredump/","id":"zephyr_coredump","image_url":"https://esphome.io/images/bug-report.svg","name":"Zephyr Coredump"}, {"category":"ota","dependencies":["zephyr"],"description":"The nRF52 platform supports firmware updates over the air (OTA). This page covers updates with **MCUboot**; boards with the Adafruit nRF52 Bootloader can be updated over BLE with [Adafruit BLE OTA](https://esphome.io/components/ota/adafruit_ble/) instead. MCUboot can be used as a second-stage bootloader, enabling OTA updates even when the board was originally shipped with a different bootloader.","docs_url":"https://esphome.io/components/ota/zephyr_mcumgr/","id":"ota.zephyr_mcumgr","image_url":"https://esphome.io/images/system-update.svg","multi_conf":true,"name":"nRF52 Firmware Updates"}, {"category":"output","dependencies":["zephyr"],"description":"The Zephyr PWM platform allows you to use a hardware PWM on chips running the Zephyr RTOS like nRF52.","docs_url":"https://esphome.io/components/output/zephyr_pwm/","id":"output.zephyr_pwm","image_url":"https://esphome.io/images/pwm.png","multi_conf":true,"name":"Zephyr PWM Output"}, {"category":"climate","dependencies":["remote_transmitter"],"description":"The `zhlt01` climate and protocol, based on the ZH/LT-01 remote controller, is used with many locally branded air conditioners, like: Eurom, Chigo, Tristar, Tecnomaster, Elgin, Geant, Tekno, Topair, Proma, Sumikura, JBS, Turbo Air, Nakatomy, Celestial Air, Ager, Blueway, Airlux, etc.","docs_url":"https://esphome.io/components/climate/climate_ir/","id":"climate.zhlt01","multi_conf":true,"name":"IR Remote Climate"}, @@ -1204,5 +1204,5 @@ {"category":"ota","description":"Over-the-Air firmware updates. When `ota:` is configured as a bare mapping (no `- platform:` list — the legacy form), ESPHome implicitly uses the `esphome` platform. Modern configs select a platform explicitly: available platforms are `adafruit_ble`, `esphome`, `http_request`, `web_server`, `zephyr_mcumgr`.","docs_url":"https://esphome.io/components/ota/","id":"ota","image_url":"https://esphome.io/images/system-update.svg","name":"OTA Updates"}, {"category":"time","description":"Time source / real-time clock for the device. When `time:` is configured as a bare mapping (no `- platform:` list — the legacy form), ESPHome implicitly uses the `homeassistant` platform. Modern configs select a platform explicitly: available platforms are `bm8563`, `ds1307`, `ds3231`, `gps`, `homeassistant`, `host`, `pcf85063`, `pcf8563`, `rx8025t`, `rx8111`, `rx8130`, `sntp`, `template`, `zigbee`.","docs_url":"https://esphome.io/components/time/","id":"time","image_url":"https://esphome.io/images/home-assistant.svg","name":"Time Source"} ], -"esphome_schema_version":"2026.11.0b4" +"esphome_schema_version":"2026.11.0" } diff --git a/esphome_device_builder/definitions/components/as734x.json b/esphome_device_builder/definitions/components/as734x.json index 060e547401..e3b56f6b39 100644 --- a/esphome_device_builder/definitions/components/as734x.json +++ b/esphome_device_builder/definitions/components/as734x.json @@ -1 +1 @@ -{"id":"as734x","name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","description":"The `as734x` component allows you to use the AS7341 ([datasheet](https://look.ams-osram.com/m/24266a3e584de4db/original/AS7341-DS000504.pdf), [Adafruit](https://www.adafruit.com/product/4698)) and AS7343 ([datasheet](https://look.ams-osram.com/m/5f2d27fff9a874d2/original/AS7343-14-Channel-Multi-Spectral-Sensor.pdf)) spectral color sensors with ESPHome. The TCS3448 ([datasheet](https://look.ams-osram.com/m/1c24b057e65ee61e/original/TCS3448-14-Channel-multi-spectral-sensor.pdf)) is supported as well: it replaces the AS7343 and shares its channels, register map and calibration, so everything written below about the AS7343 applies to it too. The sensor is selected with the `type` option. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","required":true,"options":[{"label":"AS7341","value":"AS7341"},{"label":"AS7343","value":"AS7343"},{"label":"TCS3448","value":"TCS3448"}],"display_format":null},{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x39`, or to `0x59` when `type` is `TCS3448`, which answers on a different address than the AS7343.","default_value":"57","range":[0,255],"display_format":"hex","depends_on":"type","depends_on_value_any":["AS7341","AS7343"]},{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x39`, or to `0x59` when `type` is `TCS3448`, which answers on a different address than the AS7343.","default_value":"89","range":[0,255],"display_format":"hex","depends_on":"type","depends_on_value_any":["TCS3448"]},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the [I²C Component](https://esphome.io/components/i2c/) if you want to use multiple I²C buses.","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component. Set it when you have more than one `as734x` sensor.","advanced":true},{"key":"astep","type":"integer","label":"Astep","description":"The length of one integration step in increments of 2.78µs. Defaults to `599`. Must be between `0` and `65534`.","default_value":"599","range":[0,65534],"display_format":null,"advanced":true},{"key":"atime","type":"integer","label":"Atime","description":"The number of integration steps. Defaults to `29`. Must be between `0` and `255`.","default_value":"29","range":[0,255],"display_format":null,"advanced":true},{"key":"calibration","type":"nested","label":"Calibration","description":"Corrections applied while converting raw counts to basic counts. See [Calibration](https://esphome.io/components/sensor/as734x/#calibration) below.","default_value":"{}","display_format":null,"depends_on":"type","advanced":true,"config_entries":[{"key":"channel_correction","type":"float","label":"Channel Correction","description":"One factor per channel, in the order given under [Channel Order](https://esphome.io/components/sensor/as734x/#channel-order). The list length must match the model: 10 values for the AS7341, 13 for the AS7343 and TCS3448. Defaults to the manufacturer's factors for the AS7343 and TCS3448, and to all ones for the AS7341.","default_value":"[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]","display_format":null,"multi_value":true,"advanced":true},{"key":"dark_current","type":"float","label":"Dark Current","description":"One dark current offset per channel, in basic counts, subtracted before the corrections are applied. Same length rule as `channel_correction`. Defaults to all zeroes.","default_value":"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]","display_format":null,"multi_value":true,"advanced":true},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"A single factor compensating for any cover glass in front of the sensor. Defaults to `1.0`, meaning no cover.","default_value":"1.0","display_format":null,"advanced":true}],"depends_on_value_any":["AS7341"]},{"key":"calibration","type":"nested","label":"Calibration","description":"Corrections applied while converting raw counts to basic counts. See [Calibration](https://esphome.io/components/sensor/as734x/#calibration) below.","default_value":"{}","display_format":null,"depends_on":"type","advanced":true,"config_entries":[{"key":"channel_correction","type":"float","label":"Channel Correction","description":"One factor per channel, in the order given under [Channel Order](https://esphome.io/components/sensor/as734x/#channel-order). The list length must match the model: 10 values for the AS7341, 13 for the AS7343 and TCS3448. Defaults to the manufacturer's factors for the AS7343 and TCS3448, and to all ones for the AS7341.","default_value":"[1.055464349, 1.043509797, 1.029576268, 1.0175052, 1.00441899, 0.987356499, 0.957597044, 0.995863485, 1.014628964, 0.996500814, 0.933072749, 1.052236338, 0.999570232]","display_format":null,"multi_value":true,"advanced":true},{"key":"dark_current","type":"float","label":"Dark Current","description":"One dark current offset per channel, in basic counts, subtracted before the corrections are applied. Same length rule as `channel_correction`. Defaults to all zeroes.","default_value":"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]","display_format":null,"multi_value":true,"advanced":true},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"A single factor compensating for any cover glass in front of the sensor. Defaults to `1.0`, meaning no cover.","default_value":"1.0","display_format":null,"advanced":true}],"depends_on_value_any":["AS7343","TCS3448"]},{"key":"gain","type":"string","label":"Gain","description":"The gain used by the device. A higher gain may be more suitable for lower-light environments. Defaults to `X8`.","default_value":"X8","options":[{"label":"X0.5","value":"X0.5"},{"label":"X1","value":"X1"},{"label":"X2","value":"X2"},{"label":"X4","value":"X4"},{"label":"X8","value":"X8"},{"label":"X16","value":"X16"},{"label":"X32","value":"X32"},{"label":"X64","value":"X64"},{"label":"X128","value":"X128"},{"label":"X256","value":"X256"},{"label":"X512","value":"X512"}],"display_format":null,"depends_on":"type","advanced":true,"depends_on_value_any":["AS7341"]},{"key":"gain","type":"string","label":"Gain","description":"The gain used by the device. A higher gain may be more suitable for lower-light environments. Defaults to `X8`.","default_value":"X8","options":[{"label":"X0.5","value":"X0.5"},{"label":"X1","value":"X1"},{"label":"X2","value":"X2"},{"label":"X4","value":"X4"},{"label":"X8","value":"X8"},{"label":"X16","value":"X16"},{"label":"X32","value":"X32"},{"label":"X64","value":"X64"},{"label":"X128","value":"X128"},{"label":"X256","value":"X256"},{"label":"X512","value":"X512"},{"label":"`AS7343` and `TCS3448` only","value":"X1024"},{"label":"`AS7343` and `TCS3448` only","value":"X2048"}],"display_format":null,"depends_on":"type","advanced":true,"depends_on_value_any":["AS7343","TCS3448"]},{"key":"normalize_basic_counts","type":"string","label":"Normalize Basic Counts","description":"Divide every basic count by a common reference, so the published values describe the shape of the spectrum rather than its strength. Defaults to `NONE`.","default_value":"NONE","options":[{"label":"NONE","value":"NONE","description":"publish the basic counts as they are."},{"label":"ALL","value":"ALL","description":"divide by the largest basic count of any channel."},{"label":"BANDS","value":"BANDS","description":"divide by the largest basic count among the visible bands, ignoring clear and nir."},{"label":"CLEAR","value":"CLEAR","description":"divide by the basic count of the clear channel."}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"as734x","name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","description":"The `as734x` component allows you to use the AS7341 ([datasheet](https://look.ams-osram.com/m/24266a3e584de4db/original/AS7341-DS000504.pdf), [Adafruit](https://www.adafruit.com/product/4698)) and AS7343 ([datasheet](https://look.ams-osram.com/m/5f2d27fff9a874d2/original/AS7343-14-Channel-Multi-Spectral-Sensor.pdf)) spectral color sensors with ESPHome. The TCS3448 ([datasheet](https://look.ams-osram.com/m/1c24b057e65ee61e/original/TCS3448-14-Channel-multi-spectral-sensor.pdf)) is supported as well: it replaces the AS7343 and shares its channels, register map and calibration, so everything written below about the AS7343 applies to it too. The sensor is selected with the `type` option. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","category":"misc","docs_url":"https://esphome.io/components/sensor/as734x/","image_url":"https://esphome.io/images/as7341.jpg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","required":true,"options":[{"label":"AS7341","value":"AS7341"},{"label":"AS7343","value":"AS7343"},{"label":"TCS3448","value":"TCS3448"}],"display_format":null},{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x39`, or to `0x59` when `type` is `TCS3448`, which answers on a different address than the AS7343.","default_value":"57","range":[0,255],"display_format":"hex","depends_on":"type","help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables","depends_on_value_any":["AS7341","AS7343"]},{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x39`, or to `0x59` when `type` is `TCS3448`, which answers on a different address than the AS7343.","default_value":"89","range":[0,255],"display_format":"hex","depends_on":"type","help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables","depends_on_value_any":["TCS3448"]},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the [I²C Component](https://esphome.io/components/i2c/) if you want to use multiple I²C buses.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component. Set it when you have more than one `as734x` sensor.","advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"astep","type":"integer","label":"Astep","description":"The length of one integration step in increments of 2.78µs. Defaults to `599`. Must be between `0` and `65534`.","default_value":"599","range":[0,65534],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"atime","type":"integer","label":"Atime","description":"The number of integration steps. Defaults to `29`. Must be between `0` and `255`.","default_value":"29","range":[0,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"calibration","type":"nested","label":"Calibration","description":"Corrections applied while converting raw counts to basic counts. See [Calibration](https://esphome.io/components/sensor/as734x/#calibration) below.","default_value":"{}","display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables","config_entries":[{"key":"channel_correction","type":"float","label":"Channel Correction","description":"One factor per channel, in the order given under [Channel Order](https://esphome.io/components/sensor/as734x/#channel-order). The list length must match the model: 10 values for the AS7341, 13 for the AS7343 and TCS3448. Defaults to the manufacturer's factors for the AS7343 and TCS3448, and to all ones for the AS7341.","default_value":"[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"dark_current","type":"float","label":"Dark Current","description":"One dark current offset per channel, in basic counts, subtracted before the corrections are applied. Same length rule as `channel_correction`. Defaults to all zeroes.","default_value":"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"A single factor compensating for any cover glass in front of the sensor. Defaults to `1.0`, meaning no cover.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"}],"depends_on_value_any":["AS7341"]},{"key":"calibration","type":"nested","label":"Calibration","description":"Corrections applied while converting raw counts to basic counts. See [Calibration](https://esphome.io/components/sensor/as734x/#calibration) below.","default_value":"{}","display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables","config_entries":[{"key":"channel_correction","type":"float","label":"Channel Correction","description":"One factor per channel, in the order given under [Channel Order](https://esphome.io/components/sensor/as734x/#channel-order). The list length must match the model: 10 values for the AS7341, 13 for the AS7343 and TCS3448. Defaults to the manufacturer's factors for the AS7343 and TCS3448, and to all ones for the AS7341.","default_value":"[1.055464349, 1.043509797, 1.029576268, 1.0175052, 1.00441899, 0.987356499, 0.957597044, 0.995863485, 1.014628964, 0.996500814, 0.933072749, 1.052236338, 0.999570232]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"dark_current","type":"float","label":"Dark Current","description":"One dark current offset per channel, in basic counts, subtracted before the corrections are applied. Same length rule as `channel_correction`. Defaults to all zeroes.","default_value":"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"A single factor compensating for any cover glass in front of the sensor. Defaults to `1.0`, meaning no cover.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"}],"depends_on_value_any":["AS7343","TCS3448"]},{"key":"gain","type":"string","label":"Gain","description":"The gain used by the device. A higher gain may be more suitable for lower-light environments. Defaults to `X8`.","default_value":"X8","options":[{"label":"X0.5","value":"X0.5"},{"label":"X1","value":"X1"},{"label":"X2","value":"X2"},{"label":"X4","value":"X4"},{"label":"X8","value":"X8"},{"label":"X16","value":"X16"},{"label":"X32","value":"X32"},{"label":"X64","value":"X64"},{"label":"X128","value":"X128"},{"label":"X256","value":"X256"},{"label":"X512","value":"X512"}],"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables","depends_on_value_any":["AS7341"]},{"key":"gain","type":"string","label":"Gain","description":"The gain used by the device. A higher gain may be more suitable for lower-light environments. Defaults to `X8`.","default_value":"X8","options":[{"label":"X0.5","value":"X0.5"},{"label":"X1","value":"X1"},{"label":"X2","value":"X2"},{"label":"X4","value":"X4"},{"label":"X8","value":"X8"},{"label":"X16","value":"X16"},{"label":"X32","value":"X32"},{"label":"X64","value":"X64"},{"label":"X128","value":"X128"},{"label":"X256","value":"X256"},{"label":"X512","value":"X512"},{"label":"`AS7343` and `TCS3448` only","value":"X1024"},{"label":"`AS7343` and `TCS3448` only","value":"X2048"}],"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables","depends_on_value_any":["AS7343","TCS3448"]},{"key":"normalize_basic_counts","type":"string","label":"Normalize Basic Counts","description":"Divide every basic count by a common reference, so the published values describe the shape of the spectrum rather than its strength. Defaults to `NONE`.","default_value":"NONE","options":[{"label":"NONE","value":"NONE","description":"publish the basic counts as they are."},{"label":"ALL","value":"ALL","description":"divide by the largest basic count of any channel."},{"label":"BANDS","value":"BANDS","description":"divide by the largest basic count among the visible bands, ignoring clear and nir."},{"label":"CLEAR","value":"CLEAR","description":"divide by the basic count of the clear channel."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/audio_adc.es7243.json b/esphome_device_builder/definitions/components/audio_adc.es7243.json index efc51d0b63..e1c4f017cf 100644 --- a/esphome_device_builder/definitions/components/audio_adc.es7243.json +++ b/esphome_device_builder/definitions/components/audio_adc.es7243.json @@ -1 +1 @@ -{"id":"audio_adc.es7243","name":"ES7243","description":"The `es7243` platform allows your ESPHome devices to use the ES7243 stereo audio ADC ([datasheet](http://www.everest-semi.com/pdf/ES7243%20PB.pdf)). This allows attached microphones to be used as a microphone input via [I2S Audio](https://esphome.io/components/microphone/i2s_audio/). The chip is found on the ESP32-LyraT-Mini.","category":"audio_adc","dependencies":["i2c","i2s_audio"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the driver. Defaults to `0x13`.","default_value":"19","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C bus](https://esphome.io/components/i2c/) the ES7243 is connected to.","display_format":null,"references_component":"i2c"},{"key":"i2s_audio_id","type":"id","label":"I2S Audio ID","description":"The ID of the [I2S Audio](https://esphome.io/components/i2s_audio/) bus whose `i2s_mclk_pin` clocks the chip. Required when more than one bus is configured.","display_format":null,"references_component":"i2s_audio"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"mic_gain","type":"float_with_unit","label":"Mic Gain","description":"The gain applied to the ADC microphones. One of `1dB`, `3.5dB`, `18dB`, `20.5dB`, `22.5dB`, `24.5dB`, `25dB` or `27dB`. Defaults to `27dB`.","default_value":"27db","options":[{"label":"1","value":"1"},{"label":"18","value":"18"},{"label":"25","value":"25"},{"label":"27","value":"27"},{"label":"3.5","value":"3.5"},{"label":"20.5","value":"20.5"},{"label":"22.5","value":"22.5"},{"label":"24.5","value":"24.5"}],"display_format":null,"advanced":true,"unit_options":["dB","dBm"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"audio_adc.es7243","name":"ES7243","description":"The `es7243` platform allows your ESPHome devices to use the ES7243 stereo audio ADC ([datasheet](http://www.everest-semi.com/pdf/ES7243%20PB.pdf)). This allows attached microphones to be used as a microphone input via [I2S Audio](https://esphome.io/components/microphone/i2s_audio/). The chip is found on the ESP32-LyraT-Mini.","category":"audio_adc","docs_url":"https://esphome.io/components/audio_adc/es7243/","image_url":"https://esphome.io/images/badges/es7243.svg","dependencies":["i2c","i2s_audio"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the driver. Defaults to `0x13`.","default_value":"19","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/audio_adc/es7243/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C bus](https://esphome.io/components/i2c/) the ES7243 is connected to.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/audio_adc/es7243/#configuration-variables"},{"key":"i2s_audio_id","type":"id","label":"I2S Audio ID","description":"The ID of the [I2S Audio](https://esphome.io/components/i2s_audio/) bus whose `i2s_mclk_pin` clocks the chip. Required when more than one bus is configured.","display_format":null,"references_component":"i2s_audio","help_link":"https://esphome.io/components/audio_adc/es7243/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"mic_gain","type":"float_with_unit","label":"Mic Gain","description":"The gain applied to the ADC microphones. One of `1dB`, `3.5dB`, `18dB`, `20.5dB`, `22.5dB`, `24.5dB`, `25dB` or `27dB`. Defaults to `27dB`.","default_value":"27db","options":[{"label":"1","value":"1"},{"label":"18","value":"18"},{"label":"25","value":"25"},{"label":"27","value":"27"},{"label":"3.5","value":"3.5"},{"label":"20.5","value":"20.5"},{"label":"22.5","value":"22.5"},{"label":"24.5","value":"24.5"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_adc/es7243/#configuration-variables","unit_options":["dB","dBm"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/audio_dac.es9038q2m_katana.json b/esphome_device_builder/definitions/components/audio_dac.es9038q2m_katana.json index 0685a37887..1ad8c5b0f5 100644 --- a/esphome_device_builder/definitions/components/audio_dac.es9038q2m_katana.json +++ b/esphome_device_builder/definitions/components/audio_dac.es9038q2m_katana.json @@ -1 +1 @@ -{"id":"audio_dac.es9038q2m_katana","name":"ES9038Q2M Katana","description":"The `es9038q2m_katana` platform allows ESPHome devices to control DAC boards that expose an ES9038Q2M through an Allo Katana-compatible control interface.","category":"audio_dac","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the control interface. Defaults to `0x30`.","default_value":"48","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the I²C bus the device is connected to.","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bits_per_sample","type":"string","label":"Bits Per Sample","description":"The audio sample bit depth written to the format register during startup. One of `16bit`, `24bit`, or `32bit`. Defaults to `16bit`.","default_value":"16bit","options":[{"label":"16bit","value":"16bit"},{"label":"24bit","value":"24bit"},{"label":"32bit","value":"32bit"}],"display_format":null,"advanced":true},{"key":"deemphasis","type":"string","label":"Deemphasis","description":"Selects the de-emphasis curve. One of `bypass`, `32khz`, `44_1khz`, or `48khz`. Defaults to `bypass`.","default_value":"bypass","options":[{"label":"bypass","value":"bypass"},{"label":"32khz","value":"32khz"},{"label":"44_1khz","value":"44_1khz"},{"label":"48khz","value":"48khz"}],"display_format":null,"advanced":true},{"key":"dop","type":"boolean","label":"Dop","description":"Enables DoP mode on the control interface. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"filter_shape","type":"string","label":"Filter Shape","description":"Selects the DAC digital filter. One of `linear_phase_fast`, `linear_phase_slow`, `minimum_phase_fast`, `minimum_phase_slow`, `apodizing`, `hybrid`, or `brick_wall`. Defaults to `apodizing`.","default_value":"apodizing","options":[{"label":"linear_phase_fast","value":"linear_phase_fast"},{"label":"linear_phase_slow","value":"linear_phase_slow"},{"label":"minimum_phase_fast","value":"minimum_phase_fast"},{"label":"minimum_phase_slow","value":"minimum_phase_slow"},{"label":"apodizing","value":"apodizing"},{"label":"hybrid","value":"hybrid"},{"label":"brick_wall","value":"brick_wall"}],"display_format":null,"advanced":true},{"key":"sample_rate","type":"integer","label":"Sample Rate","description":"The sample rate written to the format register during startup. One of `44100`, `48000`, `88200`, `96000`, `176400`, `192000`, `352800`, or `384000`. Defaults to `48000`.","default_value":"48000","options":[{"label":"44100","value":"44100"},{"label":"48000","value":"48000"},{"label":"88200","value":"88200"},{"label":"96000","value":"96000"},{"label":"176400","value":"176400"},{"label":"192000","value":"192000"},{"label":"352800","value":"352800"},{"label":"384000","value":"384000"}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"audio_dac.es9038q2m_katana","name":"ES9038Q2M Katana","description":"The `es9038q2m_katana` platform allows ESPHome devices to control DAC boards that expose an ES9038Q2M through an Allo Katana-compatible control interface.","category":"audio_dac","docs_url":"https://esphome.io/components/audio_dac/es9038q2m_katana/","image_url":"https://esphome.io/images/badges/es9038q2m.svg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the control interface. Defaults to `0x30`.","default_value":"48","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/audio_dac/es9038q2m_katana/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the I²C bus the device is connected to.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/audio_dac/es9038q2m_katana/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bits_per_sample","type":"string","label":"Bits Per Sample","description":"The audio sample bit depth written to the format register during startup. One of `16bit`, `24bit`, or `32bit`. Defaults to `16bit`.","default_value":"16bit","options":[{"label":"16bit","value":"16bit"},{"label":"24bit","value":"24bit"},{"label":"32bit","value":"32bit"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/es9038q2m_katana/#configuration-variables"},{"key":"deemphasis","type":"string","label":"Deemphasis","description":"Selects the de-emphasis curve. One of `bypass`, `32khz`, `44_1khz`, or `48khz`. Defaults to `bypass`.","default_value":"bypass","options":[{"label":"bypass","value":"bypass"},{"label":"32khz","value":"32khz"},{"label":"44_1khz","value":"44_1khz"},{"label":"48khz","value":"48khz"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/es9038q2m_katana/#configuration-variables"},{"key":"dop","type":"boolean","label":"Dop","description":"Enables DoP mode on the control interface. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/es9038q2m_katana/#configuration-variables"},{"key":"filter_shape","type":"string","label":"Filter Shape","description":"Selects the DAC digital filter. One of `linear_phase_fast`, `linear_phase_slow`, `minimum_phase_fast`, `minimum_phase_slow`, `apodizing`, `hybrid`, or `brick_wall`. Defaults to `apodizing`.","default_value":"apodizing","options":[{"label":"linear_phase_fast","value":"linear_phase_fast"},{"label":"linear_phase_slow","value":"linear_phase_slow"},{"label":"minimum_phase_fast","value":"minimum_phase_fast"},{"label":"minimum_phase_slow","value":"minimum_phase_slow"},{"label":"apodizing","value":"apodizing"},{"label":"hybrid","value":"hybrid"},{"label":"brick_wall","value":"brick_wall"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/es9038q2m_katana/#configuration-variables"},{"key":"sample_rate","type":"integer","label":"Sample Rate","description":"The sample rate written to the format register during startup. One of `44100`, `48000`, `88200`, `96000`, `176400`, `192000`, `352800`, or `384000`. Defaults to `48000`.","default_value":"48000","options":[{"label":"44100","value":"44100"},{"label":"48000","value":"48000"},{"label":"88200","value":"88200"},{"label":"96000","value":"96000"},{"label":"176400","value":"176400"},{"label":"192000","value":"192000"},{"label":"352800","value":"352800"},{"label":"384000","value":"384000"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/es9038q2m_katana/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/bh1745.json b/esphome_device_builder/definitions/components/bh1745.json index 8537b5bc72..57410bbda6 100644 --- a/esphome_device_builder/definitions/components/bh1745.json +++ b/esphome_device_builder/definitions/components/bh1745.json @@ -1 +1 @@ -{"id":"bh1745","name":"BH1745 RGB Color Sensor","description":"The `bh1745` component allows you to use your BH1745 (BH1745NUC) RGB color sensor ([datasheet](https://github.com/latonita/datasheets-storage/blob/main/sensors/BH1745NUC_ROHM_S_A0001988929_1-2561519.pdf), [Pimoroni](https://shop.pimoroni.com/products/bh1745-luminance-and-colour-sensor-breakout)) with ESPHome. It reports the red, green, blue and clear channel readings and calculates the illuminance and the color temperature of the light.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the sensor. Defaults to `0x38`.","default_value":"56","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this hub. Use this if you want to use more than one BH1745 sensor.","advanced":true},{"key":"gain","type":"string","label":"Gain","description":"The gain of the internal ADC. Higher values work better in low light. One of `1X`, `2X` or `16X`. Defaults to `1X`.","default_value":"1X","options":[{"label":"1X","value":"1X"},{"label":"2X","value":"2X"},{"label":"16X","value":"16X"}],"display_format":null,"advanced":true},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"Use this when the sensor sits behind glass or another cover that blocks some of the light. The illuminance is multiplied by this value to make up for the lost light: `1.0` means all light passes through, `2.0` means half of it does. Must be at least `1.0`. Defaults to `1.0`.","default_value":"1.0","display_format":null,"advanced":true},{"key":"integration_time","type":"time_period","label":"Integration Time","description":"How long the sensor collects light for each measurement. Longer times work better in low light. One of `160ms`, `320ms`, `640ms`, `1280ms`, `2560ms` or `5120ms`. Defaults to `160ms`.","default_value":"160ms","display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"bh1745","name":"BH1745 RGB Color Sensor","description":"The `bh1745` component allows you to use your BH1745 (BH1745NUC) RGB color sensor ([datasheet](https://github.com/latonita/datasheets-storage/blob/main/sensors/BH1745NUC_ROHM_S_A0001988929_1-2561519.pdf), [Pimoroni](https://shop.pimoroni.com/products/bh1745-luminance-and-colour-sensor-breakout)) with ESPHome. It reports the red, green, blue and clear channel readings and calculates the illuminance and the color temperature of the light.","category":"misc","docs_url":"https://esphome.io/components/sensor/bh1745/","image_url":"https://esphome.io/images/bh1745.jpg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the sensor. Defaults to `0x38`.","default_value":"56","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this hub. Use this if you want to use more than one BH1745 sensor.","advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables"},{"key":"gain","type":"string","label":"Gain","description":"The gain of the internal ADC. Higher values work better in low light. One of `1X`, `2X` or `16X`. Defaults to `1X`.","default_value":"1X","options":[{"label":"1X","value":"1X"},{"label":"2X","value":"2X"},{"label":"16X","value":"16X"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables"},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"Use this when the sensor sits behind glass or another cover that blocks some of the light. The illuminance is multiplied by this value to make up for the lost light: `1.0` means all light passes through, `2.0` means half of it does. Must be at least `1.0`. Defaults to `1.0`.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables"},{"key":"integration_time","type":"time_period","label":"Integration Time","description":"How long the sensor collects light for each measurement. Longer times work better in low light. One of `160ms`, `320ms`, `640ms`, `1280ms`, `2560ms` or `5120ms`. Defaults to `160ms`.","default_value":"160ms","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/binary_sensor.bq25186.json b/esphome_device_builder/definitions/components/binary_sensor.bq25186.json index e88fbcf951..1280cd5ed4 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.bq25186.json +++ b/esphome_device_builder/definitions/components/binary_sensor.bq25186.json @@ -1 +1 @@ -{"id":"binary_sensor.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `binary_sensor` platform. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","category":"binary_sensor","dependencies":["bq25186"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"battery_ocp_flag","type":"nested","label":"Battery Ocp Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery overcurrent flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_uvlo","type":"nested","label":"Battery Uvlo","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery undervoltage status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_uvlo_flag","type":"nested","label":"Battery Uvlo Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery undervoltage flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186"},{"key":"charge_done","type":"nested","label":"Charge Done","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nCharge done (or disabled) status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"charging","type":"nested","label":"Charging","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nCharging status (constant current or constant voltage).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"battery_charging","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ilim","type":"nested","label":"Ilim","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nInput current limit active status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ilim_flag","type":"nested","label":"Ilim Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nILIM flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_good","type":"nested","label":"Power Good","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nPower good status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"plug","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"safety_timer_flag","type":"nested","label":"Safety Timer Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nSafety timer flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"thermreg","type":"nested","label":"Thermreg","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nThermal regulation active status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"thermreg_flag","type":"nested","label":"Thermreg Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nThermal regulation flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts","type":"nested","label":"Ts","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nTS open status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"opening","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts_flag","type":"nested","label":"Ts Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nTS flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vdppm","type":"nested","label":"Vdppm","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVDPPM active status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vdppm_flag","type":"nested","label":"Vdppm Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVDPPM flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vin_ovp","type":"nested","label":"Vin Ovp","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVIN overvoltage status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vin_ovp_flag","type":"nested","label":"Vin Ovp Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVIN overvoltage flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vindpm","type":"nested","label":"Vindpm","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVINDPM active status.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vindpm_flag","type":"nested","label":"Vindpm Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVINDPM flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wake1_flag","type":"nested","label":"Wake1 Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nWake1 flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wake2_flag","type":"nested","label":"Wake2 Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nWake2 flag.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"binary_sensor":[["battery_ocp_flag","id"],["battery_uvlo","id"],["battery_uvlo_flag","id"],["charge_done","id"],["charging","id"],["ilim","id"],["ilim_flag","id"],["power_good","id"],["safety_timer_flag","id"],["thermreg","id"],["thermreg_flag","id"],["ts","id"],["ts_flag","id"],["vdppm","id"],["vdppm_flag","id"],["vin_ovp","id"],["vin_ovp_flag","id"],["vindpm","id"],["vindpm_flag","id"],["wake1_flag","id"],["wake2_flag","id"]]}} +{"id":"binary_sensor.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `binary_sensor` platform. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","category":"binary_sensor","docs_url":"https://esphome.io/components/bq25186/","image_url":"https://esphome.io/images/badges/bq25186.svg","dependencies":["bq25186"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"battery_ocp_flag","type":"nested","label":"Battery Ocp Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery overcurrent flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_uvlo","type":"nested","label":"Battery Uvlo","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery undervoltage status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_uvlo_flag","type":"nested","label":"Battery Uvlo Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery undervoltage flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186","help_link":"https://esphome.io/components/bq25186/#binary-sensor"},{"key":"charge_done","type":"nested","label":"Charge Done","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nCharge done (or disabled) status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"charging","type":"nested","label":"Charging","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nCharging status (constant current or constant voltage).","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"battery_charging","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ilim","type":"nested","label":"Ilim","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nInput current limit active status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ilim_flag","type":"nested","label":"Ilim Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nILIM flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_good","type":"nested","label":"Power Good","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nPower good status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"plug","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"safety_timer_flag","type":"nested","label":"Safety Timer Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nSafety timer flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"thermreg","type":"nested","label":"Thermreg","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nThermal regulation active status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"thermreg_flag","type":"nested","label":"Thermreg Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nThermal regulation flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts","type":"nested","label":"Ts","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nTS open status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"opening","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts_flag","type":"nested","label":"Ts Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nTS flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vdppm","type":"nested","label":"Vdppm","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVDPPM active status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vdppm_flag","type":"nested","label":"Vdppm Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVDPPM flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vin_ovp","type":"nested","label":"Vin Ovp","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVIN overvoltage status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vin_ovp_flag","type":"nested","label":"Vin Ovp Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVIN overvoltage flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vindpm","type":"nested","label":"Vindpm","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVINDPM active status.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"running","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vindpm_flag","type":"nested","label":"Vindpm Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nVINDPM flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wake1_flag","type":"nested","label":"Wake1 Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nWake1 flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wake2_flag","type":"nested","label":"Wake2 Flag","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nWake2 flag.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#binary-sensor","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"binary_sensor":[["battery_ocp_flag","id"],["battery_uvlo","id"],["battery_uvlo_flag","id"],["charge_done","id"],["charging","id"],["ilim","id"],["ilim_flag","id"],["power_good","id"],["safety_timer_flag","id"],["thermreg","id"],["thermreg_flag","id"],["ts","id"],["ts_flag","id"],["vdppm","id"],["vdppm_flag","id"],["vin_ovp","id"],["vin_ovp_flag","id"],["vindpm","id"],["vindpm_flag","id"],["wake1_flag","id"],["wake2_flag","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.dfrobot_sen0609.json b/esphome_device_builder/definitions/components/binary_sensor.dfrobot_sen0609.json index 6db7571bd3..a832661491 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/binary_sensor.dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"binary_sensor.dfrobot_sen0609","name":"Dfrobot Sen0609","description":"","category":"binary_sensor","dependencies":["dfrobot_sen0609"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609"},{"key":"has_target","type":"nested","label":"Has Target","description":"`true` when the radar detects a target. In `presence` mode this is a person being present; in `speed_and_distance` mode it is a moving target. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:account","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true}],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}} +{"id":"binary_sensor.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"DFRobot SEN0609 and SEN0610 (C4001) mmWave presence radars.","category":"binary_sensor","docs_url":"https://esphome.io/components/dfrobot_sen0609","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["dfrobot_sen0609"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-1"},{"key":"has_target","type":"nested","label":"Has Target","description":"`true` when the radar detects a target. In `presence` mode this is a person being present; in `speed_and_distance` mode it is a moving target. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:account","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true}],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.ds3231.json b/esphome_device_builder/definitions/components/binary_sensor.ds3231.json index eea37c1917..5bdd18caae 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.ds3231.json +++ b/esphome_device_builder/definitions/components/binary_sensor.ds3231.json @@ -1 +1 @@ -{"id":"binary_sensor.ds3231","name":"DS3231 Binary Sensor","description":"The `ds3231` binary sensor platform reports the alarm flags and the oscillator-stop flag of a [DS3231 real-time clock](https://esphome.io/components/ds3231/).","category":"binary_sensor","dependencies":["ds3231"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"alarm_1","type":"nested","label":"Alarm 1","description":"On when alarm 1 fires. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:alarm","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"alarm_2","type":"nested","label":"Alarm 2","description":"On when alarm 2 fires. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:alarm","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ds3231_id","type":"id","label":"Ds3231 ID","description":"The ID of the [`ds3231`](https://esphome.io/components/ds3231/) hub to use when more than one is configured.","display_format":null,"references_component":"ds3231"},{"key":"oscillator_stopped","type":"nested","label":"Oscillator Stopped","description":"On when the chip's oscillator has stopped since the time was last written, which means the stored time is invalid (usually an empty or missing backup battery). Turns off after [`ds3231.write_time`](https://esphome.io/components/time/ds3231/#ds3231-write_time-action). All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}],"provides_id_paths":{"binary_sensor":[["alarm_1","id"],["alarm_2","id"],["oscillator_stopped","id"]]}} +{"id":"binary_sensor.ds3231","name":"DS3231 Binary Sensor","description":"The `ds3231` binary sensor platform reports the alarm flags and the oscillator-stop flag of a [DS3231 real-time clock](https://esphome.io/components/ds3231/).","category":"binary_sensor","docs_url":"https://esphome.io/components/binary_sensor/ds3231/","image_url":"https://esphome.io/images/ds3231.jpg","dependencies":["ds3231"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"alarm_1","type":"nested","label":"Alarm 1","description":"On when alarm 1 fires. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/ds3231/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:alarm","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"alarm_2","type":"nested","label":"Alarm 2","description":"On when alarm 2 fires. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/ds3231/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:alarm","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ds3231_id","type":"id","label":"Ds3231 ID","description":"The ID of the [`ds3231`](https://esphome.io/components/ds3231/) hub to use when more than one is configured.","display_format":null,"references_component":"ds3231","help_link":"https://esphome.io/components/binary_sensor/ds3231/#configuration-variables"},{"key":"oscillator_stopped","type":"nested","label":"Oscillator Stopped","description":"On when the chip's oscillator has stopped since the time was last written, which means the stored time is invalid (usually an empty or missing backup battery). Turns off after [`ds3231.write_time`](https://esphome.io/components/time/ds3231/#ds3231-write_time-action). All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/ds3231/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","description":"The ID of the ds3231 hub.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/ds3231/#configuration-variables"}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}],"provides_id_paths":{"binary_sensor":[["alarm_1","id"],["alarm_2","id"],["oscillator_stopped","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.ecocomfort2.json b/esphome_device_builder/definitions/components/binary_sensor.ecocomfort2.json index 8b60a92b4b..e0707bda90 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.ecocomfort2.json +++ b/esphome_device_builder/definitions/components/binary_sensor.ecocomfort2.json @@ -1 +1 @@ -{"id":"binary_sensor.ecocomfort2","name":"Ecocomfort2","description":"","category":"binary_sensor","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["binary_sensor"],"config_entries":[{"key":"boost","type":"nested","label":"Boost","description":"**Required — set at least one of:** `connected`, `boost`.\n\nOn while the unit runs its boost mode. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"connected","type":"nested","label":"Connected","description":"**Required — set at least one of:** `connected`, `boost`.\n\nOn while the ESP32 is connected and paired to the unit. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"connectivity","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2"}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"binary_sensor":[["boost","id"],["connected","id"]]}} +{"id":"binary_sensor.ecocomfort2","name":"Ecocomfort2","description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","category":"binary_sensor","docs_url":"https://esphome.io/components/ecocomfort2","image_url":"https://esphome.io/images/fan.svg","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["binary_sensor"],"config_entries":[{"key":"boost","type":"nested","label":"Boost","description":"**Required — set at least one of:** `connected`, `boost`.\n\nOn while the unit runs its boost mode. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-3","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"connected","type":"nested","label":"Connected","description":"**Required — set at least one of:** `connected`, `boost`.\n\nOn while the ESP32 is connected and paired to the unit. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-3","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"connectivity","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-3"}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"binary_sensor":[["boost","id"],["connected","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.haier_water_heater.json b/esphome_device_builder/definitions/components/binary_sensor.haier_water_heater.json index 05fbb42dc4..fb7ca92688 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.haier_water_heater.json +++ b/esphome_device_builder/definitions/components/binary_sensor.haier_water_heater.json @@ -1 +1 @@ -{"id":"binary_sensor.haier_water_heater","name":"Haier Water Heater","description":"","category":"binary_sensor","dependencies":["haier_water_heater"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"communication","type":"nested","label":"Communication","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"connectivity","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"haier_water_heater_id","type":"id","label":"Haier Water Heater ID","display_format":null,"references_component":"haier_water_heater"},{"key":"heating","type":"nested","label":"Heating","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"heat","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power","type":"nested","label":"Power","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["communication","id"],["heating","id"],["power","id"]]}} +{"id":"binary_sensor.haier_water_heater","name":"Haier Water Heater","description":"Configure local control and monitoring of Haier hOn water heaters over UART.","category":"binary_sensor","docs_url":"https://esphome.io/components/water_heater/haier_water_heater","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","dependencies":["haier_water_heater"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"communication","type":"nested","label":"Communication","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"connectivity","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"haier_water_heater_id","type":"id","label":"Haier Water Heater ID","display_format":null,"references_component":"haier_water_heater"},{"key":"heating","type":"nested","label":"Heating","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"heat","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power","type":"nested","label":"Power","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["communication","id"],["heating","id"],["power","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.husb238.json b/esphome_device_builder/definitions/components/binary_sensor.husb238.json index dc0ea498be..4d88c47a71 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.husb238.json +++ b/esphome_device_builder/definitions/components/binary_sensor.husb238.json @@ -1 +1 @@ -{"id":"binary_sensor.husb238","name":"HUSB238 USB Power Delivery Sink","description":"The `husb238` binary sensor platform reports whether a USB-C source is attached and which CC line is in use. Both sensors are diagnostic entities by default.","category":"binary_sensor","dependencies":["husb238"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"attached","type":"nested","label":"Attached","description":"On while a USB-C source is attached, whether or not it negotiated PD. Accepts either a name string or all options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"maybe_key":"name","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"plug","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"cc_direction","type":"nested","label":"Cc Direction","description":"Shows which CC line is in use: off for CC1, on for CC2. The state is unknown while nothing is attached. Accepts either a name string or all options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"maybe_key":"name","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"husb238_id","type":"id","label":"Husb238 ID","description":"The ID of the `husb238` component. Only needed if you have more than one.","display_format":null,"references_component":"husb238"}],"provides_id_paths":{"binary_sensor":[["attached","id"],["cc_direction","id"]]}} +{"id":"binary_sensor.husb238","name":"HUSB238 USB Power Delivery Sink","description":"The `husb238` binary sensor platform reports whether a USB-C source is attached and which CC line is in use. Both sensors are diagnostic entities by default.","category":"binary_sensor","docs_url":"https://esphome.io/components/husb238/","image_url":"https://esphome.io/images/husb238.jpg","dependencies":["husb238"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"attached","type":"nested","label":"Attached","description":"On while a USB-C source is attached, whether or not it negotiated PD. Accepts either a name string or all options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"maybe_key":"name","help_link":"https://esphome.io/components/husb238/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"plug","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"cc_direction","type":"nested","label":"Cc Direction","description":"Shows which CC line is in use: off for CC1, on for CC2. The state is unknown while nothing is attached. Accepts either a name string or all options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"maybe_key":"name","help_link":"https://esphome.io/components/husb238/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"husb238_id","type":"id","label":"Husb238 ID","description":"The ID of the `husb238` component. Only needed if you have more than one.","display_format":null,"references_component":"husb238","help_link":"https://esphome.io/components/husb238/#configuration-variables-1"}],"provides_id_paths":{"binary_sensor":[["attached","id"],["cc_direction","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.ld2410s.json b/esphome_device_builder/definitions/components/binary_sensor.ld2410s.json index d502eccee1..f39cee7daf 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.ld2410s.json +++ b/esphome_device_builder/definitions/components/binary_sensor.ld2410s.json @@ -1 +1 @@ -{"id":"binary_sensor.ld2410s","name":"Ld2410S","description":"","category":"binary_sensor","dependencies":["ld2410s"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"has_target","type":"nested","label":"Has Target","description":"True while the module detects a target. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:account","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s"}],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}} +{"id":"binary_sensor.ld2410s","name":"LD2410S Sensor","description":"HI-LINK LD2410S presence radar with ESPHome.","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","dependencies":["ld2410s"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"has_target","type":"nested","label":"Has Target","description":"True while the module detects a target. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:account","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s","help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-1"}],"provides_id_paths":{"binary_sensor":[["has_target","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.ld6004.json b/esphome_device_builder/definitions/components/binary_sensor.ld6004.json index 6f349b5a9e..0c9d096dcb 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.ld6004.json +++ b/esphome_device_builder/definitions/components/binary_sensor.ld6004.json @@ -1 +1 @@ -{"id":"binary_sensor.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` binary sensor provides presence detection for targets and detection areas.","category":"binary_sensor","dependencies":["ld6004"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"detection_area_0","type":"nested","label":"Detection Area 0","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_1","type":"nested","label":"Detection Area 1","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_2","type":"nested","label":"Detection Area 2","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_3","type":"nested","label":"Detection Area 3","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004"},{"key":"target","type":"nested","label":"Target","description":"True if any target is detected or any detection area reports presence. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_1","type":"nested","label":"Target 1","description":"True if target slot N (N = 1 to 3) is occupied: `target_1` through `target_3`. A person keeps the same slot for as long as they are tracked continuously, and a new person takes the lowest free slot. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_2","type":"nested","label":"Target 2","description":"True if target slot N (N = 1 to 3) is occupied: `target_1` through `target_3`. A person keeps the same slot for as long as they are tracked continuously, and a new person takes the lowest free slot. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_3","type":"nested","label":"Target 3","description":"True if target slot N (N = 1 to 3) is occupied: `target_1` through `target_3`. A person keeps the same slot for as long as they are tracked continuously, and a new person takes the lowest free slot. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["detection_area_0","id"],["detection_area_1","id"],["detection_area_2","id"],["detection_area_3","id"],["target","id"],["target_1","id"],["target_2","id"],["target_3","id"]]}} +{"id":"binary_sensor.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` binary sensor provides presence detection for targets and detection areas.","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["ld6004"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"detection_area_0","type":"nested","label":"Detection Area 0","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_1","type":"nested","label":"Detection Area 1","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_2","type":"nested","label":"Detection Area 2","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_3","type":"nested","label":"Detection Area 3","description":"True if presence is detected in detection area N (0 to 3): `detection_area_0`, `detection_area_1`, `detection_area_2`, `detection_area_3`. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1"},{"key":"target","type":"nested","label":"Target","description":"True if any target is detected or any detection area reports presence. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_1","type":"nested","label":"Target 1","description":"True if target slot N (N = 1 to 3) is occupied: `target_1` through `target_3`. A person keeps the same slot for as long as they are tracked continuously, and a new person takes the lowest free slot. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_2","type":"nested","label":"Target 2","description":"True if target slot N (N = 1 to 3) is occupied: `target_1` through `target_3`. A person keeps the same slot for as long as they are tracked continuously, and a new person takes the lowest free slot. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_3","type":"nested","label":"Target 3","description":"True if target slot N (N = 1 to 3) is occupied: `target_1` through `target_3`. A person keeps the same slot for as long as they are tracked continuously, and a new person takes the lowest free slot. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"occupancy","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["detection_area_0","id"],["detection_area_1","id"],["detection_area_2","id"],["detection_area_3","id"],["target","id"],["target_1","id"],["target_2","id"],["target_3","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.lis2dw12.json b/esphome_device_builder/definitions/components/binary_sensor.lis2dw12.json index e82defd224..8861c4bbbb 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.lis2dw12.json +++ b/esphome_device_builder/definitions/components/binary_sensor.lis2dw12.json @@ -1 +1 @@ -{"id":"binary_sensor.lis2dw12","name":"LIS2DW12 Sensor","description":"Four binary sensors available for use. Internal 500 ms debounce is applied for all sensors. Every sensor needs at least an **id** or a **name**. All other options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor). Shorthand notation also can be used.","category":"binary_sensor","dependencies":["lis2dw12"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"active","type":"nested","label":"Active","description":"Movement detection.","display_format":null,"maybe_key":"name","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:vibrate","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"double_tap","type":"nested","label":"Double Tap","description":"Double tap detection.","display_format":null,"maybe_key":"name","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:gesture-double-tap","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"freefall","type":"nested","label":"Freefall","description":"Free-fall detection.","display_format":null,"maybe_key":"name","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:parachute","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"lis2dw12_id","type":"id","label":"Lis2Dw12 ID","description":"The ID of the `lis2dw12_i2c` or `lis2dw12_spi` hub. Needed when more than one sensor is configured.","display_format":null,"references_component":"lis2dw12"},{"key":"tap","type":"nested","label":"Tap","description":"Single tap detection.","display_format":null,"maybe_key":"name","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:gesture-tap","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["active","id"],["double_tap","id"],["freefall","id"],["tap","id"]]}} +{"id":"binary_sensor.lis2dw12","name":"LIS2DW12 Sensor","description":"Four binary sensors available for use. Internal 500 ms debounce is applied for all sensors. Every sensor needs at least an **id** or a **name**. All other options from [Binary Sensor](https://esphome.io/components/binary_sensor/#config-binary_sensor). Shorthand notation also can be used.","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/lis2dw12/","image_url":"https://esphome.io/images/lis2dw12.jpg","dependencies":["lis2dw12"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"active","type":"nested","label":"Active","description":"Movement detection.","display_format":null,"maybe_key":"name","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:vibrate","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"double_tap","type":"nested","label":"Double Tap","description":"Double tap detection.","display_format":null,"maybe_key":"name","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:gesture-double-tap","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"freefall","type":"nested","label":"Freefall","description":"Free-fall detection.","display_format":null,"maybe_key":"name","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:parachute","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"lis2dw12_id","type":"id","label":"Lis2Dw12 ID","description":"The ID of the `lis2dw12_i2c` or `lis2dw12_spi` hub. Needed when more than one sensor is configured.","display_format":null,"references_component":"lis2dw12","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-1"},{"key":"tap","type":"nested","label":"Tap","description":"Single tap detection.","display_format":null,"maybe_key":"name","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-1","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","default_value":"mdi:gesture-tap","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"vibration","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["active","id"],["double_tap","id"],["freefall","id"],["tap","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.mt6701_spi.json b/esphome_device_builder/definitions/components/binary_sensor.mt6701_spi.json index dd78e22a6a..7d947ca567 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.mt6701_spi.json +++ b/esphome_device_builder/definitions/components/binary_sensor.mt6701_spi.json @@ -1 +1 @@ -{"id":"binary_sensor.mt6701_spi","name":"MT6701 14-Bit Magnetic Angle Sensor","description":"The `mt6701_spi` binary sensors expose the status flags carried in the SSI frame. They are only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","category":"binary_sensor","dependencies":["mt6701_spi"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the flags are read. A push has to be seen between two reads, so this is short. Defaults to `50ms`.","default_value":"50ms","display_format":null,"duration_min_unit":"ms"},{"key":"mt6701_spi_id","type":"id","label":"Mt6701 SPI ID","description":"The ID of the SSI/SPI hub.","display_format":null,"references_component":"mt6701_spi"},{"key":"push_button","type":"nested","label":"Push Button","description":"On when the magnetic push-button gesture is detected.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"track_loss","type":"nested","label":"Track Loss","description":"On when the encoder reports a tracking loss / overspeed condition.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"binary_sensor":[["push_button","id"],["track_loss","id"]]}} +{"id":"binary_sensor.mt6701_spi","name":"MT6701 14-Bit Magnetic Angle Sensor","description":"The `mt6701_spi` binary sensors expose the status flags carried in the SSI frame. They are only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/mt6701/","dependencies":["mt6701_spi"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the flags are read. A push has to be seen between two reads, so this is short. Defaults to `50ms`.","default_value":"50ms","display_format":null,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-3","duration_min_unit":"ms"},{"key":"mt6701_spi_id","type":"id","label":"Mt6701 SPI ID","description":"The ID of the SSI/SPI hub.","display_format":null,"references_component":"mt6701_spi","help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-3"},{"key":"push_button","type":"nested","label":"Push Button","description":"On when the magnetic push-button gesture is detected.","display_format":null,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-3","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"track_loss","type":"nested","label":"Track Loss","description":"On when the encoder reports a tracking loss / overspeed condition.","display_format":null,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-3","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"binary_sensor":[["push_button","id"],["track_loss","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.rx8111.json b/esphome_device_builder/definitions/components/binary_sensor.rx8111.json index c2a33af78e..2eb81d080a 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.rx8111.json +++ b/esphome_device_builder/definitions/components/binary_sensor.rx8111.json @@ -1 +1 @@ -{"id":"binary_sensor.rx8111","name":"RX8111 Binary Sensor","description":"The `rx8111` binary sensor platform reports the latched flags and live status of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component and its [I²C bus](https://esphome.io/components/i2c/) first.","category":"binary_sensor","dependencies":["time","rx8111"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"alarm_flag","type":"nested","label":"Alarm Flag","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched alarm flag (`FLAG.AF`). On means an alarm match has been recorded.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_low","type":"nested","label":"Battery Low","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe live backup-voltage status (`STATUS.VLOW`). On means the backup voltage at `VBAT` is below the chip's detection threshold. This is not a battery percentage. Defaults to the `battery` device class. Detection must already be enabled using `EVLOW` in register `0x35`; this component leaves that setting unchanged and does not provide a YAML option to enable it. An off state does not establish battery health when detection is disabled.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"battery","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"event_flag","type":"nested","label":"Event Flag","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched EVIN event flag (`FLAG.EVF`). On means an event has been recorded.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"evin","type":"nested","label":"Evin","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe sampled physical EVIN input level (`STATUS.EVIN`). On means high and off means low, independently of the configured event polarity. Short pulses between polls can be missed.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rx8111_id","type":"id","label":"RX8111 ID","description":"The RX8111 time component. Required when more than one RX8111 is configured.","display_format":null,"references_component":"rx8111"},{"key":"timer_flag","type":"nested","label":"Timer Flag","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched timer flag (`FLAG.TF`). On means a timer expiration has been recorded.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vlf","type":"nested","label":"Vlf","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched voltage-low flag (`FLAG.VLF`). On means the RTC reports low-voltage history and its time is not trusted. Defaults to the `problem` device class.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"xst","type":"nested","label":"Xst","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched oscillator-stop flag (`FLAG.XST`). On means an oscillator stop was detected, not that the oscillator is healthy. Defaults to the `problem` device class.","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["vlf","alarm_flag","timer_flag","xst","event_flag","battery_low","evin"]}],"provides_id_paths":{"binary_sensor":[["alarm_flag","id"],["battery_low","id"],["event_flag","id"],["evin","id"],["timer_flag","id"],["vlf","id"],["xst","id"]]}} +{"id":"binary_sensor.rx8111","name":"RX8111 Binary Sensor","description":"The `rx8111` binary sensor platform reports the latched flags and live status of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component and its [I²C bus](https://esphome.io/components/i2c/) first.","category":"binary_sensor","docs_url":"https://esphome.io/components/binary_sensor/rx8111/","image_url":"https://esphome.io/images/clock-outline.svg","dependencies":["time","rx8111"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"alarm_flag","type":"nested","label":"Alarm Flag","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched alarm flag (`FLAG.AF`). On means an alarm match has been recorded.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_low","type":"nested","label":"Battery Low","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe live backup-voltage status (`STATUS.VLOW`). On means the backup voltage at `VBAT` is below the chip's detection threshold. This is not a battery percentage. Defaults to the `battery` device class. Detection must already be enabled using `EVLOW` in register `0x35`; this component leaves that setting unchanged and does not provide a YAML option to enable it. An off state does not establish battery health when detection is disabled.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"battery","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"event_flag","type":"nested","label":"Event Flag","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched EVIN event flag (`FLAG.EVF`). On means an event has been recorded.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"evin","type":"nested","label":"Evin","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe sampled physical EVIN input level (`STATUS.EVIN`). On means high and off means low, independently of the configured event polarity. Short pulses between polls can be missed.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rx8111_id","type":"id","label":"RX8111 ID","description":"The RX8111 time component. Required when more than one RX8111 is configured.","display_format":null,"references_component":"rx8111","help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables"},{"key":"timer_flag","type":"nested","label":"Timer Flag","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched timer flag (`FLAG.TF`). On means a timer expiration has been recorded.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vlf","type":"nested","label":"Vlf","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched voltage-low flag (`FLAG.VLF`). On means the RTC reports low-voltage history and its time is not trusted. Defaults to the `problem` device class.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"xst","type":"nested","label":"Xst","description":"**Required — set at least one of:** `vlf`, `alarm_flag`, `timer_flag`, `xst`, `event_flag`, `battery_low`, `evin`.\n\nThe latched oscillator-stop flag (`FLAG.XST`). On means an oscillator stop was detected, not that the oscillator is healthy. Defaults to the `problem` device class.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/rx8111/#configuration-variables","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["vlf","alarm_flag","timer_flag","xst","event_flag","battery_low","evin"]}],"provides_id_paths":{"binary_sensor":[["alarm_flag","id"],["battery_low","id"],["event_flag","id"],["evin","id"],["timer_flag","id"],["vlf","id"],["xst","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.sen6x.json b/esphome_device_builder/definitions/components/binary_sensor.sen6x.json index c5c6078a66..6b58bbe123 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.sen6x.json +++ b/esphome_device_builder/definitions/components/binary_sensor.sen6x.json @@ -1 +1 @@ -{"id":"binary_sensor.sen6x","name":"SEN6x Series Environmental Sensor","description":"The `sen6x` binary sensor platform exposes the device status register as diagnostic entities. The register is read and cleared once per update cycle while measuring, so each error entity reports whether the problem occurred since the last update; `fan_speed_warning` shows the fan's state at the moment of the read. The entities keep their last state while the measurement is stopped.","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/sen6x/","image_url":"https://esphome.io/images/sen6x.webp","dependencies":["sen6x"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"sen6x_id","type":"id","label":"Sen6X ID","description":"The ID of the sen6x sensor component.","display_format":null,"references_component":"sen6x","help_link":"https://esphome.io/components/sensor/sen6x/"},{"key":"co2_error","type":"nested","label":"CO2 Error","description":"Error in the CO₂ sensor. Only available with SEN63C, SEN66 or SEN69C.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_error","type":"nested","label":"Fan Error","description":"The fan is switched on but not spinning.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_speed_warning","type":"nested","label":"Fan Speed Warning","description":"The fan speed is more than 10% off target. Not latched; clears by itself.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"gas_error","type":"nested","label":"Gas Error","description":"Error in the VOC/NOx gas sensor. Only available with SEN65, SEN66, SEN68 or SEN69C.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hcho_error","type":"nested","label":"Hcho Error","description":"Error in the formaldehyde sensor. Only available with SEN68 or SEN69C.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_error","type":"nested","label":"PM Error","description":"Error in the particulate matter sensor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rht_error","type":"nested","label":"Rht Error","description":"Error in the relative humidity and temperature sensor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["co2_error","id"],["fan_error","id"],["fan_speed_warning","id"],["gas_error","id"],["hcho_error","id"],["pm_error","id"],["rht_error","id"]]}} +{"id":"binary_sensor.sen6x","name":"SEN6x Series Environmental Sensor","description":"The `sen6x` binary sensor platform exposes the device status register as diagnostic entities. The register is read and cleared once per update cycle while measuring, so each error entity reports whether the problem occurred since the last update; `fan_speed_warning` shows the fan's state at the moment of the read. The entities keep their last state while the measurement is stopped.","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/sen6x/","image_url":"https://esphome.io/images/sen6x.webp","dependencies":["sen6x"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"sen6x_id","type":"id","label":"Sen6X ID","description":"The ID of the sen6x sensor component.","display_format":null,"references_component":"sen6x","help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1"},{"key":"co2_error","type":"nested","label":"CO2 Error","description":"Error in the CO₂ sensor. Only available with SEN63C, SEN66 or SEN69C.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_error","type":"nested","label":"Fan Error","description":"The fan is switched on but not spinning.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_speed_warning","type":"nested","label":"Fan Speed Warning","description":"The fan speed is more than 10% off target. Not latched; clears by itself.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"gas_error","type":"nested","label":"Gas Error","description":"Error in the VOC/NOx gas sensor. Only available with SEN65, SEN66, SEN68 or SEN69C.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hcho_error","type":"nested","label":"Hcho Error","description":"Error in the formaldehyde sensor. Only available with SEN68 or SEN69C.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_error","type":"nested","label":"PM Error","description":"Error in the particulate matter sensor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rht_error","type":"nested","label":"Rht Error","description":"Error in the relative humidity and temperature sensor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/sen6x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"problem","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"binary_sensor":[["co2_error","id"],["fan_error","id"],["fan_speed_warning","id"],["gas_error","id"],["hcho_error","id"],["pm_error","id"],["rht_error","id"]]}} diff --git a/esphome_device_builder/definitions/components/binary_sensor.tca8418.json b/esphome_device_builder/definitions/components/binary_sensor.tca8418.json index 7c6226ea5f..ede3957b0e 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.tca8418.json +++ b/esphome_device_builder/definitions/components/binary_sensor.tca8418.json @@ -1 +1 @@ -{"id":"binary_sensor.tca8418","name":"TCA8418 Keypad","description":"Individual keys can be added to ESPHome as `binary_sensor`:","category":"binary_sensor","dependencies":["tca8418"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"col","type":"integer","label":"Col","description":"**Set together with:** `row` (all-or-none).\n\nThe column of the key in the matrix.","range":[0,9],"display_format":null,"group":"position"},{"key":"key","type":"string","label":"Key","description":"**Required — set exactly one of:** `row`, `key`, `key_code`.\n\nA single character from the `keys` configuration above.","display_format":null},{"key":"key_code","type":"integer","label":"Key Code","description":"**Required — set exactly one of:** `row`, `key`, `key_code`.\n\nThe number the device reports for the key, as described in [Key numbers](https://esphome.io/components/tca8418/#key-numbers). Use this for pins that are not part of the matrix.","display_format":null},{"key":"keypad_id","type":"id","label":"Keypad ID","description":"The ID of the keypad to process key presses from.","display_format":null,"references_component":"tca8418"},{"key":"row","type":"integer","label":"Row","description":"**Required — set exactly one of:** `row`, `key`, `key_code`.\n\n**Set together with:** `col` (all-or-none).\n\nThe row of the key in the matrix.","range":[0,7],"display_format":null,"group":"position"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"exactly_one","keys":["row","key","key_code"]}]} +{"id":"binary_sensor.tca8418","name":"TCA8418 Keypad","description":"Individual keys can be added to ESPHome as `binary_sensor`:","category":"binary_sensor","docs_url":"https://esphome.io/components/tca8418/","image_url":"https://esphome.io/images/matrix_keypad.jpg","dependencies":["tca8418"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"col","type":"integer","label":"Col","description":"**Set together with:** `row` (all-or-none).\n\nThe column of the key in the matrix.","range":[0,9],"display_format":null,"help_link":"https://esphome.io/components/tca8418/#configuration-variables-1","group":"position"},{"key":"key","type":"string","label":"Key","description":"**Required — set exactly one of:** `row`, `key`, `key_code`.\n\nA single character from the `keys` configuration above.","display_format":null,"help_link":"https://esphome.io/components/tca8418/#configuration-variables-1"},{"key":"key_code","type":"integer","label":"Key Code","description":"**Required — set exactly one of:** `row`, `key`, `key_code`.\n\nThe number the device reports for the key, as described in [Key numbers](https://esphome.io/components/tca8418/#key-numbers). Use this for pins that are not part of the matrix.","display_format":null,"help_link":"https://esphome.io/components/tca8418/#configuration-variables-1"},{"key":"keypad_id","type":"id","label":"Keypad ID","description":"The ID of the keypad to process key presses from.","display_format":null,"references_component":"tca8418","help_link":"https://esphome.io/components/tca8418/#configuration-variables-1"},{"key":"row","type":"integer","label":"Row","description":"**Required — set exactly one of:** `row`, `key`, `key_code`.\n\n**Set together with:** `col` (all-or-none).\n\nThe row of the key in the matrix.","range":[0,7],"display_format":null,"help_link":"https://esphome.io/components/tca8418/#configuration-variables-1","group":"position"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"exactly_one","keys":["row","key","key_code"]}]} diff --git a/esphome_device_builder/definitions/components/binary_sensor.tmp102.json b/esphome_device_builder/definitions/components/binary_sensor.tmp102.json index f836ad485e..72addafc44 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.tmp102.json +++ b/esphome_device_builder/definitions/components/binary_sensor.tmp102.json @@ -1 +1 @@ -{"id":"binary_sensor.tmp102","name":"TMP102 Temperature Sensor","description":"TMP102 temperature sensors.","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/tmp102","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["tmp102"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"tmp102_id","type":"id","label":"Tmp102 ID","display_format":null,"references_component":"tmp102"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}]} +{"id":"binary_sensor.tmp102","name":"TMP102 Temperature Sensor","description":"TMP102 temperature, thermostat, alert, and threshold-status configuration.","category":"binary_sensor","docs_url":"https://esphome.io/components/sensor/tmp102","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["tmp102"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"tmp102_id","type":"id","label":"Tmp102 ID","display_format":null,"references_component":"tmp102"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}]} diff --git a/esphome_device_builder/definitions/components/binary_sensor.uart.json b/esphome_device_builder/definitions/components/binary_sensor.uart.json index 8919365c21..11037009d3 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.uart.json +++ b/esphome_device_builder/definitions/components/binary_sensor.uart.json @@ -1 +1 @@ -{"id":"binary_sensor.uart","name":"UART Binary Sensor","description":"The `uart` binary sensor platform watches a [UART bus](https://esphome.io/components/uart/) for a fixed sequence of bytes. When the bytes that arrived most recently match the sequence, the sensor publishes `ON` and then `OFF` right away, so it behaves like a button press: use `on_press` to react to it. Keyboard escape sequences and the keys of a serial terminal are the typical use.","category":"binary_sensor","docs_url":"https://esphome.io/components/uart","image_url":"https://esphome.io/images/badges/uart.svg","dependencies":["uart"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the UART bus.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/uart"},{"key":"data","type":"string","label":"Data","description":"The sequence to watch for, 1 to 255 bytes, as an ASCII string or a list of bytes. The sequence is stored in flash.","required":true,"display_format":null,"help_link":"https://esphome.io/components/uart"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"hub_id","type":"id","label":"Hub ID","advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["tx_pin","rx_pin","port"]}]} +{"id":"binary_sensor.uart","name":"UART Binary Sensor","description":"The `uart` binary sensor platform watches a [UART bus](https://esphome.io/components/uart/) for a fixed sequence of bytes. When the bytes that arrived most recently match the sequence, the sensor publishes `ON` and then `OFF` right away, so it behaves like a button press: use `on_press` to react to it. Keyboard escape sequences and the keys of a serial terminal are the typical use.","category":"binary_sensor","docs_url":"https://esphome.io/components/binary_sensor/uart/","image_url":"https://esphome.io/images/badges/uart.svg","dependencies":["uart"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the UART bus.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/binary_sensor/uart/#configuration-variables"},{"key":"data","type":"string","label":"Data","description":"The sequence to watch for, 1 to 255 bytes, as an ASCII string or a list of bytes. The sequence is stored in flash.","required":true,"display_format":null,"help_link":"https://esphome.io/components/binary_sensor/uart/#configuration-variables"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"hub_id","type":"id","label":"Hub ID","advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["tx_pin","rx_pin","port"]}]} diff --git a/esphome_device_builder/definitions/components/binary_sensor.vevor_dtx.json b/esphome_device_builder/definitions/components/binary_sensor.vevor_dtx.json index 8a304eb6b5..18a86071b5 100644 --- a/esphome_device_builder/definitions/components/binary_sensor.vevor_dtx.json +++ b/esphome_device_builder/definitions/components/binary_sensor.vevor_dtx.json @@ -1 +1 @@ -{"id":"binary_sensor.vevor_dtx","name":"Vevor Dtx","description":"","category":"binary_sensor","dependencies":["vevor_dtx"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"low_battery","type":"nested","label":"Low Battery","description":"Outdoor station low battery flag. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"battery","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vevor_dtx_id","type":"id","label":"Vevor Dtx ID","description":"The ID of the `vevor_dtx` hub. Required when more than one hub is configured.","display_format":null,"references_component":"vevor_dtx"}],"provides_id_paths":{"binary_sensor":[["low_battery","id"]]}} +{"id":"binary_sensor.vevor_dtx","name":"Vevor DTX Weather Station","description":"Vevor 7-in-1 weather station sensors using the internal DTX signal","category":"binary_sensor","docs_url":"https://esphome.io/components/vevor_dtx","image_url":"https://esphome.io/images/weather-sunny.svg","dependencies":["vevor_dtx"],"multi_conf":true,"provides":["binary_sensor"],"config_entries":[{"key":"low_battery","type":"nested","label":"Low Battery","description":"Outdoor station low battery flag. All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-3","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","default_value":"battery","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vevor_dtx_id","type":"id","label":"Vevor Dtx ID","description":"The ID of the `vevor_dtx` hub. Required when more than one hub is configured.","display_format":null,"references_component":"vevor_dtx","help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-3"}],"provides_id_paths":{"binary_sensor":[["low_battery","id"]]}} diff --git a/esphome_device_builder/definitions/components/ble_midi.json b/esphome_device_builder/definitions/components/ble_midi.json index bdef4d2549..7c623153aa 100644 --- a/esphome_device_builder/definitions/components/ble_midi.json +++ b/esphome_device_builder/definitions/components/ble_midi.json @@ -1 +1 @@ -{"id":"ble_midi","name":"BLE MIDI","description":"The `ble_midi` component connects to a device that speaks MIDI over Bluetooth Low Energy — a wireless keyboard, a pad controller, a foot switch — and turns the notes, knobs and buttons it sends into automations. It can also send MIDI back to the device.","category":"misc","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"ID of the associated BLE client.","display_format":null,"references_component":"ble_client"},{"key":"id","type":"id","label":"ID","description":"The ID to use for code generation, and for reference by the `ble_midi.*` actions.","advanced":true},{"key":"max_sysex_size","type":"integer","label":"Max Sysex Size","description":"The size of the buffer used to reassemble System Exclusive messages, in bytes. Longer messages are truncated. Range: 8-2048. Defaults to `256`.","default_value":"256","range":[8,2048],"display_format":null,"advanced":true},{"key":"pair","type":"boolean","label":"Pair","description":"Pair with the device after connecting. Some devices refuse to send anything until they are paired. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"sysex_buffer_id","type":"id","label":"Sysex Buffer ID","advanced":true}]} +{"id":"ble_midi","name":"BLE MIDI","description":"The `ble_midi` component connects to a device that speaks MIDI over Bluetooth Low Energy — a wireless keyboard, a pad controller, a foot switch — and turns the notes, knobs and buttons it sends into automations. It can also send MIDI back to the device.","category":"misc","docs_url":"https://esphome.io/components/ble_midi/","image_url":"https://esphome.io/images/bluetooth.svg","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"ID of the associated BLE client.","display_format":null,"references_component":"ble_client","help_link":"https://esphome.io/components/ble_midi/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"The ID to use for code generation, and for reference by the `ble_midi.*` actions.","advanced":true,"help_link":"https://esphome.io/components/ble_midi/#configuration-variables"},{"key":"max_sysex_size","type":"integer","label":"Max Sysex Size","description":"The size of the buffer used to reassemble System Exclusive messages, in bytes. Longer messages are truncated. Range: 8-2048. Defaults to `256`.","default_value":"256","range":[8,2048],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ble_midi/#configuration-variables"},{"key":"pair","type":"boolean","label":"Pair","description":"Pair with the device after connecting. Some devices refuse to send anything until they are paired. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ble_midi/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"sysex_buffer_id","type":"id","label":"Sysex Buffer ID","advanced":true}]} diff --git a/esphome_device_builder/definitions/components/bq25186.json b/esphome_device_builder/definitions/components/bq25186.json index 83361e08df..a42b01442b 100644 --- a/esphome_device_builder/definitions/components/bq25186.json +++ b/esphome_device_builder/definitions/components/bq25186.json @@ -1 +1 @@ -{"id":"bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"The `bq25186` component lets you configure and monitor the Texas Instruments BQ25186 1-cell battery charger and power-path IC over the [I²C bus](https://esphome.io/components/i2c/) ([datasheet](https://www.ti.com/lit/ds/symlink/bq25186.pdf)). The hub writes the charging, thermal and power-path configuration to the IC and reads its status registers at `update_interval`; the `binary_sensor` and `text_sensor` platforms report that status, the `button` platform triggers the IC's reset and ship modes, and the `switch` platform drives the `/PG/GPO` pin.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I2C address of the device. Default: `0x6A`.","default_value":"106","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the I²C bus.","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the status registers that feed the binary and text sensors. Every read also serves the I²C watchdog, see `watchdog` below. Default: `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"battery_uvlo","type":"string","label":"Battery Uvlo","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery undervoltage lockout. One of `3.0v`, `2.8v`, `2.6v`, `2.4v`, `2.2v`, `2.0v`. Default: `3.0v`.","default_value":"3.0v","options":[{"label":"3.0v","value":"3.0v"},{"label":"2.8v","value":"2.8v"},{"label":"2.6v","value":"2.6v"},{"label":"2.4v","value":"2.4v"},{"label":"2.2v","value":"2.2v"},{"label":"2.0v","value":"2.0v"}],"display_format":null},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used to reference this BQ25186 hub from other components.","advanced":true},{"key":"autowake","type":"string","label":"Autowake","description":"Auto-wake timer. One of `0.5s`, `1s`, `2s`, `4s`. Default: `1s`.","default_value":"1s","options":[{"label":"0.5s","value":"0.5s"},{"label":"1s","value":"1s"},{"label":"2s","value":"2s"},{"label":"4s","value":"4s"}],"display_format":null,"advanced":true},{"key":"battery_ocp_limit","type":"string","label":"Battery Ocp Limit","description":"Battery over-current protection limit. One of `500ma`, `1000ma`, `1500ma`, `3000ma`. Default: `3000ma`.","default_value":"3000ma","options":[{"label":"500ma","value":"500ma"},{"label":"1000ma","value":"1000ma"},{"label":"1500ma","value":"1500ma"},{"label":"3000ma","value":"3000ma"}],"display_format":null,"advanced":true},{"key":"battery_regulation_voltage","type":"float_with_unit","label":"Battery Regulation Voltage","description":"Battery regulation voltage, in 10 mV steps from `3.5V` to `4.65V`; a value between steps is rejected. Default: `4.2V`.","default_value":"4.2V","range":[3.5,4.65],"display_format":null,"advanced":true,"unit_options":["V","nV","µV","mV","kV","MV","GV"]},{"key":"charge_enabled","type":"boolean","label":"Charge Enabled","description":"Enable or disable charging. Default: `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"configure_on_boot","type":"boolean","label":"Configure On Boot","description":"Apply the configuration to the IC on boot. If `false`, the configuration can be applied later with the [`bq25186.apply_configuration` action](https://esphome.io/components/bq25186/#bq25186-apply_configuration-action), for example to avoid rewriting the same configuration after every reboot or to delay the I²C traffic until other components are up. Default: `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"disable_vdppm","type":"boolean","label":"Disable Vdppm","description":"Disable VDPPM. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"double_timer_during_dpm","type":"boolean","label":"Double Timer During Dpm","description":"Double the safety timer during DPM. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"enable_push_button","type":"boolean","label":"Enable Push Button","description":"Enable the push button input. Default: `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"fast_charge_current","type":"float_with_unit","label":"Fast Charge Current","description":"Fast charge current from `5mA` to `1A`, in 1 mA steps up to `35mA` and 10 mA steps from `40mA`; a value between steps is rejected. Default: `10mA`.","default_value":"10mA","range":[0.005,1.0],"display_format":null,"advanced":true,"unit_options":["A","nA","µA","mA","kA","MA","GA"]},{"key":"flash_charging_mode","type":"boolean","label":"Flash Charging Mode","description":"Enable flash charging mode (behavior undocumented in the datasheet). Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"hw_reset_requires_vin","type":"boolean","label":"Hw Reset Requires Vin","description":"Require VIN for hardware reset. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"input_current_limit","type":"string","label":"Input Current Limit","description":"Input current limit. One of `50ma`, `100ma`, `200ma`, `300ma`, `400ma`, `500ma`, `665ma`, `1050ma`. Default: `500ma`.","default_value":"500ma","options":[{"label":"50ma","value":"50ma"},{"label":"100ma","value":"100ma"},{"label":"200ma","value":"200ma"},{"label":"300ma","value":"300ma"},{"label":"400ma","value":"400ma"},{"label":"500ma","value":"500ma"},{"label":"665ma","value":"665ma"},{"label":"1050ma","value":"1050ma"}],"display_format":null,"advanced":true},{"key":"long_press_duration","type":"string","label":"Long Press Duration","description":"Long press duration for the push button. One of `5s`, `10s`, `15s`, `20s`. Default: `10s`.","default_value":"10s","options":[{"label":"5s","value":"5s"},{"label":"10s","value":"10s"},{"label":"15s","value":"15s"},{"label":"20s","value":"20s"}],"display_format":null,"advanced":true},{"key":"mask_bat_interrupt","type":"boolean","label":"Mask Bat Interrupt","description":"Mask battery interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"mask_charge_status_interrupt","type":"boolean","label":"Mask Charge Status Interrupt","description":"Mask charge status interrupt. Default: `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"mask_ilim_interrupt","type":"boolean","label":"Mask Ilim Interrupt","description":"Mask ILIM interrupt. Default: `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"mask_pg_interrupt","type":"boolean","label":"Mask Pg Interrupt","description":"Mask PG interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"mask_treg_interrupt","type":"boolean","label":"Mask Treg Interrupt","description":"Mask TREG interrupt. Default: `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"mask_ts_interrupt","type":"boolean","label":"Mask Ts Interrupt","description":"Mask TS interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"mask_vindpm_interrupt","type":"boolean","label":"Mask Vindpm Interrupt","description":"Mask VINDPM interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"precharge_is_iterm","type":"boolean","label":"Precharge Is Iterm","description":"Use precharge current as termination current. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"push_button_long_press_action","type":"string","label":"Push Button Long Press Action","description":"Long press action. One of `none`, `hardware_reset`, `ship_mode`, `shutdown_mode`. Default: `ship_mode`.","default_value":"ship_mode","options":[{"label":"none","value":"none"},{"label":"hardware_reset","value":"hardware_reset"},{"label":"ship_mode","value":"ship_mode"},{"label":"shutdown_mode","value":"shutdown_mode"}],"display_format":null,"advanced":true},{"key":"recharge_threshold","type":"string","label":"Recharge Threshold","description":"Recharge threshold. One of `100mv`, `200mv`. Default: `100mv`.","default_value":"100mv","options":[{"label":"100mv","value":"100mv"},{"label":"200mv","value":"200mv"}],"display_format":null,"advanced":true},{"key":"safety_timer","type":"string","label":"Safety Timer","description":"Safety timer duration. One of `3h`, `6h`, `12h`, `disabled`. Default: `6h`.","default_value":"6h","options":[{"label":"3h","value":"3h"},{"label":"6h","value":"6h"},{"label":"12h","value":"12h"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"sys_mode","type":"string","label":"Sys Mode","description":"System mode. One of `normal`, `battery_only`, `floating_off`, `pulldown_off`. Default: `normal`.","default_value":"normal","options":[{"label":"normal","value":"normal"},{"label":"battery_only","value":"battery_only"},{"label":"floating_off","value":"floating_off"},{"label":"pulldown_off","value":"pulldown_off"}],"display_format":null,"advanced":true},{"key":"system_regulation","type":"string","label":"System Regulation","description":"SYS regulation target. One of `battery_tracking`, `4.4v`, `4.5v`, `4.6v`, `4.7v`, `4.8v`, `4.9v`, `pass_through`. Default: `4.5v`.","default_value":"4.5v","options":[{"label":"battery_tracking","value":"battery_tracking"},{"label":"4.4v","value":"4.4v"},{"label":"4.5v","value":"4.5v"},{"label":"4.6v","value":"4.6v"},{"label":"4.7v","value":"4.7v"},{"label":"4.8v","value":"4.8v"},{"label":"4.9v","value":"4.9v"},{"label":"pass_through","value":"pass_through"}],"display_format":null,"advanced":true},{"key":"termination_percent","type":"string","label":"Termination Percent","description":"Termination current as a percentage of fast charge current. One of `disabled`, `5%`, `10%`, `20%`. Default: `10%`.","default_value":"10%","options":[{"label":"disabled","value":"disabled"},{"label":"5%","value":"5%"},{"label":"10%","value":"10%"},{"label":"20%","value":"20%"}],"display_format":null,"advanced":true},{"key":"thermal_regulation","type":"string","label":"Thermal Regulation","description":"Thermal regulation threshold. One of `100c`, `80c`, `60c`, `disabled`. Default: `100c`.","default_value":"100c","options":[{"label":"100c","value":"100c"},{"label":"80c","value":"80c"},{"label":"60c","value":"60c"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true},{"key":"ts_auto_function","type":"boolean","label":"Ts Auto Function","description":"Enable TS automatic function. Default: `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"ts_cold","type":"string","label":"Ts Cold","description":"TS cold threshold. One of `0c`, `3c`, `5c`, `-3c`. Default: `0c`.","default_value":"0c","options":[{"label":"0c","value":"0c"},{"label":"3c","value":"3c"},{"label":"5c","value":"5c"},{"label":"-3c","value":"-3c"}],"display_format":null,"advanced":true},{"key":"ts_cool_disable","type":"boolean","label":"Ts Cool Disable","description":"Disable cool behavior. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"ts_hot","type":"string","label":"Ts Hot","description":"TS hot threshold. One of `60c`, `65c`, `50c`, `45c`. Default: `60c`.","default_value":"60c","options":[{"label":"60c","value":"60c"},{"label":"65c","value":"65c"},{"label":"50c","value":"50c"},{"label":"45c","value":"45c"}],"display_format":null,"advanced":true},{"key":"ts_ichg","type":"string","label":"Ts Ichg","description":"TS charge current reduction. One of `0.5x`, `0.2x`. Default: `0.5x`.","default_value":"0.5x","options":[{"label":"0.5x","value":"0.5x"},{"label":"0.2x","value":"0.2x"}],"display_format":null,"advanced":true},{"key":"ts_vrcg","type":"string","label":"Ts Vrcg","description":"TS regulation voltage offset. One of `-100mv`, `-200mv`. Default: `-100mv`.","default_value":"-100mv","options":[{"label":"-100mv","value":"-100mv"},{"label":"-200mv","value":"-200mv"}],"display_format":null,"advanced":true},{"key":"ts_warm_disable","type":"boolean","label":"Ts Warm Disable","description":"Disable warm behavior. Default: `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"vindpm_mode","type":"string","label":"Vindpm Mode","description":"Input voltage dynamic power management mode. One of `battery_tracking`, `4.5v`, `4.7v`, `disabled`. Default: `4.5v`.","default_value":"4.5v","options":[{"label":"battery_tracking","value":"battery_tracking"},{"label":"4.5v","value":"4.5v"},{"label":"4.7v","value":"4.7v"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true},{"key":"vlowv","type":"string","label":"Vlowv","description":"Precharge to fast charge battery voltage transition threshold (VLOWV) from which the device charges the battery at the fast charge current. One of `3.0v`, `2.8v`. Default: `3.0v`.","default_value":"3.0v","options":[{"label":"3.0v","value":"3.0v"},{"label":"2.8v","value":"2.8v"}],"display_format":null,"advanced":true},{"key":"wake1_timer","type":"string","label":"Wake1 Timer","description":"Wake1 timer selection. One of `300ms`, `1s`. Default: `300ms`.","default_value":"300ms","options":[{"label":"300ms","value":"300ms"},{"label":"1s","value":"1s"}],"display_format":null,"advanced":true},{"key":"wake2_timer","type":"string","label":"Wake2 Timer","description":"Wake2 timer selection. One of `2s`, `3s`. Default: `2s`.","default_value":"2s","options":[{"label":"2s","value":"2s"},{"label":"3s","value":"3s"}],"display_format":null,"advanced":true},{"key":"watchdog","type":"string","label":"Watchdog","description":"The I²C watchdog. When the bus stays quiet for the chosen period the IC restores its power-on configuration, and the hardware reset variants also power cycle the system. Every status read resets the watchdog, so `update_interval` must be shorter than the period. One of `disabled`, `160s_software_reset`, `160s_hardware_reset`, `40s_hardware_reset`. Default: `disabled`.","default_value":"disabled","options":[{"label":"160s_software_reset","value":"160s_software_reset"},{"label":"160s_hardware_reset","value":"160s_hardware_reset"},{"label":"40s_hardware_reset","value":"40s_hardware_reset"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true},{"key":"watchdog_15s_enable","type":"boolean","label":"Watchdog 15S Enable","description":"Perform a hardware reset when no I²C transaction follows within 15 s of VIN being connected. Requires an `update_interval` shorter than `15s`. Default: `false`.","default_value":false,"display_format":null,"advanced":true}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}]} +{"id":"bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"The `bq25186` component lets you configure and monitor the Texas Instruments BQ25186 1-cell battery charger and power-path IC over the [I²C bus](https://esphome.io/components/i2c/) ([datasheet](https://www.ti.com/lit/ds/symlink/bq25186.pdf)). The hub writes the charging, thermal and power-path configuration to the IC and reads its status registers at `update_interval`; the `binary_sensor` and `text_sensor` platforms report that status, the `button` platform triggers the IC's reset and ship modes, and the `switch` platform drives the `/PG/GPO` pin.","category":"misc","docs_url":"https://esphome.io/components/bq25186/","image_url":"https://esphome.io/images/badges/bq25186.svg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I2C address of the device. Default: `0x6A`.","default_value":"106","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/bq25186/#bq25186-component"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the I²C bus.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/bq25186/#bq25186-component"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the status registers that feed the binary and text sensors. Every read also serves the I²C watchdog, see `watchdog` below. Default: `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/bq25186/#bq25186-component","duration_min_unit":"ms"},{"key":"battery_uvlo","type":"string","label":"Battery Uvlo","description":"**Required — set at least one of:** `ts`, `charging`, `charge_done`, `ilim`, `vdppm`, `vindpm`, `thermreg`, `power_good`, `vin_ovp`, `battery_uvlo`, `safety_timer_flag`, `wake1_flag`, `wake2_flag`, `ts_flag`, `ilim_flag`, `vdppm_flag`, `vindpm_flag`, `thermreg_flag`, `vin_ovp_flag`, `battery_uvlo_flag`, `battery_ocp_flag`.\n\nBattery undervoltage lockout. One of `3.0v`, `2.8v`, `2.6v`, `2.4v`, `2.2v`, `2.0v`. Default: `3.0v`.","default_value":"3.0v","options":[{"label":"3.0v","value":"3.0v"},{"label":"2.8v","value":"2.8v"},{"label":"2.6v","value":"2.6v"},{"label":"2.4v","value":"2.4v"},{"label":"2.2v","value":"2.2v"},{"label":"2.0v","value":"2.0v"}],"display_format":null,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used to reference this BQ25186 hub from other components.","advanced":true,"help_link":"https://esphome.io/components/bq25186/#bq25186-component"},{"key":"autowake","type":"string","label":"Autowake","description":"Auto-wake timer. One of `0.5s`, `1s`, `2s`, `4s`. Default: `1s`.","default_value":"1s","options":[{"label":"0.5s","value":"0.5s"},{"label":"1s","value":"1s"},{"label":"2s","value":"2s"},{"label":"4s","value":"4s"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"battery_ocp_limit","type":"string","label":"Battery Ocp Limit","description":"Battery over-current protection limit. One of `500ma`, `1000ma`, `1500ma`, `3000ma`. Default: `3000ma`.","default_value":"3000ma","options":[{"label":"500ma","value":"500ma"},{"label":"1000ma","value":"1000ma"},{"label":"1500ma","value":"1500ma"},{"label":"3000ma","value":"3000ma"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"battery_regulation_voltage","type":"float_with_unit","label":"Battery Regulation Voltage","description":"Battery regulation voltage, in 10 mV steps from `3.5V` to `4.65V`; a value between steps is rejected. Default: `4.2V`.","default_value":"4.2V","range":[3.5,4.65],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration","unit_options":["V","nV","µV","mV","kV","MV","GV"]},{"key":"charge_enabled","type":"boolean","label":"Charge Enabled","description":"Enable or disable charging. Default: `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"configure_on_boot","type":"boolean","label":"Configure On Boot","description":"Apply the configuration to the IC on boot. If `false`, the configuration can be applied later with the [`bq25186.apply_configuration` action](https://esphome.io/components/bq25186/#bq25186-apply_configuration-action), for example to avoid rewriting the same configuration after every reboot or to delay the I²C traffic until other components are up. Default: `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#bq25186-component"},{"key":"disable_vdppm","type":"boolean","label":"Disable Vdppm","description":"Disable VDPPM. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"double_timer_during_dpm","type":"boolean","label":"Double Timer During Dpm","description":"Double the safety timer during DPM. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"enable_push_button","type":"boolean","label":"Enable Push Button","description":"Enable the push button input. Default: `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"fast_charge_current","type":"float_with_unit","label":"Fast Charge Current","description":"Fast charge current from `5mA` to `1A`, in 1 mA steps up to `35mA` and 10 mA steps from `40mA`; a value between steps is rejected. Default: `10mA`.","default_value":"10mA","range":[0.005,1.0],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration","unit_options":["A","nA","µA","mA","kA","MA","GA"]},{"key":"flash_charging_mode","type":"boolean","label":"Flash Charging Mode","description":"Enable flash charging mode (behavior undocumented in the datasheet). Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"hw_reset_requires_vin","type":"boolean","label":"Hw Reset Requires Vin","description":"Require VIN for hardware reset. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"input_current_limit","type":"string","label":"Input Current Limit","description":"Input current limit. One of `50ma`, `100ma`, `200ma`, `300ma`, `400ma`, `500ma`, `665ma`, `1050ma`. Default: `500ma`.","default_value":"500ma","options":[{"label":"50ma","value":"50ma"},{"label":"100ma","value":"100ma"},{"label":"200ma","value":"200ma"},{"label":"300ma","value":"300ma"},{"label":"400ma","value":"400ma"},{"label":"500ma","value":"500ma"},{"label":"665ma","value":"665ma"},{"label":"1050ma","value":"1050ma"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"long_press_duration","type":"string","label":"Long Press Duration","description":"Long press duration for the push button. One of `5s`, `10s`, `15s`, `20s`. Default: `10s`.","default_value":"10s","options":[{"label":"5s","value":"5s"},{"label":"10s","value":"10s"},{"label":"15s","value":"15s"},{"label":"20s","value":"20s"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"mask_bat_interrupt","type":"boolean","label":"Mask Bat Interrupt","description":"Mask battery interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#interrupt-masking"},{"key":"mask_charge_status_interrupt","type":"boolean","label":"Mask Charge Status Interrupt","description":"Mask charge status interrupt. Default: `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#interrupt-masking"},{"key":"mask_ilim_interrupt","type":"boolean","label":"Mask Ilim Interrupt","description":"Mask ILIM interrupt. Default: `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#interrupt-masking"},{"key":"mask_pg_interrupt","type":"boolean","label":"Mask Pg Interrupt","description":"Mask PG interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#interrupt-masking"},{"key":"mask_treg_interrupt","type":"boolean","label":"Mask Treg Interrupt","description":"Mask TREG interrupt. Default: `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#interrupt-masking"},{"key":"mask_ts_interrupt","type":"boolean","label":"Mask Ts Interrupt","description":"Mask TS interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#interrupt-masking"},{"key":"mask_vindpm_interrupt","type":"boolean","label":"Mask Vindpm Interrupt","description":"Mask VINDPM interrupt. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#interrupt-masking"},{"key":"precharge_is_iterm","type":"boolean","label":"Precharge Is Iterm","description":"Use precharge current as termination current. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"push_button_long_press_action","type":"string","label":"Push Button Long Press Action","description":"Long press action. One of `none`, `hardware_reset`, `ship_mode`, `shutdown_mode`. Default: `ship_mode`.","default_value":"ship_mode","options":[{"label":"none","value":"none"},{"label":"hardware_reset","value":"hardware_reset"},{"label":"ship_mode","value":"ship_mode"},{"label":"shutdown_mode","value":"shutdown_mode"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"recharge_threshold","type":"string","label":"Recharge Threshold","description":"Recharge threshold. One of `100mv`, `200mv`. Default: `100mv`.","default_value":"100mv","options":[{"label":"100mv","value":"100mv"},{"label":"200mv","value":"200mv"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"safety_timer","type":"string","label":"Safety Timer","description":"Safety timer duration. One of `3h`, `6h`, `12h`, `disabled`. Default: `6h`.","default_value":"6h","options":[{"label":"3h","value":"3h"},{"label":"6h","value":"6h"},{"label":"12h","value":"12h"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"sys_mode","type":"string","label":"Sys Mode","description":"System mode. One of `normal`, `battery_only`, `floating_off`, `pulldown_off`. Default: `normal`.","default_value":"normal","options":[{"label":"normal","value":"normal"},{"label":"battery_only","value":"battery_only"},{"label":"floating_off","value":"floating_off"},{"label":"pulldown_off","value":"pulldown_off"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"system_regulation","type":"string","label":"System Regulation","description":"SYS regulation target. One of `battery_tracking`, `4.4v`, `4.5v`, `4.6v`, `4.7v`, `4.8v`, `4.9v`, `pass_through`. Default: `4.5v`.","default_value":"4.5v","options":[{"label":"battery_tracking","value":"battery_tracking"},{"label":"4.4v","value":"4.4v"},{"label":"4.5v","value":"4.5v"},{"label":"4.6v","value":"4.6v"},{"label":"4.7v","value":"4.7v"},{"label":"4.8v","value":"4.8v"},{"label":"4.9v","value":"4.9v"},{"label":"pass_through","value":"pass_through"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"termination_percent","type":"string","label":"Termination Percent","description":"Termination current as a percentage of fast charge current. One of `disabled`, `5%`, `10%`, `20%`. Default: `10%`.","default_value":"10%","options":[{"label":"disabled","value":"disabled"},{"label":"5%","value":"5%"},{"label":"10%","value":"10%"},{"label":"20%","value":"20%"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"thermal_regulation","type":"string","label":"Thermal Regulation","description":"Thermal regulation threshold. One of `100c`, `80c`, `60c`, `disabled`. Default: `100c`.","default_value":"100c","options":[{"label":"100c","value":"100c"},{"label":"80c","value":"80c"},{"label":"60c","value":"60c"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"ts_auto_function","type":"boolean","label":"Ts Auto Function","description":"Enable TS automatic function. Default: `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#temperature-control-configuration"},{"key":"ts_cold","type":"string","label":"Ts Cold","description":"TS cold threshold. One of `0c`, `3c`, `5c`, `-3c`. Default: `0c`.","default_value":"0c","options":[{"label":"0c","value":"0c"},{"label":"3c","value":"3c"},{"label":"5c","value":"5c"},{"label":"-3c","value":"-3c"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#temperature-control-configuration"},{"key":"ts_cool_disable","type":"boolean","label":"Ts Cool Disable","description":"Disable cool behavior. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#temperature-control-configuration"},{"key":"ts_hot","type":"string","label":"Ts Hot","description":"TS hot threshold. One of `60c`, `65c`, `50c`, `45c`. Default: `60c`.","default_value":"60c","options":[{"label":"60c","value":"60c"},{"label":"65c","value":"65c"},{"label":"50c","value":"50c"},{"label":"45c","value":"45c"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#temperature-control-configuration"},{"key":"ts_ichg","type":"string","label":"Ts Ichg","description":"TS charge current reduction. One of `0.5x`, `0.2x`. Default: `0.5x`.","default_value":"0.5x","options":[{"label":"0.5x","value":"0.5x"},{"label":"0.2x","value":"0.2x"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#temperature-control-configuration"},{"key":"ts_vrcg","type":"string","label":"Ts Vrcg","description":"TS regulation voltage offset. One of `-100mv`, `-200mv`. Default: `-100mv`.","default_value":"-100mv","options":[{"label":"-100mv","value":"-100mv"},{"label":"-200mv","value":"-200mv"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#temperature-control-configuration"},{"key":"ts_warm_disable","type":"boolean","label":"Ts Warm Disable","description":"Disable warm behavior. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#temperature-control-configuration"},{"key":"vindpm_mode","type":"string","label":"Vindpm Mode","description":"Input voltage dynamic power management mode. One of `battery_tracking`, `4.5v`, `4.7v`, `disabled`. Default: `4.5v`.","default_value":"4.5v","options":[{"label":"battery_tracking","value":"battery_tracking"},{"label":"4.5v","value":"4.5v"},{"label":"4.7v","value":"4.7v"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"vlowv","type":"string","label":"Vlowv","description":"Precharge to fast charge battery voltage transition threshold (VLOWV) from which the device charges the battery at the fast charge current. One of `3.0v`, `2.8v`. Default: `3.0v`.","default_value":"3.0v","options":[{"label":"3.0v","value":"3.0v"},{"label":"2.8v","value":"2.8v"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#charging-configuration"},{"key":"wake1_timer","type":"string","label":"Wake1 Timer","description":"Wake1 timer selection. One of `300ms`, `1s`. Default: `300ms`.","default_value":"300ms","options":[{"label":"300ms","value":"300ms"},{"label":"1s","value":"1s"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"wake2_timer","type":"string","label":"Wake2 Timer","description":"Wake2 timer selection. One of `2s`, `3s`. Default: `2s`.","default_value":"2s","options":[{"label":"2s","value":"2s"},{"label":"3s","value":"3s"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"watchdog","type":"string","label":"Watchdog","description":"The I²C watchdog. When the bus stays quiet for the chosen period the IC restores its power-on configuration, and the hardware reset variants also power cycle the system. Every status read resets the watchdog, so `update_interval` must be shorter than the period. One of `disabled`, `160s_software_reset`, `160s_hardware_reset`, `40s_hardware_reset`. Default: `disabled`.","default_value":"disabled","options":[{"label":"160s_software_reset","value":"160s_software_reset"},{"label":"160s_hardware_reset","value":"160s_hardware_reset"},{"label":"40s_hardware_reset","value":"40s_hardware_reset"},{"label":"disabled","value":"disabled"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"},{"key":"watchdog_15s_enable","type":"boolean","label":"Watchdog 15S Enable","description":"Perform a hardware reset when no I²C transaction follows within 15 s of VIN being connected. Requires an `update_interval` shorter than `15s`. Default: `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#watchdog-button-and-power-path-configuration"}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}]} diff --git a/esphome_device_builder/definitions/components/bq76972.json b/esphome_device_builder/definitions/components/bq76972.json index 8b11393a17..473f4acbcc 100644 --- a/esphome_device_builder/definitions/components/bq76972.json +++ b/esphome_device_builder/definitions/components/bq76972.json @@ -1 +1 @@ -{"id":"bq76972","name":"Texas Instruments BQ76972 Battery Monitor","description":"The `bq76972` component reads a Texas Instruments BQ76972 battery monitor ([datasheet](https://www.ti.com/lit/ds/slusfc9/slusfc9.pdf), [technical reference manual](https://www.ti.com/lit/ug/sluucw9/sluucw9.pdf)) over the [I²C Bus](https://esphome.io/components/i2c/). The default I²C address is `0x08`.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x08`.","default_value":"8","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll the monitor. Defaults to `10s`.","default_value":"10s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used by the sensor platform and actions.","advanced":true},{"key":"crc_enabled","type":"boolean","label":"CRC Enabled","description":"Use the CRC-protected I²C mode. Must match the mode the chip is configured for. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"reg_disabled","type":"boolean","label":"Reg Disabled","description":"Turn the chip's REG0, REG1 and REG2 regulators off during setup. Leave this off when one of them powers the host or the I²C bus. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"bq76972","name":"Texas Instruments BQ76972 Battery Monitor","description":"The `bq76972` component reads a Texas Instruments BQ76972 battery monitor ([datasheet](https://www.ti.com/lit/ds/slusfc9/slusfc9.pdf), [technical reference manual](https://www.ti.com/lit/ug/sluucw9/sluucw9.pdf)) over the [I²C Bus](https://esphome.io/components/i2c/). The default I²C address is `0x08`.","category":"misc","docs_url":"https://esphome.io/components/sensor/bq76972/","image_url":"https://esphome.io/images/bq76972.jpg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x08`.","default_value":"8","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll the monitor. Defaults to `10s`.","default_value":"10s","display_format":null,"help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used by the sensor platform and actions.","advanced":true,"help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables"},{"key":"crc_enabled","type":"boolean","label":"CRC Enabled","description":"Use the CRC-protected I²C mode. Must match the mode the chip is configured for. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables"},{"key":"reg_disabled","type":"boolean","label":"Reg Disabled","description":"Turn the chip's REG0, REG1 and REG2 regulators off during setup. Leave this off when one of them powers the host or the I²C bus. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/button.bq25186.json b/esphome_device_builder/definitions/components/button.bq25186.json index b1048accad..e324908d27 100644 --- a/esphome_device_builder/definitions/components/button.bq25186.json +++ b/esphome_device_builder/definitions/components/button.bq25186.json @@ -1 +1 @@ -{"id":"button.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `button` platform. All options from [Button](https://esphome.io/components/button/).","category":"button","dependencies":["bq25186"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186"},{"key":"hardware_reset","type":"nested","label":"Hardware Reset","description":"Trigger a hardware reset.","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart-alert","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ship_mode","type":"nested","label":"Ship Mode","description":"Trigger ship mode.","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:power","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"shutdown","type":"nested","label":"Shutdown","description":"Trigger shutdown mode.","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:power","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"software_reset","type":"nested","label":"Software Reset","description":"Trigger a software reset.","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"button":[["hardware_reset","id"],["ship_mode","id"],["shutdown","id"],["software_reset","id"]]}} +{"id":"button.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `button` platform. All options from [Button](https://esphome.io/components/button/).","category":"button","docs_url":"https://esphome.io/components/bq25186/","image_url":"https://esphome.io/images/badges/bq25186.svg","dependencies":["bq25186"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186","help_link":"https://esphome.io/components/bq25186/#button"},{"key":"hardware_reset","type":"nested","label":"Hardware Reset","description":"Trigger a hardware reset.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#button","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart-alert","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ship_mode","type":"nested","label":"Ship Mode","description":"Trigger ship mode.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#button","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:power","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"shutdown","type":"nested","label":"Shutdown","description":"Trigger shutdown mode.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#button","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:power","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"software_reset","type":"nested","label":"Software Reset","description":"Trigger a software reset.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/bq25186/#button","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"button":[["hardware_reset","id"],["ship_mode","id"],["shutdown","id"],["software_reset","id"]]}} diff --git a/esphome_device_builder/definitions/components/button.delta_wallbox.json b/esphome_device_builder/definitions/components/button.delta_wallbox.json index 4413669c8f..94c89f2169 100644 --- a/esphome_device_builder/definitions/components/button.delta_wallbox.json +++ b/esphome_device_builder/definitions/components/button.delta_wallbox.json @@ -1 +1 @@ -{"id":"button.delta_wallbox","name":"Delta Wallbox","description":"","category":"button","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["button"],"config_entries":[{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox"},{"key":"start_charging","type":"nested","label":"Start Charging","description":"Starts a charging session. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:play-circle-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"stop_charging","type":"nested","label":"Stop Charging","description":"Stops the charging session. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:stop-circle-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["start_charging","id"],["stop_charging","id"]]}} +{"id":"button.delta_wallbox","name":"Delta AC Wallbox","description":"A Delta AC wallbox over Bluetooth in ESPHome.","category":"button","docs_url":"https://esphome.io/components/delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["button"],"config_entries":[{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox","help_link":"https://esphome.io/components/delta_wallbox/#button"},{"key":"start_charging","type":"nested","label":"Start Charging","description":"Starts a charging session. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/delta_wallbox/#button","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:play-circle-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"stop_charging","type":"nested","label":"Stop Charging","description":"Stops the charging session. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/delta_wallbox/#button","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:stop-circle-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["start_charging","id"],["stop_charging","id"]]}} diff --git a/esphome_device_builder/definitions/components/button.dfrobot_sen0609.json b/esphome_device_builder/definitions/components/button.dfrobot_sen0609.json index ce6c5a543b..35035328d1 100644 --- a/esphome_device_builder/definitions/components/button.dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/button.dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"button.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"button","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"factory_reset","type":"nested","label":"Factory Reset","description":"Restores the module's factory settings, then writes the run mode, the UART output settings and the LEDs and reads the settings again, so the [settings](https://esphome.io/components/dfrobot_sen0609/#settings) entities show the factory values. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart-alert","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"query_params","type":"nested","label":"Query Params","description":"Reads the versions and the settings that have an entity configured from the module again. Like a change, this stops the radar for a moment. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:database","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"restart","type":"nested","label":"Restart","description":"Reboots the module. The module does not answer this command, so the hub waits for it to boot, then writes the run mode, the UART output settings and the LEDs and reads the settings again, as it does at boot. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["factory_reset","id"],["query_params","id"],["restart","id"]]}} +{"id":"button.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"button","docs_url":"https://esphome.io/components/dfrobot_sen0609/","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-7"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"factory_reset","type":"nested","label":"Factory Reset","description":"Restores the module's factory settings, then writes the run mode, the UART output settings and the LEDs and reads the settings again, so the [settings](https://esphome.io/components/dfrobot_sen0609/#settings) entities show the factory values. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart-alert","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"query_params","type":"nested","label":"Query Params","description":"Reads the versions and the settings that have an entity configured from the module again. Like a change, this stops the radar for a moment. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:database","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"restart","type":"nested","label":"Restart","description":"Reboots the module. The module does not answer this command, so the hub waits for it to boot, then writes the run mode, the UART output settings and the LEDs and reads the settings again, as it does at boot. All options from [Button](https://esphome.io/components/button/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:restart","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","default_value":"restart","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["factory_reset","id"],["query_params","id"],["restart","id"]]}} diff --git a/esphome_device_builder/definitions/components/button.haier_tundra.json b/esphome_device_builder/definitions/components/button.haier_tundra.json index 5db0485cd5..1f62a117fb 100644 --- a/esphome_device_builder/definitions/components/button.haier_tundra.json +++ b/esphome_device_builder/definitions/components/button.haier_tundra.json @@ -1 +1 @@ -{"id":"button.haier_tundra","name":"Haier Tundra","description":"","category":"button","dependencies":["haier_tundra"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"haier_tundra_id","type":"id","label":"Haier Tundra ID","required":true,"display_format":null,"references_component":"haier_tundra"},{"key":"light","type":"nested","label":"Light","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:led-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"self_clean","type":"nested","label":"Self Clean","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:spray-bottle","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["light","id"],["self_clean","id"]]}} +{"id":"button.haier_tundra","name":"Haier Tundra","description":"","category":"button","docs_url":"https://esphome.io/components/climate/climate_ir#haier_tundra","dependencies":["haier_tundra"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"haier_tundra_id","type":"id","label":"Haier Tundra ID","required":true,"display_format":null,"references_component":"haier_tundra"},{"key":"light","type":"nested","label":"Light","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:led-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"self_clean","type":"nested","label":"Self Clean","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","default_value":"mdi:spray-bottle","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["light","id"],["self_clean","id"]]}} diff --git a/esphome_device_builder/definitions/components/button.ld6004.json b/esphome_device_builder/definitions/components/button.ld6004.json index 8c471097c0..b9fb334b46 100644 --- a/esphome_device_builder/definitions/components/button.ld6004.json +++ b/esphome_device_builder/definitions/components/button.ld6004.json @@ -1 +1 @@ -{"id":"button.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` button platform exposes configuration and diagnostic commands.","category":"button","dependencies":["ld6004"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004"},{"key":"apply_area","type":"nested","label":"Apply Area","description":"Send the configured `area_config` to the selected `area_id`. **Requires** a `select.area_id` on the same `ld6004`. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"auto_interference","type":"nested","label":"Auto Interference","description":"Generate interference areas from the current environment. Run this with no people present and with known interference sources active. To reset the generated interference areas, use **Clear Interference**. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"clear_dwell","type":"nested","label":"Clear Dwell","description":"Clear dwell areas and request updated area coordinates. The area read is skipped if the clear command could not be queued. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"clear_interference","type":"nested","label":"Clear Interference","description":"Clear interference areas. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_areas","type":"nested","label":"Get Areas","description":"Request stored interference, detection, and dwell areas from the radar. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_delay","type":"nested","label":"Get Delay","description":"Request hold delay. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_installation","type":"nested","label":"Get Installation","description":"Request installation mode from the radar and update the `installation_mode` select with `top` or `side`. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_low_power_mode","type":"nested","label":"Get Low Power Mode","description":"Request low power mode state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_low_power_sleep_time","type":"nested","label":"Get Low Power Sleep Time","description":"Request low power sleep time. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_sensitivity","type":"nested","label":"Get Sensitivity","description":"Request sensitivity state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_trigger_speed","type":"nested","label":"Get Trigger Speed","description":"Request trigger speed state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_z_range","type":"nested","label":"Get Z Range","description":"Request Z-axis range. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reset_detection_area","type":"nested","label":"Reset Detection Area","description":"Restore the default 6 x 4 m detection area. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reset_unattended","type":"nested","label":"Reset Unattended","description":"Reset the module's unattended (no-person) state used by its low-power logic. Helpful if the device gets stuck in an unattended state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["apply_area","id"],["auto_interference","id"],["clear_dwell","id"],["clear_interference","id"],["get_areas","id"],["get_delay","id"],["get_installation","id"],["get_low_power_mode","id"],["get_low_power_sleep_time","id"],["get_sensitivity","id"],["get_trigger_speed","id"],["get_z_range","id"],["reset_detection_area","id"],["reset_unattended","id"]]}} +{"id":"button.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` button platform exposes configuration and diagnostic commands.","category":"button","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["ld6004"],"multi_conf":true,"provides":["button"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7"},{"key":"apply_area","type":"nested","label":"Apply Area","description":"Send the configured `area_config` to the selected `area_id`. **Requires** a `select.area_id` on the same `ld6004`. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"auto_interference","type":"nested","label":"Auto Interference","description":"Generate interference areas from the current environment. Run this with no people present and with known interference sources active. To reset the generated interference areas, use **Clear Interference**. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"clear_dwell","type":"nested","label":"Clear Dwell","description":"Clear dwell areas and request updated area coordinates. The area read is skipped if the clear command could not be queued. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"clear_interference","type":"nested","label":"Clear Interference","description":"Clear interference areas. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_areas","type":"nested","label":"Get Areas","description":"Request stored interference, detection, and dwell areas from the radar. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_delay","type":"nested","label":"Get Delay","description":"Request hold delay. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_installation","type":"nested","label":"Get Installation","description":"Request installation mode from the radar and update the `installation_mode` select with `top` or `side`. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_low_power_mode","type":"nested","label":"Get Low Power Mode","description":"Request low power mode state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_low_power_sleep_time","type":"nested","label":"Get Low Power Sleep Time","description":"Request low power sleep time. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_sensitivity","type":"nested","label":"Get Sensitivity","description":"Request sensitivity state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_trigger_speed","type":"nested","label":"Get Trigger Speed","description":"Request trigger speed state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"get_z_range","type":"nested","label":"Get Z Range","description":"Request Z-axis range. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reset_detection_area","type":"nested","label":"Reset Detection Area","description":"Restore the default 6 x 4 m detection area. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reset_unattended","type":"nested","label":"Reset Unattended","description":"Reset the module's unattended (no-person) state used by its low-power logic. Helpful if the device gets stuck in an unattended state. All options from [Button](https://esphome.io/components/button/#config-button).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-7","platform_type":"button","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the button. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the button in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the button. See [https://www.home-assistant.io/integrations/button/#device-class](https://www.home-assistant.io/integrations/button/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"identify","value":"identify"},{"label":"restart","value":"restart"},{"label":"update","value":"update"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/button/#base-button-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"button":[["apply_area","id"],["auto_interference","id"],["clear_dwell","id"],["clear_interference","id"],["get_areas","id"],["get_delay","id"],["get_installation","id"],["get_low_power_mode","id"],["get_low_power_sleep_time","id"],["get_sensitivity","id"],["get_trigger_speed","id"],["get_z_range","id"],["reset_detection_area","id"],["reset_unattended","id"]]}} diff --git a/esphome_device_builder/definitions/components/climate.airton.json b/esphome_device_builder/definitions/components/climate.airton.json index 4e1feb310f..7c2e7c29d8 100644 --- a/esphome_device_builder/definitions/components/climate.airton.json +++ b/esphome_device_builder/definitions/components/climate.airton.json @@ -1 +1 @@ -{"id":"climate.airton","name":"IR Remote Climate","description":"Airton RD1A1 remote protocol, used by Airton branded units and Ferroli's Aster range.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"provides":["airton"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"vertical_direction","type":"string","label":"Vertical Direction","description":"The vertical direction, with the options of the climate's `vertical_direction`. `swing` and the climate's vertical swing mode are the same setting, so changing one updates the other.","default_value":"off","options":[{"label":"off","value":"off"},{"label":"swing","value":"swing"},{"label":"up","value":"up"},{"label":"middle-up","value":"middle-up"},{"label":"middle","value":"middle"},{"label":"middle-down","value":"middle-down"},{"label":"down","value":"down"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.airton","name":"IR Remote Climate","description":"Airton RD1A1 remote protocol, used by Airton branded units and Ferroli's Aster range.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"provides":["airton"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"vertical_direction","type":"string","label":"Vertical Direction","description":"The vertical direction, with the options of the climate's `vertical_direction`. `swing` and the climate's vertical swing mode are the same setting, so changing one updates the other.","default_value":"off","options":[{"label":"off","value":"off"},{"label":"swing","value":"swing"},{"label":"up","value":"up"},{"label":"middle-up","value":"middle-up"},{"label":"middle","value":"middle"},{"label":"middle-down","value":"middle-down"},{"label":"down","value":"down"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#airton"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.airton_serial.json b/esphome_device_builder/definitions/components/climate.airton_serial.json index 5e6140ae0e..bd73a0af90 100644 --- a/esphome_device_builder/definitions/components/climate.airton_serial.json +++ b/esphome_device_builder/definitions/components/climate.airton_serial.json @@ -1 +1 @@ -{"id":"climate.airton_serial","name":"Airton Serial Climate","description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","category":"climate","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true,"require_tx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"provides":["airton_serial"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART](https://esphome.io/components/uart/) bus. Required if you have more than one UART bus.","display_format":null,"references_component":"uart"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.airton_serial","name":"Airton Serial Climate","description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","category":"climate","docs_url":"https://esphome.io/components/climate/airton_serial/","image_url":"https://esphome.io/images/air-conditioner.svg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true,"require_tx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"provides":["airton_serial"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART](https://esphome.io/components/uart/) bus. Required if you have more than one UART bus.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/climate/airton_serial/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.daikin_madoka.json b/esphome_device_builder/definitions/components/climate.daikin_madoka.json index 3fffc5a351..44e33061e1 100644 --- a/esphome_device_builder/definitions/components/climate.daikin_madoka.json +++ b/esphome_device_builder/definitions/components/climate.daikin_madoka.json @@ -1 +1 @@ -{"id":"climate.daikin_madoka","name":"Daikin Madoka","description":"The `daikin_madoka` component creates a climate device that controls a Daikin Madoka (BRC1H) wired controller over Bluetooth, the way the Daikin smartphone app does.","category":"climate","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the device for state updates. Defaults to `10s`.","default_value":"10s","display_format":null,"duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The ID of the [BLE Client](https://esphome.io/components/ble_client/) used for the communication.","display_format":null,"references_component":"ble_client"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.daikin_madoka","name":"Daikin Madoka","description":"The `daikin_madoka` component creates a climate device that controls a Daikin Madoka (BRC1H) wired controller over Bluetooth, the way the Daikin smartphone app does.","category":"climate","docs_url":"https://esphome.io/components/climate/daikin_madoka/","image_url":"https://esphome.io/images/daikin.png","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the device for state updates. Defaults to `10s`.","default_value":"10s","display_format":null,"help_link":"https://esphome.io/components/climate/daikin_madoka/#configuration-variables","duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The ID of the [BLE Client](https://esphome.io/components/ble_client/) used for the communication.","display_format":null,"references_component":"ble_client","help_link":"https://esphome.io/components/climate/daikin_madoka/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.friedrich.json b/esphome_device_builder/definitions/components/climate.friedrich.json index ce65563c0b..6931a315f2 100644 --- a/esphome_device_builder/definitions/components/climate.friedrich.json +++ b/esphome_device_builder/definitions/components/climate.friedrich.json @@ -1 +1 @@ -{"id":"climate.friedrich","name":"IR Remote Climate","description":"The `friedrich` climate currently supports the MW12Y3H protocol.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"model","type":"string","label":"Model","description":"The unit model. Only `MW12Y3H` exists so far; the option is reserved for other models. Defaults to `MW12Y3H`.","default_value":"MW12Y3H","options":[{"label":"MW12Y3H","value":"MW12Y3H"}],"display_format":null,"help_link":"https://esphome.io/components/climate/climate_ir/"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.friedrich","name":"IR Remote Climate","description":"The `friedrich` climate currently supports the MW12Y3H protocol.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"model","type":"string","label":"Model","description":"The unit model. Only `MW12Y3H` exists so far; the option is reserved for other models. Defaults to `MW12Y3H`.","default_value":"MW12Y3H","options":[{"label":"MW12Y3H","value":"MW12Y3H"}],"display_format":null,"help_link":"https://esphome.io/components/climate/climate_ir/#friedrich"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.haier_tundra.json b/esphome_device_builder/definitions/components/climate.haier_tundra.json index 3df4832ead..0df40941fa 100644 --- a/esphome_device_builder/definitions/components/climate.haier_tundra.json +++ b/esphome_device_builder/definitions/components/climate.haier_tundra.json @@ -1 +1 @@ -{"id":"climate.haier_tundra","name":"IR Remote Climate","description":"Haier 112-bit protocol, currently only tested with AS35TB4HRA but may also work with other units.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"provides":["haier_tundra"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"unit","type":"string","label":"Unit","description":"The AC unit ID, either `a` or `b`. Each transmitter can drive one unit of each ID. Defaults to `a`.","default_value":"a","options":[{"label":"a","value":"a"},{"label":"b","value":"b"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.haier_tundra","name":"IR Remote Climate","description":"Haier 112-bit protocol, currently only tested with AS35TB4HRA but may also work with other units.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"provides":["haier_tundra"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"unit","type":"string","label":"Unit","description":"The AC unit ID, either `a` or `b`. Each transmitter can drive one unit of each ID. Defaults to `a`.","default_value":"a","options":[{"label":"a","value":"a"},{"label":"b","value":"b"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#haier_tundra"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.heatpumpir.json b/esphome_device_builder/definitions/components/climate.heatpumpir.json index a7933967f9..980afe3a77 100644 --- a/esphome_device_builder/definitions/components/climate.heatpumpir.json +++ b/esphome_device_builder/definitions/components/climate.heatpumpir.json @@ -1 +1 @@ -{"id":"climate.heatpumpir","name":"Heatpumpir","description":"","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"horizontal_default","type":"string","label":"Horizontal Default","required":true,"options":[{"label":"auto","value":"auto"},{"label":"middle","value":"middle"},{"label":"left","value":"left"},{"label":"mleft","value":"mleft"},{"label":"mright","value":"mright"},{"label":"right","value":"right"}],"display_format":null},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","required":true,"display_format":null,"unit_options":["°C","°F","K"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","required":true,"display_format":null,"unit_options":["°C","°F","K"]},{"key":"protocol","type":"string","label":"Protocol","required":true,"options":[{"label":"aux","value":"aux"},{"label":"ballu","value":"ballu"},{"label":"carrier_mca","value":"carrier_mca"},{"label":"carrier_nqv","value":"carrier_nqv"},{"label":"daikin_arc417","value":"daikin_arc417"},{"label":"daikin_arc480","value":"daikin_arc480"},{"label":"daikin","value":"daikin"},{"label":"electroluxyal","value":"electroluxyal"},{"label":"fuego","value":"fuego"},{"label":"fujitsu_awyz","value":"fujitsu_awyz"},{"label":"gree","value":"gree"},{"label":"greeya","value":"greeya"},{"label":"greeyan","value":"greeyan"},{"label":"greeyac","value":"greeyac"},{"label":"greeyt","value":"greeyt"},{"label":"greeyap","value":"greeyap"},{"label":"hisense_aud","value":"hisense_aud"},{"label":"hitachi","value":"hitachi"},{"label":"hyundai","value":"hyundai"},{"label":"ivt","value":"ivt"},{"label":"midea","value":"midea"},{"label":"mitsubishi_fa","value":"mitsubishi_fa"},{"label":"mitsubishi_fd","value":"mitsubishi_fd"},{"label":"mitsubishi_fe","value":"mitsubishi_fe"},{"label":"mitsubishi_heavy_fdtc","value":"mitsubishi_heavy_fdtc"},{"label":"mitsubishi_heavy_zj","value":"mitsubishi_heavy_zj"},{"label":"mitsubishi_heavy_zm","value":"mitsubishi_heavy_zm"},{"label":"mitsubishi_heavy_zmp","value":"mitsubishi_heavy_zmp"},{"label":"mitsubishi_heavy_kj","value":"mitsubishi_heavy_kj"},{"label":"mitsubishi_msc","value":"mitsubishi_msc"},{"label":"mitsubishi_msy","value":"mitsubishi_msy"},{"label":"mitsubishi_sez","value":"mitsubishi_sez"},{"label":"panasonic_ckp","value":"panasonic_ckp"},{"label":"panasonic_dke","value":"panasonic_dke"},{"label":"panasonic_eke","value":"panasonic_eke"},{"label":"panasonic_jke","value":"panasonic_jke"},{"label":"panasonic_lke","value":"panasonic_lke"},{"label":"panasonic_nke","value":"panasonic_nke"},{"label":"samsung_aqv","value":"samsung_aqv"},{"label":"samsung_fjm","value":"samsung_fjm"},{"label":"sharp","value":"sharp"},{"label":"toshiba_daiseikai","value":"toshiba_daiseikai"},{"label":"toshiba","value":"toshiba"},{"label":"zhlt01","value":"zhlt01"},{"label":"nibe","value":"nibe"},{"label":"carrier_qlima_1","value":"carrier_qlima_1"},{"label":"carrier_qlima_2","value":"carrier_qlima_2"},{"label":"samsung_aqv12msan","value":"samsung_aqv12msan"},{"label":"zhjg01","value":"zhjg01"},{"label":"airway","value":"airway"},{"label":"bgh_aud","value":"bgh_aud"},{"label":"panasonic_altdke","value":"panasonic_altdke"},{"label":"philco_phs32","value":"philco_phs32"},{"label":"vaillantvai8","value":"vaillantvai8"},{"label":"r51m","value":"r51m"}],"display_format":null},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"vertical_default","type":"string","label":"Vertical Default","required":true,"options":[{"label":"auto","value":"auto"},{"label":"up","value":"up"},{"label":"mup","value":"mup"},{"label":"middle","value":"middle"},{"label":"mdown","value":"mdown"},{"label":"down","value":"down"}],"display_format":null},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.heatpumpir","name":"Heatpumpir","description":"","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir#arduino-heatpumpir","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"horizontal_default","type":"string","label":"Horizontal Default","required":true,"options":[{"label":"auto","value":"auto"},{"label":"middle","value":"middle"},{"label":"left","value":"left"},{"label":"mleft","value":"mleft"},{"label":"mright","value":"mright"},{"label":"right","value":"right"}],"display_format":null},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","required":true,"display_format":null,"unit_options":["°C","°F","K"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","required":true,"display_format":null,"unit_options":["°C","°F","K"]},{"key":"protocol","type":"string","label":"Protocol","required":true,"options":[{"label":"aux","value":"aux"},{"label":"ballu","value":"ballu"},{"label":"carrier_mca","value":"carrier_mca"},{"label":"carrier_nqv","value":"carrier_nqv"},{"label":"daikin_arc417","value":"daikin_arc417"},{"label":"daikin_arc480","value":"daikin_arc480"},{"label":"daikin","value":"daikin"},{"label":"electroluxyal","value":"electroluxyal"},{"label":"fuego","value":"fuego"},{"label":"fujitsu_awyz","value":"fujitsu_awyz"},{"label":"gree","value":"gree"},{"label":"greeya","value":"greeya"},{"label":"greeyan","value":"greeyan"},{"label":"greeyac","value":"greeyac"},{"label":"greeyt","value":"greeyt"},{"label":"greeyap","value":"greeyap"},{"label":"hisense_aud","value":"hisense_aud"},{"label":"hitachi","value":"hitachi"},{"label":"hyundai","value":"hyundai"},{"label":"ivt","value":"ivt"},{"label":"midea","value":"midea"},{"label":"mitsubishi_fa","value":"mitsubishi_fa"},{"label":"mitsubishi_fd","value":"mitsubishi_fd"},{"label":"mitsubishi_fe","value":"mitsubishi_fe"},{"label":"mitsubishi_heavy_fdtc","value":"mitsubishi_heavy_fdtc"},{"label":"mitsubishi_heavy_zj","value":"mitsubishi_heavy_zj"},{"label":"mitsubishi_heavy_zm","value":"mitsubishi_heavy_zm"},{"label":"mitsubishi_heavy_zmp","value":"mitsubishi_heavy_zmp"},{"label":"mitsubishi_heavy_kj","value":"mitsubishi_heavy_kj"},{"label":"mitsubishi_msc","value":"mitsubishi_msc"},{"label":"mitsubishi_msy","value":"mitsubishi_msy"},{"label":"mitsubishi_sez","value":"mitsubishi_sez"},{"label":"panasonic_ckp","value":"panasonic_ckp"},{"label":"panasonic_dke","value":"panasonic_dke"},{"label":"panasonic_eke","value":"panasonic_eke"},{"label":"panasonic_jke","value":"panasonic_jke"},{"label":"panasonic_lke","value":"panasonic_lke"},{"label":"panasonic_nke","value":"panasonic_nke"},{"label":"samsung_aqv","value":"samsung_aqv"},{"label":"samsung_fjm","value":"samsung_fjm"},{"label":"sharp","value":"sharp"},{"label":"toshiba_daiseikai","value":"toshiba_daiseikai"},{"label":"toshiba","value":"toshiba"},{"label":"zhlt01","value":"zhlt01"},{"label":"nibe","value":"nibe"},{"label":"carrier_qlima_1","value":"carrier_qlima_1"},{"label":"carrier_qlima_2","value":"carrier_qlima_2"},{"label":"samsung_aqv12msan","value":"samsung_aqv12msan"},{"label":"zhjg01","value":"zhjg01"},{"label":"airway","value":"airway"},{"label":"bgh_aud","value":"bgh_aud"},{"label":"panasonic_altdke","value":"panasonic_altdke"},{"label":"philco_phs32","value":"philco_phs32"},{"label":"vaillantvai8","value":"vaillantvai8"},{"label":"r51m","value":"r51m"}],"display_format":null},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"vertical_default","type":"string","label":"Vertical Default","required":true,"options":[{"label":"auto","value":"auto"},{"label":"up","value":"up"},{"label":"mup","value":"mup"},{"label":"middle","value":"middle"},{"label":"mdown","value":"mdown"},{"label":"down","value":"down"}],"display_format":null},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.midea_portasplit.json b/esphome_device_builder/definitions/components/climate.midea_portasplit.json index ada93e78f6..b5705d7b5a 100644 --- a/esphome_device_builder/definitions/components/climate.midea_portasplit.json +++ b/esphome_device_builder/definitions/components/climate.midea_portasplit.json @@ -1 +1 @@ -{"id":"climate.midea_portasplit","name":"Midea PortaSplit","description":"The `midea_portasplit` climate platform controls a Midea PortaSplit air conditioner over the UART connection normally used by its Wi-Fi module.","category":"climate","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true}},"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART bus](https://esphome.io/components/uart/) to use. Required if you have more than one UART bus.","display_format":null,"references_component":"uart"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.midea_portasplit","name":"Midea PortaSplit","description":"The `midea_portasplit` climate platform controls a Midea PortaSplit air conditioner over the UART connection normally used by its Wi-Fi module.","category":"climate","docs_url":"https://esphome.io/components/climate/midea_portasplit/","image_url":"https://esphome.io/images/midea.svg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true}},"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART bus](https://esphome.io/components/uart/) to use. Required if you have more than one UART bus.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/climate/midea_portasplit/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.panasonic_ir.json b/esphome_device_builder/definitions/components/climate.panasonic_ir.json index 5ed821daee..b0e45dd61d 100644 --- a/esphome_device_builder/definitions/components/climate.panasonic_ir.json +++ b/esphome_device_builder/definitions/components/climate.panasonic_ir.json @@ -1 +1 @@ -{"id":"climate.panasonic_ir","name":"IR Remote Climate","description":"The `panasonic_ir` platform controls Panasonic air conditioners that use the 216 bit Panasonic IR protocol, called `PANASONIC_AC` by [IRremoteESP8266](https://github.com/crankyoldgit/IRremoteESP8266). The remote sends the whole state with every key press. The bytes the unit expects differ a little between model families, so set `model` to the one that matches your unit or remote.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"provides":["panasonic_ir"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"model","type":"string","label":"Model","description":"The model family of the unit. Defaults to `JKE`. The families and the units and remotes they cover are the ones listed by IRremoteESP8266:","default_value":"JKE","options":[{"label":"DKE","value":"DKE","description":"DKE, DKW and PKR series; remotes A75C2616-1, A75C3704 and PN1122V"},{"label":"JKE","value":"JKE","description":"JKE series; remote A75C3747"},{"label":"LKE","value":"LKE","description":"LKE series"},{"label":"NKE","value":"NKE","description":"NKE series"},{"label":"CKP","value":"CKP","description":"CKP series, such as the CS-ME10CKPG, CS-ME12CKPG and CS-ME14CKPG; remote A75C2311. These units have no separate on and off commands, see the note below"},{"label":"RKR","value":"RKR","description":"RKR series, such as the CS-Z9RKR and CS-Z24RKR; remote A75C4762"},{"label":"PKE","value":"PKE","description":"The remote of the CS-NE9PKE and CU-NE9PKE heat pump. Its frames are the same as the JKE ones, apart from one extra bit in the byte that holds the power and mode. This is the only model tested on a real unit."}],"display_format":null,"help_link":"https://esphome.io/components/climate/climate_ir/"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.panasonic_ir","name":"IR Remote Climate","description":"The `panasonic_ir` platform controls Panasonic air conditioners that use the 216 bit Panasonic IR protocol, called `PANASONIC_AC` by [IRremoteESP8266](https://github.com/crankyoldgit/IRremoteESP8266). The remote sends the whole state with every key press. The bytes the unit expects differ a little between model families, so set `model` to the one that matches your unit or remote.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"provides":["panasonic_ir"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"model","type":"string","label":"Model","description":"The model family of the unit. Defaults to `JKE`. The families and the units and remotes they cover are the ones listed by IRremoteESP8266:","default_value":"JKE","options":[{"label":"DKE","value":"DKE","description":"DKE, DKW and PKR series; remotes A75C2616-1, A75C3704 and PN1122V"},{"label":"JKE","value":"JKE","description":"JKE series; remote A75C3747"},{"label":"LKE","value":"LKE","description":"LKE series"},{"label":"NKE","value":"NKE","description":"NKE series"},{"label":"CKP","value":"CKP","description":"CKP series, such as the CS-ME10CKPG, CS-ME12CKPG and CS-ME14CKPG; remote A75C2311. These units have no separate on and off commands, see the note below"},{"label":"RKR","value":"RKR","description":"RKR series, such as the CS-Z9RKR and CS-Z24RKR; remote A75C4762"},{"label":"PKE","value":"PKE","description":"The remote of the CS-NE9PKE and CU-NE9PKE heat pump. Its frames are the same as the JKE ones, apart from one extra bit in the byte that holds the power and mode. This is the only model tested on a real unit."}],"display_format":null,"help_link":"https://esphome.io/components/climate/climate_ir/#panasonic_ir"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.pd_pioneer_ir.json b/esphome_device_builder/definitions/components/climate.pd_pioneer_ir.json index d41b20ef00..70466de722 100644 --- a/esphome_device_builder/definitions/components/climate.pd_pioneer_ir.json +++ b/esphome_device_builder/definitions/components/climate.pd_pioneer_ir.json @@ -1 +1 @@ -{"id":"climate.pd_pioneer_ir","name":"IR Remote Climate","description":"This platform controls Pioneer mini-split air conditioners that use the PD Pioneer infrared protocol. These units are manufactured by Parker Davis (the \"PD\" in the protocol name). It has been tested with the ESPIR1 IR adapter module. Other Pioneer mini-split models that use the same protocol may also work.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","default_value":false,"display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"use_fahrenheit","type":"boolean","label":"Use Fahrenheit","description":"When enabled, the target temperature is sent in half-degree Fahrenheit steps and the unit display shows Fahrenheit. When disabled, whole-degree Celsius is used. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.pd_pioneer_ir","name":"IR Remote Climate","description":"This platform controls Pioneer mini-split air conditioners that use the PD Pioneer infrared protocol. These units are manufactured by Parker Davis (the \"PD\" in the protocol name). It has been tested with the ESPIR1 IR adapter module. Other Pioneer mini-split models that use the same protocol may also work.","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir/","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","display_format":null,"references_component":"remote_base"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","default_value":false,"display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"use_fahrenheit","type":"boolean","label":"Use Fahrenheit","description":"When enabled, the target temperature is sent in half-degree Fahrenheit steps and the unit display shows Fahrenheit. When disabled, whole-degree Celsius is used. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#pd_pioneer_ir"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/climate.samsung.json b/esphome_device_builder/definitions/components/climate.samsung.json index 12b132177b..41b95e7145 100644 --- a/esphome_device_builder/definitions/components/climate.samsung.json +++ b/esphome_device_builder/definitions/components/climate.samsung.json @@ -1 +1 @@ -{"id":"climate.samsung","name":"Samsung","description":"","category":"climate","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","description":"The remote transmitter to send the remote code with. Defaults to the first one defined in the configuration.","display_format":null,"references_component":"remote_base","help_link":"https://esphome.io/components/remote_transmitter/#configuration-variables-1"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"climate.samsung","name":"Samsung","description":"","category":"climate","docs_url":"https://esphome.io/components/climate/climate_ir#samsung","dependencies":["remote_transmitter"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the climate device. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"humidity_sensor","type":"id","label":"Humidity Sensor","display_format":null,"references_component":"sensor"},{"key":"receiver_id","type":"id","label":"Receiver ID","display_format":null,"references_component":"remote_base"},{"key":"sensor","type":"id","label":"Sensor","display_format":null,"references_component":"sensor"},{"key":"transmitter_id","type":"id","label":"Transmitter ID","description":"The remote transmitter to send the remote code with. Defaults to the first one defined in the configuration.","display_format":null,"references_component":"remote_base","help_link":"https://esphome.io/components/remote_transmitter/#configuration-variables-1"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the climate device in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"action_state_topic","type":"string","label":"Action State Topic","description":"The topic to publish climate device action changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"away_command_topic","type":"string","label":"Away Command Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"away_state_topic","type":"string","label":"Away State Topic","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"current_humidity_state_topic","type":"string","label":"Current Humidity State Topic","description":"The topic to publish current humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"current_temperature_state_topic","type":"string","label":"Current Temperature State Topic","description":"The topic to publish current temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_command_topic","type":"string","label":"Fan Mode Command Topic","description":"The topic to receive fan mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"fan_mode_state_topic","type":"string","label":"Fan Mode State Topic","description":"The topic to publish fan mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_command_topic","type":"string","label":"Mode Command Topic","description":"The topic to receive climate device mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"mode_state_topic","type":"string","label":"Mode State Topic","description":"The topic to publish climate device mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_command_topic","type":"string","label":"Preset Command Topic","description":"The topic to receive preset commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"preset_state_topic","type":"string","label":"Preset State Topic","description":"The topic to publish preset changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"supports_cool","type":"boolean","label":"Supports Cool","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat","type":"boolean","label":"Supports Heat","default_value":true,"display_format":null,"advanced":true},{"key":"supports_heat_cool","type":"boolean","label":"Supports Heat Cool","display_format":null,"advanced":true},{"key":"swing_mode_command_topic","type":"string","label":"Swing Mode Command Topic","description":"The topic to receive swing mode commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"swing_mode_state_topic","type":"string","label":"Swing Mode State Topic","description":"The topic to publish swing mode changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_command_topic","type":"string","label":"Target Humidity Command Topic","description":"The topic to receive target humidity commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_humidity_state_topic","type":"string","label":"Target Humidity State Topic","description":"The topic to publish target humidity changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_command_topic","type":"string","label":"Target Temperature Command Topic","description":"The topic to receive target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_command_topic","type":"string","label":"Target Temperature High Command Topic","description":"The topic to receive higher target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_high_state_topic","type":"string","label":"Target Temperature High State Topic","description":"The topic to publish higher target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_command_topic","type":"string","label":"Target Temperature Low Command Topic","description":"The topic to receive lower target temperature commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_low_state_topic","type":"string","label":"Target Temperature Low State Topic","description":"The topic to publish lower target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"target_temperature_state_topic","type":"string","label":"Target Temperature State Topic","description":"The topic to publish target temperature changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Visual settings for the climate device - these do not affect operation and are solely for controlling how the climate device shows up in the frontend.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","config_entries":[{"key":"max_humidity","type":"float_with_unit","label":"Max Humidity","description":"The maximum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"The maximum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"min_humidity","type":"float_with_unit","label":"Min Humidity","description":"The minimum humidity the climate device can reach. Used to set the range of the frontend gauge.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["%"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"The minimum temperature that the AC unit supports being set to.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/climate_ir/#arduino-heatpumpir","unit_options":["°C","°F","K"]},{"key":"temperature_step","type":"float_with_unit","label":"Temperature Step","description":"The granularity with which the target temperature can be controlled. Can be a single number, or split as below. A step written with a unit is converted as a difference, so `1°F` is `0.556` on a Celsius climate.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/climate/#base-climate-configuration","unit_options":["°C","°F","K"]}]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/cover.apc_proteous.json b/esphome_device_builder/definitions/components/cover.apc_proteous.json index bc319167a3..3a95deea1c 100644 --- a/esphome_device_builder/definitions/components/cover.apc_proteous.json +++ b/esphome_device_builder/definitions/components/cover.apc_proteous.json @@ -1 +1 @@ -{"id":"cover.apc_proteous","name":"APC Proteous Gate Controller","description":"The `apc_proteous` cover platform allows you to control an APC gate motor controller. It should work with any APC gate controller that accepts the Infinity 2.0 WiFi controller, including:","category":"cover","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the cover. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART bus](https://esphome.io/components/uart/) connected to the controller. Required if multiple UART buses are defined.","display_format":null,"references_component":"uart"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll the controller for its status. A partial position is reached by stopping when a poll reports it, so a longer interval means a larger overshoot. Defaults to `500ms`.","default_value":"500ms","display_format":null,"duration_min_unit":"ms"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the cover in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/cover/#device-class](https://www.home-assistant.io/integrations/cover/#device-class) for a list of available options.","options":[{"label":"awning","value":"awning"},{"label":"blind","value":"blind"},{"label":"curtain","value":"curtain"},{"label":"damper","value":"damper"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage","value":"garage"},{"label":"gate","value":"gate"},{"label":"shade","value":"shade"},{"label":"shutter","value":"shutter"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"mqtt_json_state_payload","type":"boolean","label":"MQTT Json State Payload","description":"When set to `true`, state changes will be published only to the `state_topic` as a single JSON object per state change. Example: When `false`, individual values are published to the `state_topic`, `position_state_topic`, and `tilt_state_topic` separately. Defaults to `false`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"position_command_topic","type":"string","label":"Position Command Topic","description":"The topic to receive cover position commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"position_state_topic","type":"string","label":"Position State Topic","description":"The topic to publish cover position changes to. Not valid if `mqtt_json_state_payload` is set to `true`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"tilt_command_topic","type":"string","label":"Tilt Command Topic","description":"The topic to receive cover tilt commands on. Accepts a tilt position from 0 to 100, or `STOP` to stop the tilt on covers that support it (for example a [template cover](https://esphome.io/components/cover/template/) with `stop_tilt_action`).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"tilt_state_topic","type":"string","label":"Tilt State Topic","description":"The topic to publish cover cover tilt state changes to. Not valid if `mqtt_json_state_payload` is set to `true`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"cover.apc_proteous","name":"APC Proteous Gate Controller","description":"The `apc_proteous` cover platform allows you to control an APC gate motor controller. It should work with any APC gate controller that accepts the Infinity 2.0 WiFi controller, including:","category":"cover","docs_url":"https://esphome.io/components/cover/apc_proteous/","image_url":"https://esphome.io/images/apc_proteous.svg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the cover. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART bus](https://esphome.io/components/uart/) connected to the controller. Required if multiple UART buses are defined.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/cover/apc_proteous/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll the controller for its status. A partial position is reached by stopping when a poll reports it, so a longer interval means a larger overshoot. Defaults to `500ms`.","default_value":"500ms","display_format":null,"help_link":"https://esphome.io/components/cover/apc_proteous/#configuration-variables","duration_min_unit":"ms"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the cover in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/cover/#device-class](https://www.home-assistant.io/integrations/cover/#device-class) for a list of available options.","options":[{"label":"awning","value":"awning"},{"label":"blind","value":"blind"},{"label":"curtain","value":"curtain"},{"label":"damper","value":"damper"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage","value":"garage"},{"label":"gate","value":"gate"},{"label":"shade","value":"shade"},{"label":"shutter","value":"shutter"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"mqtt_json_state_payload","type":"boolean","label":"MQTT Json State Payload","description":"When set to `true`, state changes will be published only to the `state_topic` as a single JSON object per state change. Example: When `false`, individual values are published to the `state_topic`, `position_state_topic`, and `tilt_state_topic` separately. Defaults to `false`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"position_command_topic","type":"string","label":"Position Command Topic","description":"The topic to receive cover position commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"position_state_topic","type":"string","label":"Position State Topic","description":"The topic to publish cover position changes to. Not valid if `mqtt_json_state_payload` is set to `true`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"tilt_command_topic","type":"string","label":"Tilt Command Topic","description":"The topic to receive cover tilt commands on. Accepts a tilt position from 0 to 100, or `STOP` to stop the tilt on covers that support it (for example a [template cover](https://esphome.io/components/cover/template/) with `stop_tilt_action`).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"tilt_state_topic","type":"string","label":"Tilt State Topic","description":"The topic to publish cover cover tilt state changes to. Not valid if `mqtt_json_state_payload` is set to `true`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/cover/#base-cover-configuration"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/delta_wallbox.json b/esphome_device_builder/definitions/components/delta_wallbox.json index 559d5a9780..4bd6b12178 100644 --- a/esphome_device_builder/definitions/components/delta_wallbox.json +++ b/esphome_device_builder/definitions/components/delta_wallbox.json @@ -1 +1 @@ -{"id":"delta_wallbox","name":"Delta AC Wallbox","description":"The `delta_wallbox` component connects to a Delta AC wallbox over Bluetooth Low Energy. It reports the charger's model, serial number, firmware versions, state, power, energy and charging time, lets you set the maximum charging current, and can start and stop a charging session.","category":"misc","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"password","type":"secure_string","label":"Password","description":"The password from the Delta app.","required":true,"display_format":null},{"key":"pin","type":"integer","label":"Pin","description":"The six-digit pairing PIN from the Delta app, needed when the charger asks for a passkey while pairing.","range":[0,999999],"display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the charger. Defaults to `15s`.","default_value":"15s","display_format":null,"duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The BLE client the charger is reached through.","display_format":null,"references_component":"ble_client"},{"key":"time_id","type":"id","label":"Time ID","description":"A [time](https://esphome.io/components/time/) source. When set, the charger's clock is synchronized at every connection so that its own logs carry the right time.","display_format":null,"references_component":"time"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"user","type":"string","label":"User","description":"The user name to log in with. Up to 6 characters. Defaults to `admin`.","default_value":"admin","display_format":null,"advanced":true}]} +{"id":"delta_wallbox","name":"Delta AC Wallbox","description":"The `delta_wallbox` component connects to a Delta AC wallbox over Bluetooth Low Energy. It reports the charger's model, serial number, firmware versions, state, power, energy and charging time, lets you set the maximum charging current, and can start and stop a charging session.","category":"misc","docs_url":"https://esphome.io/components/delta_wallbox/","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"password","type":"secure_string","label":"Password","description":"The password from the Delta app.","required":true,"display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#configuration-variables"},{"key":"pin","type":"integer","label":"Pin","description":"The six-digit pairing PIN from the Delta app, needed when the charger asks for a passkey while pairing.","range":[0,999999],"display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the charger. Defaults to `15s`.","default_value":"15s","display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#configuration-variables","duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The BLE client the charger is reached through.","display_format":null,"references_component":"ble_client","help_link":"https://esphome.io/components/delta_wallbox/#configuration-variables"},{"key":"time_id","type":"id","label":"Time ID","description":"A [time](https://esphome.io/components/time/) source. When set, the charger's clock is synchronized at every connection so that its own logs carry the right time.","display_format":null,"references_component":"time","help_link":"https://esphome.io/components/delta_wallbox/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/delta_wallbox/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"user","type":"string","label":"User","description":"The user name to log in with. Up to 6 characters. Defaults to `admin`.","default_value":"admin","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/delta_wallbox/#configuration-variables"}]} diff --git a/esphome_device_builder/definitions/components/dfrobot_sen0609.json b/esphome_device_builder/definitions/components/dfrobot_sen0609.json index d6dd2e51d6..fca30d7e70 100644 --- a/esphome_device_builder/definitions/components/dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"misc","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART](https://esphome.io/components/uart/) to use. Required if you have multiple UARTs configured.","display_format":null,"references_component":"uart"},{"key":"model","type":"string","label":"Model","description":"The radar model, which sets the largest value of the range [numbers](https://esphome.io/components/dfrobot_sen0609/#number). Defaults to `SEN0609`.","default_value":"SEN0609","options":[{"label":"SEN0609","value":"SEN0609","description":"Detection range up to 25 m."},{"label":"SEN0610","value":"SEN0610","description":"Detection range up to 12 m."}],"display_format":null},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component. Necessary if you want to define multiple instances of this component.","advanced":true},{"key":"mode","type":"string","label":"Mode","description":"The run mode of the radar. Defaults to `presence`.","default_value":"presence","options":[{"label":"presence","value":"presence","description":"The radar reports whether a person is present."},{"label":"speed_and_distance","value":"speed_and_distance","description":"The radar reports the distance, speed and energy of a moving target. Needed for the sensors."}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"misc","docs_url":"https://esphome.io/components/dfrobot_sen0609/","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART](https://esphome.io/components/uart/) to use. Required if you have multiple UARTs configured.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables"},{"key":"model","type":"string","label":"Model","description":"The radar model, which sets the largest value of the range [numbers](https://esphome.io/components/dfrobot_sen0609/#number). Defaults to `SEN0609`.","default_value":"SEN0609","options":[{"label":"SEN0609","value":"SEN0609","description":"Detection range up to 25 m."},{"label":"SEN0610","value":"SEN0610","description":"Detection range up to 12 m."}],"display_format":null,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component. Necessary if you want to define multiple instances of this component.","advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables"},{"key":"mode","type":"string","label":"Mode","description":"The run mode of the radar. Defaults to `presence`.","default_value":"presence","options":[{"label":"presence","value":"presence","description":"The radar reports whether a person is present."},{"label":"speed_and_distance","value":"speed_and_distance","description":"The radar reports the distance, speed and energy of a moving target. Needed for the sensors."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/display.ht16k33_char.json b/esphome_device_builder/definitions/components/display.ht16k33_char.json index 08dc24f2e9..c5cb0e14d2 100644 --- a/esphome_device_builder/definitions/components/display.ht16k33_char.json +++ b/esphome_device_builder/definitions/components/display.ht16k33_char.json @@ -1 +1 @@ -{"id":"display.ht16k33_char","name":"HT16K33 Character Display","description":"The `ht16k33_char` display platform drives character displays built around the Holtek HT16K33 LED driver over [I²C](https://esphome.io/components/i2c/). The chip can drive any array of LEDs, but this platform only knows displays whose segments are wired as characters.","category":"display","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the display. With several displays, the address of the first one. Defaults to `0x70`.","default_value":"112","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C Component](https://esphome.io/components/i2c/), only needed with more than one bus.","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to re-draw the screen. Defaults to `10s`.","default_value":"10s","display_format":null,"duration_min_unit":"ms"},{"key":"device","type":"string","label":"Device","description":"The display board, one of the values in [Supported Displays](https://esphome.io/components/display/ht16k33_char/#supported-displays).","required":true,"options":[{"label":"ADAFRUIT_7_SEG_.56IN","value":"ADAFRUIT_7_SEG_.56IN"}],"display_format":null},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"add_characters","type":"map","label":"Add Characters","description":"Characters to add to the font, or to redraw differently. See [Adding or Changing Characters](https://esphome.io/components/display/ht16k33_char/#adding-or-changing-characters).","display_format":null,"advanced":true,"config_entries":[{"key":"value","type":"integer","label":"Value","range":[0,255],"display_format":"hex","advanced":true}]},{"key":"intensity","type":"integer","label":"Intensity","description":"The brightness of the displays, from 0 (dimmest) to 15 (brightest). Defaults to `15`.","default_value":"15","range":[0,15],"display_format":null,"advanced":true},{"key":"lambda","type":"lambda","label":"Lambda","description":"The lambda to use for rendering the content on the display. See [Rendering Lambda](https://esphome.io/components/display/ht16k33_char/#rendering-lambda) for more information.","display_format":null,"advanced":true},{"key":"max_buffer_length","type":"integer","label":"Max Buffer Length","description":"The longest message, in bytes, that the lambda can print. Must hold every character of the message, including the decimal points and colons, and a multi-byte character such as `°` takes two bytes. From 4 to 64. Defaults to `8`.","default_value":"8","range":[4,64],"display_format":null,"advanced":true},{"key":"message_id","type":"id","label":"Message ID","advanced":true},{"key":"secondary_displays","type":"nested","label":"Secondary Displays","description":"Further displays on the same bus that continue the message after the first one, in the order they are placed. Each entry takes an **address** (**Required**, int). Up to seven.","display_format":null,"multi_value":true,"advanced":true,"config_entries":[{"key":"address","type":"integer","label":"Address","required":true,"range":[0,255],"display_format":"hex","advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"id_classes":["ht16k33_char::HT16K33CharDisplay","i2c::I2CDevice"]} +{"id":"display.ht16k33_char","name":"HT16K33 Character Display","description":"The `ht16k33_char` display platform drives character displays built around the Holtek HT16K33 LED driver over [I²C](https://esphome.io/components/i2c/). The chip can drive any array of LEDs, but this platform only knows displays whose segments are wired as characters.","category":"display","docs_url":"https://esphome.io/components/display/ht16k33_char/","image_url":"https://esphome.io/images/badges/ht16k33.svg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the display. With several displays, the address of the first one. Defaults to `0x70`.","default_value":"112","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C Component](https://esphome.io/components/i2c/), only needed with more than one bus.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to re-draw the screen. Defaults to `10s`.","default_value":"10s","display_format":null,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables","duration_min_unit":"ms"},{"key":"device","type":"string","label":"Device","description":"The display board, one of the values in [Supported Displays](https://esphome.io/components/display/ht16k33_char/#supported-displays).","required":true,"options":[{"label":"ADAFRUIT_7_SEG_.56IN","value":"ADAFRUIT_7_SEG_.56IN"}],"display_format":null,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables"},{"key":"add_characters","type":"map","label":"Add Characters","description":"Characters to add to the font, or to redraw differently. See [Adding or Changing Characters](https://esphome.io/components/display/ht16k33_char/#adding-or-changing-characters).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables","config_entries":[{"key":"value","type":"integer","label":"Value","range":[0,255],"display_format":"hex","advanced":true}]},{"key":"intensity","type":"integer","label":"Intensity","description":"The brightness of the displays, from 0 (dimmest) to 15 (brightest). Defaults to `15`.","default_value":"15","range":[0,15],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables"},{"key":"lambda","type":"lambda","label":"Lambda","description":"The lambda to use for rendering the content on the display. See [Rendering Lambda](https://esphome.io/components/display/ht16k33_char/#rendering-lambda) for more information.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables"},{"key":"max_buffer_length","type":"integer","label":"Max Buffer Length","description":"The longest message, in bytes, that the lambda can print. Must hold every character of the message, including the decimal points and colons, and a multi-byte character such as `°` takes two bytes. From 4 to 64. Defaults to `8`.","default_value":"8","range":[4,64],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables"},{"key":"message_id","type":"id","label":"Message ID","advanced":true},{"key":"secondary_displays","type":"nested","label":"Secondary Displays","description":"Further displays on the same bus that continue the message after the first one, in the order they are placed. Each entry takes an **address** (**Required**, int). Up to seven.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/display/ht16k33_char/#configuration-variables","config_entries":[{"key":"address","type":"integer","label":"Address","required":true,"range":[0,255],"display_format":"hex","advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"id_classes":["ht16k33_char::HT16K33CharDisplay","i2c::I2CDevice"]} diff --git a/esphome_device_builder/definitions/components/display.sh1122_spi.json b/esphome_device_builder/definitions/components/display.sh1122_spi.json index d512c56bc5..2b9c748bf3 100644 --- a/esphome_device_builder/definitions/components/display.sh1122_spi.json +++ b/esphome_device_builder/definitions/components/display.sh1122_spi.json @@ -1 +1 @@ -{"id":"display.sh1122_spi","name":"SH1122 OLED Display","description":"The `sh1122_spi` display platform allows you to use SH1122 ([datasheet](https://www.displayfuture.com/Display/datasheet/controller/SH1122.pdf)) 256x64 pixel, 16 level greyscale OLED displays with ESPHome. This component is for displays connected via the 4-wire [SPI bus](https://esphome.io/components/spi/).","category":"display","dependencies":["spi"],"multi_conf":true,"bus_constraints":{"spi":{"require_mosi":true}},"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to re-draw the screen. Defaults to `1s`.","default_value":"1s","display_format":null,"duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The model of the display. At present, only `SH1122 256x64` exists, which is the default.","default_value":"SH1122_256X64","options":[{"label":"SH1122_256X64","value":"SH1122_256X64"}],"display_format":null},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The CS pin.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"dc_pin","type":"pin","label":"DC Pin","description":"The DC pin.","required":true,"display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"lambda","type":"lambda","label":"Lambda","description":"**Set at most one of:** `pages`, `lambda`.\n\nThe lambda to use for rendering the content on the display. See [Display Rendering Engine](https://esphome.io/components/display/#display-engine) for more information.","display_format":null},{"key":"pages","type":"nested","label":"Pages","description":"**Set at most one of:** `pages`, `lambda`.\n\nShow pages instead of a single lambda. See [Display Pages](https://esphome.io/components/display/#display-pages).","display_format":null,"multi_value":true,"config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"lambda","type":"lambda","label":"Lambda","required":true,"display_format":null,"advanced":true}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The RESET pin.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"auto_clear_enabled","type":"boolean","label":"Auto Clear Enabled","description":"If the display should be cleared before each update. Defaults to `true` if a lambda or pages are configured, false otherwise.","default_value":"unspecified","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/#configuration-variables"},{"key":"brightness","type":"string","label":"Brightness","description":"The initial brightness of the display. Defaults to `100%`.","default_value":"1.0","display_format":null,"advanced":true},{"key":"data_rate","type":"string","label":"Data Rate","display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"rotation","type":"string","label":"Rotation","description":"The rotation of the display in degrees, one of 0, 90, 180 or 270. Defaults to `0`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"show_test_card","type":"boolean","label":"Show Test Card","description":"If the display should show a test card. Defaults to `false`. If set, any code in the `lambda` config option will be ignored.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/#configuration-variables"},{"key":"spi_mode","type":"string","label":"SPI Mode","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true}],"required_groups":[{"kind":"at_most_one","keys":["pages","lambda"]}]} +{"id":"display.sh1122_spi","name":"SH1122 OLED Display","description":"The `sh1122_spi` display platform allows you to use SH1122 ([datasheet](https://www.displayfuture.com/Display/datasheet/controller/SH1122.pdf)) 256x64 pixel, 16 level greyscale OLED displays with ESPHome. This component is for displays connected via the 4-wire [SPI bus](https://esphome.io/components/spi/).","category":"display","docs_url":"https://esphome.io/components/display/sh1122/","dependencies":["spi"],"multi_conf":true,"bus_constraints":{"spi":{"require_mosi":true}},"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to re-draw the screen. Defaults to `1s`.","default_value":"1s","display_format":null,"help_link":"https://esphome.io/components/display/sh1122/#configuration-variables","duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The model of the display. At present, only `SH1122 256x64` exists, which is the default.","default_value":"SH1122_256X64","options":[{"label":"SH1122_256X64","value":"SH1122_256X64"}],"display_format":null,"help_link":"https://esphome.io/components/display/sh1122/#configuration-variables"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The CS pin.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/display/sh1122/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"dc_pin","type":"pin","label":"DC Pin","description":"The DC pin.","required":true,"display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/display/sh1122/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"lambda","type":"lambda","label":"Lambda","description":"**Set at most one of:** `pages`, `lambda`.\n\nThe lambda to use for rendering the content on the display. See [Display Rendering Engine](https://esphome.io/components/display/#display-engine) for more information.","display_format":null,"help_link":"https://esphome.io/components/display/sh1122/#configuration-variables"},{"key":"pages","type":"nested","label":"Pages","description":"**Set at most one of:** `pages`, `lambda`.\n\nShow pages instead of a single lambda. See [Display Pages](https://esphome.io/components/display/#display-pages).","display_format":null,"multi_value":true,"help_link":"https://esphome.io/components/display/sh1122/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"lambda","type":"lambda","label":"Lambda","required":true,"display_format":null,"advanced":true}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The RESET pin.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/display/sh1122/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/display/sh1122/#configuration-variables"},{"key":"auto_clear_enabled","type":"boolean","label":"Auto Clear Enabled","description":"If the display should be cleared before each update. Defaults to `true` if a lambda or pages are configured, false otherwise.","default_value":"unspecified","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/#configuration-variables"},{"key":"brightness","type":"string","label":"Brightness","description":"The initial brightness of the display. Defaults to `100%`.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/sh1122/#configuration-variables"},{"key":"data_rate","type":"string","label":"Data Rate","display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"rotation","type":"string","label":"Rotation","description":"The rotation of the display in degrees, one of 0, 90, 180 or 270. Defaults to `0`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"show_test_card","type":"boolean","label":"Show Test Card","description":"If the display should show a test card. Defaults to `false`. If set, any code in the `lambda` config option will be ignored.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/#configuration-variables"},{"key":"spi_mode","type":"string","label":"SPI Mode","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true}],"required_groups":[{"kind":"at_most_one","keys":["pages","lambda"]}]} diff --git a/esphome_device_builder/definitions/components/display.st7305.json b/esphome_device_builder/definitions/components/display.st7305.json index a64183be2f..ff0afafee0 100644 --- a/esphome_device_builder/definitions/components/display.st7305.json +++ b/esphome_device_builder/definitions/components/display.st7305.json @@ -1 +1 @@ -{"id":"display.st7305","name":"ST7305 Reflective LCD Display","description":"The `st7305` display platform drives reflective monochrome LCD panels based on the Sitronix ST7305 and ST7306 controllers over a 4-wire [SPI bus](https://esphome.io/components/spi/). These panels are 1 bit per pixel, have no backlight and retain their image. The built-in `WAVESHARE-400X300` model describes the 4.2\" panel on the Waveshare ESP32-S3-RLCD-4.2 (400x300 in landscape). Other panels can be described with the `CUSTOM` model.","category":"display","dependencies":["spi"],"multi_conf":true,"bus_constraints":{"spi":{"require_mosi":true}},"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","description":"Manually specify the ID of the [SPI Component](https://esphome.io/components/spi/) if there are multiple SPI buses.","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to re-draw the screen. Defaults to `1s`.","default_value":"1s","display_format":null,"duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The panel model. One of `WAVESHARE-400X300` (default) or `CUSTOM`.","required":true,"options":[{"label":"CUSTOM","value":"CUSTOM"},{"label":"WAVESHARE-400X300","value":"WAVESHARE-400X300"}],"display_format":null},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip select pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO40.","required":true,"display_format":null,"depends_on":"model","pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["custom","CUSTOM"]},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip select pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO40.","display_format":null,"depends_on":"model","pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"dc_pin","type":"pin","label":"DC Pin","description":"The data/command pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO5.","required":true,"display_format":null,"depends_on":"model","pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["custom","CUSTOM"]},{"key":"dc_pin","type":"pin","label":"DC Pin","description":"The data/command pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO5.","display_format":null,"depends_on":"model","pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The reset pin. The `WAVESHARE-400X300` model supplies GPIO41. If no pin is configured, the driver uses a software reset.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"auto_clear_enabled","type":"boolean","label":"Auto Clear Enabled","description":"Whether the display should be cleared before each update. Defaults to `true` if a lambda or pages are configured.","default_value":"unspecified","display_format":null,"advanced":true},{"key":"column_end","type":"integer","label":"Column End","description":"The CASET end address. Defaults to the model value, or to a value derived from the display dimensions for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true},{"key":"column_start","type":"integer","label":"Column Start","description":"The CASET start address. Defaults to the model value, or `0` for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true},{"key":"data_rate","type":"string","label":"Data Rate","description":"The SPI clock rate. Defaults to `10MHz`.","default_value":"10000000","display_format":null,"advanced":true},{"key":"height","type":"integer","label":"Height","description":"The display height in pixels. Required for `CUSTOM`.","required":true,"range":[8,1024],"display_format":null,"depends_on":"model","depends_on_value_any":["custom","CUSTOM"]},{"key":"height","type":"integer","label":"Height","description":"The display height in pixels. Required for `CUSTOM`.","range":[8,1024],"display_format":null,"depends_on":"model","advanced":true,"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"init_sequence","type":"string","label":"Init Sequence","description":"The controller initialisation sequence. Required for `CUSTOM`; may override a model's sequence.","required":true,"display_format":null,"multi_value":true,"depends_on":"model","depends_on_value_any":["custom","CUSTOM"]},{"key":"init_sequence","type":"string","label":"Init Sequence","description":"The controller initialisation sequence. Required for `CUSTOM`; may override a model's sequence.","display_format":null,"multi_value":true,"depends_on":"model","advanced":true,"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"lambda","type":"lambda","label":"Lambda","description":"The lambda to use for rendering the content on the display.","display_format":null,"advanced":true},{"key":"pages","type":"nested","label":"Pages","description":"Show pages instead of a single lambda. See [Display Pages](https://esphome.io/components/display/#display-pages).","display_format":null,"multi_value":true,"advanced":true,"config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"lambda","type":"lambda","label":"Lambda","required":true,"display_format":null,"advanced":true}]},{"key":"portrait","type":"boolean","label":"Portrait","description":"Set to `true` for a panel that packs 4x2 pixels per byte (portrait native orientation). Set to `false` for the 2x4 landscape layout. Required for `CUSTOM`; the `WAVESHARE-400X300` model sets it to `false`.","required":true,"display_format":null,"depends_on":"model","depends_on_value_any":["custom","CUSTOM"]},{"key":"portrait","type":"boolean","label":"Portrait","description":"Set to `true` for a panel that packs 4x2 pixels per byte (portrait native orientation). Set to `false` for the 2x4 landscape layout. Required for `CUSTOM`; the `WAVESHARE-400X300` model sets it to `false`.","display_format":null,"depends_on":"model","advanced":true,"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"rotation","type":"string","label":"Rotation","description":"Rotate the rendered content. One of `0` (default), `90`, `180` or `270`.","display_format":null,"advanced":true},{"key":"row_end","type":"integer","label":"Row End","description":"The RASET end address. Defaults to the model value, or to a value derived from the display dimensions for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true},{"key":"row_start","type":"integer","label":"Row Start","description":"The RASET start address. Defaults to the model value, or `0` for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"show_test_card","type":"boolean","label":"Show Test Card","description":"Show a test card. Defaults to `false`.","display_format":null,"advanced":true},{"key":"spi_mode","type":"string","label":"SPI Mode","default_value":"MODE0","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true},{"key":"width","type":"integer","label":"Width","description":"The display width in pixels. Required for `CUSTOM`.","required":true,"range":[8,1024],"display_format":null,"depends_on":"model","depends_on_value_any":["custom","CUSTOM"]},{"key":"width","type":"integer","label":"Width","description":"The display width in pixels. Required for `CUSTOM`.","range":[8,1024],"display_format":null,"depends_on":"model","advanced":true,"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]}]} +{"id":"display.st7305","name":"ST7305 Reflective LCD Display","description":"The `st7305` display platform drives reflective monochrome LCD panels based on the Sitronix ST7305 and ST7306 controllers over a 4-wire [SPI bus](https://esphome.io/components/spi/). These panels are 1 bit per pixel, have no backlight and retain their image. The built-in `WAVESHARE-400X300` model describes the 4.2\" panel on the Waveshare ESP32-S3-RLCD-4.2 (400x300 in landscape). Other panels can be described with the `CUSTOM` model.","category":"display","docs_url":"https://esphome.io/components/display/st7305/","image_url":"https://esphome.io/images/st7305.jpg","dependencies":["spi"],"multi_conf":true,"bus_constraints":{"spi":{"require_mosi":true}},"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","description":"Manually specify the ID of the [SPI Component](https://esphome.io/components/spi/) if there are multiple SPI buses.","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent","help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to re-draw the screen. Defaults to `1s`.","default_value":"1s","display_format":null,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables","duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The panel model. One of `WAVESHARE-400X300` (default) or `CUSTOM`.","required":true,"options":[{"label":"CUSTOM","value":"CUSTOM"},{"label":"WAVESHARE-400X300","value":"WAVESHARE-400X300"}],"display_format":null,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip select pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO40.","required":true,"display_format":null,"depends_on":"model","pin_mode":"output","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["custom","CUSTOM"]},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip select pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO40.","display_format":null,"depends_on":"model","pin_mode":"output","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"dc_pin","type":"pin","label":"DC Pin","description":"The data/command pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO5.","required":true,"display_format":null,"depends_on":"model","pin_mode":"output","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["custom","CUSTOM"]},{"key":"dc_pin","type":"pin","label":"DC Pin","description":"The data/command pin. Required for `CUSTOM`; the `WAVESHARE-400X300` model supplies GPIO5.","display_format":null,"depends_on":"model","pin_mode":"output","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}],"depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The reset pin. The `WAVESHARE-400X300` model supplies GPIO41. If no pin is configured, the driver uses a software reset.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"auto_clear_enabled","type":"boolean","label":"Auto Clear Enabled","description":"Whether the display should be cleared before each update. Defaults to `true` if a lambda or pages are configured.","default_value":"unspecified","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"column_end","type":"integer","label":"Column End","description":"The CASET end address. Defaults to the model value, or to a value derived from the display dimensions for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"column_start","type":"integer","label":"Column Start","description":"The CASET start address. Defaults to the model value, or `0` for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"data_rate","type":"string","label":"Data Rate","description":"The SPI clock rate. Defaults to `10MHz`.","default_value":"10000000","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"height","type":"integer","label":"Height","description":"The display height in pixels. Required for `CUSTOM`.","required":true,"range":[8,1024],"display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["custom","CUSTOM"]},{"key":"height","type":"integer","label":"Height","description":"The display height in pixels. Required for `CUSTOM`.","range":[8,1024],"display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"init_sequence","type":"string","label":"Init Sequence","description":"The controller initialisation sequence. Required for `CUSTOM`; may override a model's sequence.","required":true,"display_format":null,"multi_value":true,"depends_on":"model","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["custom","CUSTOM"]},{"key":"init_sequence","type":"string","label":"Init Sequence","description":"The controller initialisation sequence. Required for `CUSTOM`; may override a model's sequence.","display_format":null,"multi_value":true,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"lambda","type":"lambda","label":"Lambda","description":"The lambda to use for rendering the content on the display.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"pages","type":"nested","label":"Pages","description":"Show pages instead of a single lambda. See [Display Pages](https://esphome.io/components/display/#display-pages).","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"lambda","type":"lambda","label":"Lambda","required":true,"display_format":null,"advanced":true}]},{"key":"portrait","type":"boolean","label":"Portrait","description":"Set to `true` for a panel that packs 4x2 pixels per byte (portrait native orientation). Set to `false` for the 2x4 landscape layout. Required for `CUSTOM`; the `WAVESHARE-400X300` model sets it to `false`.","required":true,"display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["custom","CUSTOM"]},{"key":"portrait","type":"boolean","label":"Portrait","description":"Set to `true` for a panel that packs 4x2 pixels per byte (portrait native orientation). Set to `false` for the 2x4 landscape layout. Required for `CUSTOM`; the `WAVESHARE-400X300` model sets it to `false`.","display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"rotation","type":"string","label":"Rotation","description":"Rotate the rendered content. One of `0` (default), `90`, `180` or `270`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"row_end","type":"integer","label":"Row End","description":"The RASET end address. Defaults to the model value, or to a value derived from the display dimensions for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"row_start","type":"integer","label":"Row Start","description":"The RASET start address. Defaults to the model value, or `0` for `CUSTOM`.","range":[0,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"show_test_card","type":"boolean","label":"Show Test Card","description":"Show a test card. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables"},{"key":"spi_mode","type":"string","label":"SPI Mode","default_value":"MODE0","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true},{"key":"width","type":"integer","label":"Width","description":"The display width in pixels. Required for `CUSTOM`.","required":true,"range":[8,1024],"display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["custom","CUSTOM"]},{"key":"width","type":"integer","label":"Width","description":"The display width in pixels. Required for `CUSTOM`.","range":[8,1024],"display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/display/st7305/#configuration-variables","depends_on_value_any":["waveshare-400x300","WAVESHARE-400X300"]}]} diff --git a/esphome_device_builder/definitions/components/ds3231.json b/esphome_device_builder/definitions/components/ds3231.json index 8002d48502..706ebe95c6 100644 --- a/esphome_device_builder/definitions/components/ds3231.json +++ b/esphome_device_builder/definitions/components/ds3231.json @@ -1 +1 @@ -{"id":"ds3231","name":"DS3231 Real-Time Clock","description":"The `ds3231` component provides support for the Maxim/Analog Devices DS3231 real-time clock (RTC). The DS3231 is a temperature-compensated RTC accurate to a few parts per million, and is found on inexpensive breakout boards such as the ZS-042.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the chip. Defaults to `0x68`.","default_value":"104","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C](https://esphome.io/components/i2c/) bus when using multiple buses.","display_format":null,"references_component":"i2c"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"**Set at most one of:** `interrupt_pin`, `square_wave_frequency`.\n\nThe GPIO connected to the INT/SQW pin of the chip. The pin is open drain and active low, so it needs a pull-up (most breakout boards have one). With an interrupt pin the alarms are handled as soon as they fire instead of being polled. Can't be combined with `square_wave_frequency`.","display_format":null,"pin_mode":"input","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"square_wave_frequency","type":"float_with_unit","label":"Square Wave Frequency","description":"**Set at most one of:** `interrupt_pin`, `square_wave_frequency`.\n\nUse the INT/SQW pin as a square-wave output instead of the alarm interrupt. One of `1Hz`, `1024Hz`, `4096Hz` or `8192Hz` (`1.024kHz` and the other kHz spellings work too). If not set, INT/SQW is the alarm interrupt output.","options":[{"label":"1","value":"1"},{"label":"1024","value":"1024"},{"label":"4096","value":"4096"},{"label":"8192","value":"8192"}],"display_format":null,"unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"id","type":"id","label":"ID","description":"The ID of the `ds3231` hub.","advanced":true},{"key":"aging_offset","type":"integer","label":"Aging Offset","description":"Fine-tune the oscillator, from `-128` to `127`. Each step is about 0.1 ppm at 25 °C; positive values slow the clock down. If not set, the chip setting is left unchanged.","range":[-128,127],"display_format":null,"advanced":true},{"key":"alarm_check_interval","type":"time_period","label":"Alarm Check Interval","description":"How often to poll the alarm flags. Without an `interrupt_pin` this is how alarms are detected; with one it is a fallback that picks up a missed interrupt. Only used when an `interrupt_pin`, an `on_alarm_*` trigger or an alarm binary sensor is configured. Defaults to `1s`.","default_value":"1s","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"auto_clear_alarms","type":"boolean","label":"Auto Clear Alarms","description":"Clear an alarm flag on the chip as soon as the alarm has been handled, which also releases the INT/SQW line. When `false`, the flag stays set until it is cleared with the [`ds3231.clear_alarm`](https://esphome.io/components/ds3231/#ds3231-clear_alarm-action) action. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"battery_backed_square_wave","type":"boolean","label":"Battery Backed Square Wave","description":"Keep the square wave running while the chip runs from its backup battery. If not set, the chip setting is left unchanged.","display_format":null,"advanced":true},{"key":"output_32khz","type":"boolean","label":"Output 32Khz","description":"Enable or disable the 32 kHz output pin. The chip enables it on power-up; if not set, the chip setting is left unchanged.","display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}]} +{"id":"ds3231","name":"DS3231 Real-Time Clock","description":"The `ds3231` component provides support for the Maxim/Analog Devices DS3231 real-time clock (RTC). The DS3231 is a temperature-compensated RTC accurate to a few parts per million, and is found on inexpensive breakout boards such as the ZS-042.","category":"misc","docs_url":"https://esphome.io/components/ds3231/","image_url":"https://esphome.io/images/ds3231.jpg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the chip. Defaults to `0x68`.","default_value":"104","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/ds3231/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C](https://esphome.io/components/i2c/) bus when using multiple buses.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/ds3231/#configuration-variables"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"**Set at most one of:** `interrupt_pin`, `square_wave_frequency`.\n\nThe GPIO connected to the INT/SQW pin of the chip. The pin is open drain and active low, so it needs a pull-up (most breakout boards have one). With an interrupt pin the alarms are handled as soon as they fire instead of being polled. Can't be combined with `square_wave_frequency`.","display_format":null,"pin_mode":"input","help_link":"https://esphome.io/components/ds3231/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"square_wave_frequency","type":"float_with_unit","label":"Square Wave Frequency","description":"**Set at most one of:** `interrupt_pin`, `square_wave_frequency`.\n\nUse the INT/SQW pin as a square-wave output instead of the alarm interrupt. One of `1Hz`, `1024Hz`, `4096Hz` or `8192Hz` (`1.024kHz` and the other kHz spellings work too). If not set, INT/SQW is the alarm interrupt output.","options":[{"label":"1","value":"1"},{"label":"1024","value":"1024"},{"label":"4096","value":"4096"},{"label":"8192","value":"8192"}],"display_format":null,"help_link":"https://esphome.io/components/ds3231/#configuration-variables","unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"id","type":"id","label":"ID","description":"The ID of the `ds3231` hub.","advanced":true,"help_link":"https://esphome.io/components/ds3231/#ds3231-enable_square_wave-and-ds3231-disable_square_wave-actions"},{"key":"aging_offset","type":"integer","label":"Aging Offset","description":"Fine-tune the oscillator, from `-128` to `127`. Each step is about 0.1 ppm at 25 °C; positive values slow the clock down. If not set, the chip setting is left unchanged.","range":[-128,127],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ds3231/#configuration-variables"},{"key":"alarm_check_interval","type":"time_period","label":"Alarm Check Interval","description":"How often to poll the alarm flags. Without an `interrupt_pin` this is how alarms are detected; with one it is a fallback that picks up a missed interrupt. Only used when an `interrupt_pin`, an `on_alarm_*` trigger or an alarm binary sensor is configured. Defaults to `1s`.","default_value":"1s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ds3231/#configuration-variables","duration_min_unit":"ms"},{"key":"auto_clear_alarms","type":"boolean","label":"Auto Clear Alarms","description":"Clear an alarm flag on the chip as soon as the alarm has been handled, which also releases the INT/SQW line. When `false`, the flag stays set until it is cleared with the [`ds3231.clear_alarm`](https://esphome.io/components/ds3231/#ds3231-clear_alarm-action) action. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ds3231/#configuration-variables"},{"key":"battery_backed_square_wave","type":"boolean","label":"Battery Backed Square Wave","description":"Keep the square wave running while the chip runs from its backup battery. If not set, the chip setting is left unchanged.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ds3231/#configuration-variables"},{"key":"output_32khz","type":"boolean","label":"Output 32Khz","description":"Enable or disable the 32 kHz output pin. The chip enables it on power-up; if not set, the chip setting is left unchanged.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ds3231/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}]} diff --git a/esphome_device_builder/definitions/components/duco.json b/esphome_device_builder/definitions/components/duco.json index 5953747d23..60053a5ad8 100644 --- a/esphome_device_builder/definitions/components/duco.json +++ b/esphome_device_builder/definitions/components/duco.json @@ -1 +1 @@ -{"id":"duco","name":"Duco Ventilation","description":"The Duco component controls a Duco ventilation system directly over a UART connection, without the Duco Connectivity Board. It uses the same protocol as the Connectivity Board.","category":"misc","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":57600,"require_tx":true,"require_rx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) if you want to use multiple UART buses.","display_format":null,"references_component":"uart"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID of the Duco component.","advanced":true},{"key":"disable_crc","type":"boolean","label":"Disable CRC","description":"Accept messages that fail the checksum check. Only for troubleshooting. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"discovery","type":"nested","label":"Discovery","description":"Discover the nodes connected to the box once after boot and list them with the configuration in the logs. Takes no options; use `discovery: {}`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"time","type":"nested","label":"Time","description":"Set the clock of the box from a [Time Component](https://esphome.io/components/time/).","display_format":null,"advanced":true,"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the clock is set. Defaults to `15min`.","default_value":"15min","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"time_id","type":"id","label":"Time ID","description":"The time source to use. Defaults to the only time source in the configuration.","display_format":null,"references_component":"time","advanced":true},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]}]} +{"id":"duco","name":"Duco Ventilation","description":"The Duco component controls a Duco ventilation system directly over a UART connection, without the Duco Connectivity Board. It uses the same protocol as the Connectivity Board.","category":"misc","docs_url":"https://esphome.io/components/duco/","image_url":"https://esphome.io/images/duco.svg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":57600,"require_tx":true,"require_rx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) if you want to use multiple UART buses.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/duco/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID of the Duco component.","advanced":true,"help_link":"https://esphome.io/components/duco/#configuration-variables"},{"key":"disable_crc","type":"boolean","label":"Disable CRC","description":"Accept messages that fail the checksum check. Only for troubleshooting. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/duco/#configuration-variables"},{"key":"discovery","type":"nested","label":"Discovery","description":"Discover the nodes connected to the box once after boot and list them with the configuration in the logs. Takes no options; use `discovery: {}`.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/duco/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"time","type":"nested","label":"Time","description":"Set the clock of the box from a [Time Component](https://esphome.io/components/time/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/duco/#configuration-variables","config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the clock is set. Defaults to `15min`.","default_value":"15min","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/duco/#configuration-variables","duration_min_unit":"ms"},{"key":"time_id","type":"id","label":"Time ID","description":"The time source to use. Defaults to the only time source in the configuration.","display_format":null,"references_component":"time","advanced":true,"help_link":"https://esphome.io/components/duco/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]}]} diff --git a/esphome_device_builder/definitions/components/ecocomfort2.json b/esphome_device_builder/definitions/components/ecocomfort2.json index 0af8a253f2..3a30e2eb23 100644 --- a/esphome_device_builder/definitions/components/ecocomfort2.json +++ b/esphome_device_builder/definitions/components/ecocomfort2.json @@ -1 +1 @@ -{"id":"ecocomfort2","name":"Ecocomfort2","description":"The `ecocomfort2` component lets you control a [Fantini Cosmi Aspirvelo Air Ecocomfort 2.0 Smart](https://www.fantinicosmi.it/prodotto/aspirvelo-air-ecocomfort-2-0-smart/) heat recovery ventilation unit over BLE from an ESP32.","category":"misc","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the operating state and the measurements are read from the unit. Defaults to `30s`.","default_value":"30s","display_format":null,"duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The ID of the [BLE Client](https://esphome.io/components/ble_client/) connected to the unit.","display_format":null,"references_component":"ble_client"},{"key":"time_id","type":"id","label":"Time ID","description":"A [Time](https://esphome.io/components/time/) component to set the unit's clock from. The clock is written once the time is known after each connection, and again whenever the time source syncs.","display_format":null,"references_component":"time"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}]} +{"id":"ecocomfort2","name":"Ecocomfort2","description":"The `ecocomfort2` component lets you control a [Fantini Cosmi Aspirvelo Air Ecocomfort 2.0 Smart](https://www.fantinicosmi.it/prodotto/aspirvelo-air-ecocomfort-2-0-smart/) heat recovery ventilation unit over BLE from an ESP32.","category":"misc","docs_url":"https://esphome.io/components/ecocomfort2/","image_url":"https://esphome.io/images/fan.svg","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the operating state and the measurements are read from the unit. Defaults to `30s`.","default_value":"30s","display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables","duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The ID of the [BLE Client](https://esphome.io/components/ble_client/) connected to the unit.","display_format":null,"references_component":"ble_client","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables"},{"key":"time_id","type":"id","label":"Time ID","description":"A [Time](https://esphome.io/components/time/) component to set the unit's clock from. The clock is written once the time is known after each connection, and again whenever the time source syncs.","display_format":null,"references_component":"time","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}]} diff --git a/esphome_device_builder/definitions/components/esp32.json b/esphome_device_builder/definitions/components/esp32.json index 1ac63212e6..5dc862844f 100644 --- a/esphome_device_builder/definitions/components/esp32.json +++ b/esphome_device_builder/definitions/components/esp32.json @@ -1 +1 @@ -{"id":"esp32","name":"ESP32 Platform","description":"This component contains platform-specific options for the ESP32 platform.","category":"core","docs_url":"https://esphome.io/components/esp32/","image_url":"https://esphome.io/images/badges/esp32.svg","supported_platforms":["esp32"],"config_entries":[{"key":"framework","type":"nested","label":"Framework","description":"Options for the underlying framework used by ESPHome. See [Framework](https://esphome.io/components/esp32/#framework).","display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables","config_entries":[{"key":"type","type":"string","label":"Type","description":"The framework type, either `esp-idf` or `arduino`. Defaults to `esp-idf` for all ESP32 variants.","default_value":"esp-idf","options":[{"label":"esp-idf","value":"esp-idf"},{"label":"arduino","value":"arduino"}],"display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"advanced","type":"nested","label":"Advanced","description":"See [Advanced Configuration](https://esphome.io/components/esp32/#advanced-configuration) and [Security](https://esphome.io/components/esp32/#security) below.","default_value":"{}","display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1","config_entries":[{"key":"adc_oneshot_in_iram","type":"boolean","label":"ADC Oneshot In Iram","description":"Place ADC oneshot control functions in IRAM. When flash cache is disabled during background flash operations (NVS writes by WiFi, BLE, Zigbee, Thread, power management, etc.), ADC reads will crash if these functions are in flash. The ADC component automatically enables this when used. Defaults to `false` (automatically enabled by the ADC component).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"assertion_level","type":"string","label":"Assertion Level","description":"One of `ENABLE` (default), `SILENT` or `DISABLE`. Changing away from the default will reduce the size of the compiled binary, albeit at the expense of ease of troubleshooting. See [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.3.3/esp32/api-reference/kconfig.html#config-compiler-optimization-assertion-level) for more information.","options":[{"label":"DISABLE","value":"DISABLE"},{"label":"ENABLE","value":"ENABLE"},{"label":"SILENT","value":"SILENT"}],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"compiler_optimization","type":"string","label":"Compiler Optimization","description":"One of `SIZE` (default), `PERF`, `NONE` or `DEBUG`. Changing away from the default will increase the size of the compiled binary but may increase performance or allow for easier troubleshooting. See [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.3.3/esp32/api-reference/kconfig.html#config-compiler-optimization) for more information.","default_value":"SIZE","options":[{"label":"DEBUG","value":"DEBUG"},{"label":"NONE","value":"NONE"},{"label":"PERF","value":"PERF"},{"label":"SIZE","value":"SIZE"}],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_debug_stubs","type":"boolean","label":"Disable Debug Stubs","description":"Disable OpenOCD debug stubs. These are used for on-chip debugging with OpenOCD/JTAG debuggers and are rarely needed for typical ESPHome use. Disabling this saves code size. Defaults to `true` (debug stubs disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_dev_null_vfs","type":"boolean","label":"Disable Dev Null Vfs","description":"Disable /dev/null VFS initialization. ESPHome doesn't typically need /dev/null. Disabling this saves a small amount of resources. Defaults to `true` (/dev/null disabled).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_fatfs","type":"boolean","label":"Disable Fatfs","description":"Disable FAT filesystem support. ESPHome doesn't use FATFS by default. Components that require FATFS (e.g., SD card components) automatically enable it regardless of this setting. Disabling this saves code size. Defaults to `true` (FATFS disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_libc_locks_in_iram","type":"boolean","label":"Disable Libc Locks In Iram","description":"Disable placing libc lock functions in IRAM. This saves approximately 1.3 KB of IRAM by placing these functions in flash memory instead. This is safe for ESPHome since no IRAM interrupt service routines (ISRs that run while cache is disabled) use libc lock APIs. Defaults to `true` (IRAM placement disabled to save RAM).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_peer_cert","type":"boolean","label":"Disable Mbedtls Peer Cert","description":"Disable keeping the peer certificate after TLS handshake completion. This saves approximately 4 KB of heap memory per TLS connection, but prevents inspecting the peer's certificate after the handshake. Most ESPHome use cases don't need post-handshake certificate access. Components that require peer certificate access automatically enable it regardless of this setting. Defaults to `true` (peer certificate not kept to save heap).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_pkcs7","type":"boolean","label":"Disable Mbedtls Pkcs7","description":"Disable PKCS#7 support in mbedTLS. PKCS#7 is used for specific certificate validation scenarios that ESPHome doesn't typically use. Components that require PKCS#7 automatically enable it regardless of this setting. Disabling this saves code size. Defaults to `true` (PKCS#7 disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_tls","type":"boolean","label":"Disable Mbedtls TLS","description":"Compile the TLS protocol out of mbedTLS entirely when no component in the configuration uses it. Components that open TLS connections (such as `http_request`, `mqtt`, `audio`, Nextion TFT upload or WiFi with `eap`) keep it automatically, as does any `CONFIG_ESP_TLS_*`, `CONFIG_MBEDTLS_SSL_*`, `CONFIG_ESP_HTTPS_*` or TLS role entry under `sdkconfig_options`. Hashes, AES and RSA signature verification stay available either way. Set to `false` to always keep the TLS stack, for example for an external component that uses mbedTLS directly. Defaults to `true` (TLS removed when unused, saving compile time and a small amount of flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_tls_extras","type":"boolean","label":"Disable Mbedtls TLS Extras","description":"Remove TLS features that an HTTPS or MQTT client talking to a modern server never negotiates: static RSA and static ECDH key exchange, TLS renegotiation, session tickets, AES-CCM ciphersuites and deterministic ECDSA. If a server only offers one of these legacy ciphersuites, the TLS handshake fails and the error is logged; set this to `false` to restore them. Components that need any of these (OpenThread) automatically re-enable them. A value set explicitly under `sdkconfig_options` always takes precedence. Defaults to `true` (legacy TLS features removed, saving ~10 KB flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_tls_server","type":"boolean","label":"Disable Mbedtls TLS Server","description":"Build mbedTLS as a TLS client only, dropping the server-side handshake code. Nothing in ESPHome accepts TLS connections; components that do (OpenThread's DTLS commissioner) automatically re-enable it. Set to `false` if an external component runs an HTTPS server. Defaults to `true` (server code removed, saving ~7 KB flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_ocd_aware","type":"boolean","label":"Disable Ocd Aware","description":"Disable OCD (On-Chip Debugger) aware exception and panic handlers. When enabled, the panic handler detects if a JTAG debugger is connected and halts instead of resetting, allowing post-mortem debugging. Most ESPHome users don't use JTAG debugging. Disabling this saves code size. Defaults to `true` (OCD awareness disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_regi2c_in_iram","type":"boolean","label":"Disable Regi2C In Iram","description":"Move analog I2C master control functions (regi2c) from IRAM to flash. These functions are used internally by ESP-IDF for analog peripherals (ADC, DAC, temperature sensor calibration). Moving them to flash saves IRAM. This is safe for ESPHome because no ESPHome IRAM interrupt service routines call ADC or other analog functions. Defaults to `true` (regi2c functions in flash to save IRAM).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_usb_serial_jtag_secondary","type":"boolean","label":"Disable USB Serial JTAG Secondary","description":"Disable the secondary USB Serial/JTAG console. This is a fallback console output when UART0 is the primary console but not connected. On chips that default to USB Serial/JTAG as the primary console (ESP32-C3, ESP32-C5, ESP32-C6, ESP32-H2, ESP32-P4, ESP32-S3), this setting has no effect since the primary console is already USB Serial/JTAG. Components like the logger that need USB Serial/JTAG automatically enable it regardless of this setting. Defaults to `true` (secondary console disabled to save resources).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_vfs_support_dir","type":"boolean","label":"Disable Vfs Support Dir","description":"Disable VFS support for directory-related functions (opendir, readdir, mkdir, rmdir, etc.). ESPHome doesn't use directory operations on ESP32. Components that require directory support (e.g., future storage components) automatically enable it regardless of this setting. Disabling this saves approximately 0.5 KB+ of flash. Defaults to `true` (VFS directory support disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_vfs_support_select","type":"boolean","label":"Disable Vfs Support Select","description":"Disable VFS support for select() with file descriptors. ESPHome uses `lwip_select()` for socket operations, which works independently of VFS select support. VFS select is only needed for UART and eventfd file descriptors. Socket operations continue to work normally with this disabled. Components that require VFS select (e.g., OpenThread) automatically enable it regardless of this setting. Disabling this saves approximately 2.7 KB of flash. Defaults to `true` (VFS select disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_vfs_support_termios","type":"boolean","label":"Disable Vfs Support Termios","description":"Disable VFS support for termios (terminal I/O) functions. ESPHome doesn't use termios functions on ESP32 (they're only used in the host UART driver for Linux/macOS). Disabling this saves approximately 1.8 KB of flash. Defaults to `true` (VFS termios disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_full_printf","type":"boolean","label":"Enable Full Printf","description":"Enable full FILE\\*-based printf support. By default, ESPHome wraps `printf()`, `vprintf()`, and `fprintf()` with lightweight stubs that use `vsnprintf()` + `fwrite()`, eliminating newlib's `_vfprintf_r` and saving ~11 KB of flash. ESPHome replaces the ESP-IDF log handler at startup, so these libc printf functions are essentially dead code at runtime. Crash backtraces and panic output are unaffected — they use `esp_rom_printf()` which is a ROM function and does not go through libc. Set to `true` only if an external component needs full FILE\\*-based `fprintf()` with output longer than 512 bytes. Defaults to `false` (lightweight stubs to save flash). On the ESP32-C6, builds using [HTTP Request](https://esphome.io/components/http_request/) also no longer link newlib's printf engine (saving ~20 KB flash) because ESPHome supplies a `vasprintf` built on the ROM `vsnprintf`. This is automatic and is disabled together with `enable_full_printf: true`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_idf_experimental_features","type":"boolean","label":"Enable Idf Experimental Features","description":"Can be set to `true` to enable experimental features. Use of experimental features may cause instability or other issues.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_assert","type":"boolean","label":"Enable Lwip Assert","description":"Can be set to `false` to reduce the size of the compiled binary by disabling LWIP assertions. Defaults to `true` (as recommended by Espressif). See [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.3.3/esp32/api-reference/kconfig.html#config-lwip-esp-lwip-assert) for more information.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_bridge_interface","type":"boolean","label":"Enable Lwip Bridge Interface","description":"Enable bridge interface support for bridging multiple network interfaces. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_check_thread_safety","type":"boolean","label":"Enable Lwip Check Thread Safety","description":"Enable LWIP thread safety checks to detect incorrect usage of the TCP/IP stack from multiple threads. This helps catch thread safety issues when core locking is enabled. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_dhcp_server","type":"boolean","label":"Enable Lwip DHCP Server","description":"Enable DHCP server functionality. Only needed if the device will act as a DHCP server (necessary for WiFi AP mode). When the WiFi component is used, it automatically handles enabling/disabling the DHCP server based on whether AP mode is configured. When WiFi is not used, defaults to `false`.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_mdns_queries","type":"boolean","label":"Enable Lwip Mdns Queries","description":"Enable mDNS query support in the DNS resolver. This allows resolving local hostnames (like `broker.local` ) for MQTT brokers and other services. While ESPHome has its own mDNS responder for advertising, this option is needed for resolving mDNS names. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_tcpip_core_locking","type":"boolean","label":"Enable Lwip Tcpip Core Locking","description":"Enable LWIP TCP/IP core locking for better socket performance. This uses direct function calls with mutex protection instead of mailbox message passing between threads. Enabling this improves socket operation performance by 20-200% but may reduce multi-threaded scalability. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_ota_downgrade_protection","type":"boolean","label":"Enable OTA Downgrade Protection","description":"Reject OTA updates whose firmware version is older than the version the device is currently running. The version is taken from the `version` under the [`project`](https://esphome.io/components/esphome/#esphome-creators_project) key, which is embedded into the firmware image and compared on the device before the new image is allowed to boot. Defaults to `false`. This option requires:","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#ota-downgrade-protection"},{"key":"enable_ota_rollback","type":"boolean","label":"Enable OTA Rollback","description":"Enable OTA rollback support. When enabled, the bootloader will automatically roll back to the previous firmware if the device crashes or resets before the boot is marked as successful. This works in conjunction with the [safe_mode](https://esphome.io/components/safe_mode) component - after the `boot_is_good_after` time (default 60s), the firmware is marked as valid. Since ESPHome 2026.8.0, an orderly shutdown — entering [deep sleep](https://esphome.io/components/deep_sleep/#deep-sleep-and-ota-rollback), a restart or a shutdown — also counts as a successful boot and marks the firmware as valid. If the device crashes before the firmware is marked as valid, it will roll back to the previous working firmware. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"execute_from_psram","type":"boolean","label":"Execute From PSRAM","description":"Can be set to `true` on ESP32-S3, ESP32-S31, and ESP32-P4 to enable executing code from PSRAM. With octal or hex PSRAM this can be faster than executing from FLASH memory, and enables code such as display drawing to execute normally when writing to FLASH, e.g. during an OTA update. The default is `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"flash_chip","type":"string","label":"Flash Chip","description":"Keep only the SPI flash vendor driver the board needs. One of `generic`, `gd`, `issi`, `mxic`, `winbond`, `boya`, `th`, or `mxic_opi` (ESP32-S3 with `flash_mode: opi` only). ESP-IDF links a driver for every vendor it supports and picks one at boot from the flash ID; the others still take IRAM and about 124 bytes of DRAM each. Naming the vendor drops the rest, roughly 1 KB of IRAM on the original ESP32 and 2 to 3 KB on the ESP32-S3. Leave it unset first: ESPHome logs a line at boot such as `Set flash_chip: gd under esp32 > framework > advanced` with the value to use. A wrong value falls back to the generic driver and ESPHome logs a warning at boot. In the default `dio` and `dout` flash modes that is the whole effect; the generic driver works with every chip. In `qio` and `qout` mode an ISSI or MXIC chip, or a larger GigaDevice chip, needs its own driver to enable quad mode, and flash init can fail at startup; an OTA update then rolls back to the previous firmware, a USB flash needs to be repeated with the right value. Winbond and GigaDevice chips above 16 MB are limited to 16 MB under the generic driver.","options":[{"label":"generic","value":"generic"},{"label":"gd","value":"gd"},{"label":"issi","value":"issi"},{"label":"mxic","value":"mxic"},{"label":"winbond","value":"winbond"},{"label":"boya","value":"boya"},{"label":"th","value":"th"},{"label":"mxic_opi","value":"mxic_opi"}],"display_format":null,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"freertos_in_iram","type":"boolean","label":"Freertos In Iram","description":"Keep FreeRTOS functions in IRAM instead of moving them to flash. By default, non-ISR FreeRTOS functions are placed in flash to save up to 8 KB of IRAM. ISR-safe functions (`FromISR` variants) always remain in IRAM. Testing on ESP-IDF 5.5 with Bluetooth proxies shows no performance difference thanks to fast XIP (execute in place) from flash. Bluetooth proxies are one of the most IRAM-intensive and timing-sensitive use cases, which is likely why Espressif made this the default in IDF 6.0. This matches the default behavior in ESP-IDF 6.0 where `CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH` is removed and replaced by `CONFIG_FREERTOS_IN_IRAM` to restore the old behavior (see [ESP-IDF 6.0 breaking changes](https://github.com/espressif/esp-idf/issues/17052) and [migration guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/migration-guides/release-6.x/6.0/system.html#memory-placement)). Set to `true` only if you encounter issues with code that incorrectly calls FreeRTOS functions from ISRs with flash cache disabled. Defaults to `false` (FreeRTOS functions in flash to save IRAM).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"heap_in_iram","type":"boolean","label":"Heap In Iram","description":"Keep heap functions (malloc, free, realloc, etc.) in IRAM instead of moving them to flash. By default, heap functions are placed in flash to save ~4-6 KB of IRAM. This is safe because heap functions should never be called from ISRs, and ESPHome's design minimizes heap churn during normal operation (allocations happen primarily at setup, not in hot loops). Set to `true` only if you have a specific use case requiring faster heap operations. Defaults to `false` (heap functions in flash to save IRAM).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"ignore_efuse_custom_mac","type":"boolean","label":"Ignore Efuse Custom MAC","description":"When a custom MAC address is burned into the eFuses, ESPHome uses it as the device's base MAC address in place of the factory-assigned one. Since ESPHome 2026.9.0, all network interfaces (Wi-Fi, Ethernet, Bluetooth and 802.15.4) derive their addresses from it; in earlier versions, only Wi-Fi did. Can be set to `true` for devices on which the burned-in custom MAC address is not usable, restoring the factory-assigned MAC address. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"ignore_efuse_mac_crc","type":"boolean","label":"Ignore Efuse MAC CRC","description":"Can be set to `true` for devices on which the burned-in MAC address is not consistent with the burned-in CRC for that MAC address, resulting in an error like `Base MAC address from BLK0 of EFUSE CRC error`. **Valid only on original ESP32.** The `platformio` toolchain's ESP-IDF fork silently accepts a bad MAC CRC on chips reporting package version 3 (OEM single-core ESP32 modules, e.g. in some Xiaomi devices); the native `esp-idf` toolchain does not. Such devices that worked with the `platformio` toolchain can fail to boot after migrating to the native toolchain — after an OTA update the device resets shortly after boot and the bootloader rolls back to the previous firmware. Set this option to `true` for them.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"include_builtin_idf_components","type":"string","label":"Include Builtin Idf Components","description":"A list of built-in ESP-IDF component names to re-enable in the build. ESPHome excludes certain built-in IDF components by default to reduce compile time. If you need to use a built-in IDF component that is excluded (for example, when using custom code in a lambda that requires a specific IDF library), you can explicitly include it here. Example: `[\"esp_http_client\", \"mqtt\"]`. Note: This is different from the `components` option which adds external components from the [ESP Component Registry](https://components.espressif.com/). This option re-enables built-in ESP-IDF components that are excluded by default.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"loop_task_stack_size","type":"integer","label":"Loop Task Stack Size","description":"Loop task stack size in bytes. Increase if experiencing stack overflow errors (e.g., with complex code or deep recursion). Higher values reduce heap availability. Valid range is 8192-32768 bytes. Defaults to 8192 bytes.","default_value":"8192","range":[8192,32768],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"minimum_chip_revision","type":"string","label":"Minimum Chip Revision","description":"Sets the minimum ESP32 chip revision required for the firmware. One of `0.0`, `1.0`, `1.1`, `2.0`, `3.0`, or `3.1`. **Valid only on original ESP32.** Setting this to `3.0` or higher reduces flash size by excluding workaround code for older chip bugs. For PSRAM users, it also saves significant IRAM by keeping C library functions in ROM instead of recompiling them with the PSRAM cache bug workaround. **Important:** The firmware will not boot on chips older than the specified revision. If OTA updating a device with an older chip, the bootloader will reject the new firmware and roll back to the previous version (when OTA rollback is enabled, which is the default). To find your chip's revision, check the ESPHome boot logs for a line like `ESP32 Chip: ESP32 r3.0, 2 core(s)` or use `esptool.py chip_id`.","options":[{"label":"0.0","value":"0.0"},{"label":"1.0","value":"1.0"},{"label":"1.1","value":"1.1"},{"label":"2.0","value":"2.0"},{"label":"3.0","value":"3.0"},{"label":"3.1","value":"3.1"}],"display_format":null,"depends_on":"variant","help_link":"https://esphome.io/components/esp32/#advanced-configuration","depends_on_value_any":["esp32","ESP32"]},{"key":"nvs_cache_in_psram","type":"boolean","label":"Nvs Cache In PSRAM","description":"Keep the NVS page cache and key hash lists in PSRAM instead of internal RAM; preference values stay in flash. Frees about 10 KB of internal heap on ESPHome's default NVS partition. NVS operations get roughly 2.5 times slower, which a handful of preference reads and writes do not notice; see [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.5.5/esp32/api-reference/storage/nvs_flash.html). Enabled by default when [PSRAM](https://esphome.io/components/psram/) is configured with `ignore_not_found: false` (its default is `true`, which leaves this off) and [`nvs_encryption`](https://esphome.io/components/esp32/#nvs-encryption) is off; with encryption on the cache stays internal so key material never lands in PSRAM. Set to `false` to keep the cache internal; an explicit `true` where it cannot apply is an error.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"nvs_encryption","type":"nested","label":"Nvs Encryption","description":"Encrypts the device's non-volatile storage (NVS), where ESPHome may save sensitive data such as Wi-Fi credentials and the API encryption key. This keeps that data unreadable to anyone who reads the device's flash memory. The encryption key is created on the device itself the first time it boots, so no key material is stored in your configuration. For background, see the ESP-IDF [NVS encryption documentation](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/storage/nvs_encryption.html). Contains the following option: This feature is available only on the following variants, which have the required hardware support: It is not available on the original ESP32 or the ESP32-C2.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#nvs-encryption","config_entries":[{"key":"key_id","type":"integer","label":"Key ID","description":"Which hardware key slot (`0`–`5`) the device uses to store its encryption key. Pick a slot that isn't used by anything else.","required":true,"range":[0,5],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#nvs-encryption"}]},{"key":"ringbuf_in_iram","type":"boolean","label":"Ringbuf In Iram","description":"Keep ring buffer functions in IRAM instead of moving them to flash. By default, ring buffer functions are placed in flash to save ~1.5 KB of IRAM. Ring buffer functions are typically only called every ~10ms for audio components, so the overhead of loading from flash vs IRAM is negligible compared to actual data processing. This matches the default behavior in ESP-IDF 6.0 (see [migration guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/migration-guides/release-6.x/6.0/system.html#id1)). Set to `true` only if you encounter issues. Defaults to `false` (ring buffer functions in flash to save IRAM).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"signed_ota_verification","type":"nested","label":"Signed OTA Verification","description":"Enable [Signed App Verification Without Hardware Secure Boot](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/security/secure-boot-v2.html#signed-app-verification-without-hardware-secure-boot). When configured, OTA firmware updates are verified using a cryptographic signature. This protects against tampered firmware from network-based attacks without requiring hardware Secure Boot (eFuse). Both Secure Boot V2 (RSA-3072 or ECDSA-V2) and Secure Boot V1 (ECDSA) signing schemes are supported. Adding this block — even with no options inside — compiles signature verification into the firmware: the device will reject any OTA update that is not signed with a trusted key. The options below only control how the firmware gets signed. To generate a signing key, use the `espsecure.py` tool from ESP-IDF:","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification","config_entries":[{"key":"signing_key","type":"string","label":"Signing Key","description":"Path to a PEM-encoded private signing key. When provided, the firmware is **automatically signed during build** using `espsecure`. This is the simplest workflow — the public key is derived automatically and embedded in the signature block. When omitted, the firmware is **not signed during build**; you must sign it externally before flashing, which is useful for CI/CD pipelines where the private key is stored in a secure vault. **Mutually exclusive with `verification_key`.**","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"},{"key":"signing_scheme","type":"string","label":"Signing Scheme","description":"The signing algorithm. One of `rsa3072`, `ecdsa256`, or `ecdsa_v1`. Defaults to `rsa3072`. **Not all schemes are supported on all variants** — see the table below. | Variant | `rsa3072` | `ecdsa256` | `ecdsa_v1` | |---------|-----------|------------|------------| | ESP32 (rev 3.0+) | yes | no | yes | | ESP32 (rev < 3.0) | no | no | yes | | ESP32-S2 | yes | no | no | | ESP32-S3 | yes | no | no | | ESP32-C2 | no | yes | no | | ESP32-C3 | yes | no | no | | ESP32-C5 | yes | yes | no | | ESP32-C6 | yes | yes | no | | ESP32-C61 | no | yes | no | | ESP32-H2 | yes | yes | no | | ESP32-P4 | yes | yes | no |","default_value":"rsa3072","options":[{"label":"rsa3072","value":"rsa3072","description":"RSA-3072 (Secure Boot V2). Recommended for most variants."},{"label":"ecdsa256","value":"ecdsa256","description":"ECDSA with NIST P-256 (Secure Boot V2). For variants without RSA support."},{"label":"ecdsa_v1","value":"ecdsa_v1","description":"ECDSA with NIST P-256 (Secure Boot V1). Only for the original ESP32 — use this for chips prior to revision 3.0 that do not support Secure Boot V2."}],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"},{"key":"verification_key","type":"string","label":"Verification Key","description":"Path to a public verification key, **only for the `ecdsa_v1` scheme**. Secure Boot V1 signatures do not carry the public key, so when the firmware is signed externally the public key must be embedded in the build to verify updates. The key is in raw binary format (`.bin`); extract it from the PEM private key using `espsecure.py extract_public_key --keyfile private.pem public_key.bin`. **Mutually exclusive with `signing_key`.**","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"},{"key":"verification_keys","type":"string","label":"Verification Keys","description":"For externally-signed `rsa3072`, the public keys your device trusts when checking OTA updates. Listing more than one lets you rotate signing keys or keep a backup key — an update signed by any listed key is accepted. Each entry is a public key file, or the key's digest (handy for CI, where you may not want a key file in your configuration). Up to three keys. **Requires `signing_scheme: rsa3072` and no `signing_key`.**","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"}]},{"key":"sram1_as_iram","type":"boolean","label":"Sram1 As Iram","description":"Use the SRAM1 memory region as additional IRAM, providing an extra **40 KB of IRAM**. This reclaims memory that was previously reserved for the bootloader's DRAM and not available to the application. The extra IRAM expands the flash cache window for XIP (execute in place), reducing cache misses and improving performance for all code running from flash (WiFi, BLE, API server, etc.). It also helps avoid IRAM overflow compile errors (`section '.iram0.text' will not fit in region 'iram0_0_seg'`). Since this memory was never part of the heap, there is **no cost to free heap/DRAM**. **Valid only on original ESP32 with** `esp-idf` **framework.** Defaults to `false`. **Important:** This requires a bootloader from ESP-IDF v5.1 or later. Flashing via USB automatically updates the bootloader, but OTA updates do not. If the device has an older bootloader, enabling this option will cause the device to **fail to boot**. If you have previously flashed your device via USB with a recent version of ESPHome, the bootloader is already compatible. ESPHome will log a suggestion at boot if it detects a compatible bootloader and this option is not yet enabled.","default_value":false,"display_format":null,"depends_on":"variant","help_link":"https://esphome.io/components/esp32/#advanced-configuration","depends_on_value_any":["esp32","ESP32"]},{"key":"use_full_certificate_bundle","type":"boolean","label":"Use Full Certificate Bundle","description":"Use the full certificate bundle instead of the common CAs bundle. By default, ESPHome uses the CMN (common CAs) bundle which includes only Certificate Authorities with greater than 1% market share. This covers approximately 99% of websites including Let's Encrypt, DigiCert, Google Trust Services, Amazon Trust Services, and other major CAs. The CMN bundle is sufficient for most use cases including GitHub (commonly used for OTA updates via [HTTP Request](https://esphome.io/components/http_request/)), Home Assistant Cloud, and typical HTTPS endpoints. Set to `true` only if connecting to services that use uncommon Certificate Authorities. Defaults to `false` (CMN bundle saves ~51 KB flash).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"}]},{"key":"components","type":"nested","label":"Components","description":"See [IDF Components](https://esphome.io/components/esp32/#idf-components) below.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"Name of the component e.g. espressif/esp_hosted.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"},{"key":"path","type":"string","label":"Path","description":"The path of the component in the git repository or a local path to the component if `source` is not set.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"},{"key":"ref","type":"string","label":"Ref","description":"Component registry version or a git ref.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"},{"key":"source","type":"string","label":"Source","description":"The git repository to use for the component. This can be used for a custom or patched version of the component.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"}]},{"key":"log_level","type":"string","label":"Log Level","description":"Log level of the framework, one of `ERROR` (default), `NONE`, `WARN`, `INFO`, `DEBUG` or `VERBOSE`.","default_value":"ERROR","options":[{"label":"NONE","value":"NONE"},{"label":"ERROR","value":"ERROR"},{"label":"WARN","value":"WARN"},{"label":"INFO","value":"INFO"},{"label":"DEBUG","value":"DEBUG"},{"label":"VERBOSE","value":"VERBOSE"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"platform_version","type":"string","label":"Platform Version","description":"The version of the [pioarduino/espressif32](https://github.com/pioarduino/platform-espressif32/releases/) package to use. For known framework versions this value will be set automatically.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"release","type":"string","label":"Release","display_format":null,"advanced":true,"hidden":true},{"key":"sdkconfig_options","type":"map","label":"Sdkconfig Options","description":"Custom sdkconfig [compiler options](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#compiler-options) to set in the ESP-IDF project.","default_value":"{}","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true,"hidden":true}]},{"key":"source","type":"string","label":"Source","description":"Override the framework source. The accepted forms depend on the active toolchain. When the PlatformIO toolchain is selected, this is a PlatformIO package spec for a custom or patched version of the [pioarduino/framework-arduinoespressif32](https://github.com/espressif/arduino-esp32) or [pioarduino/framework-espidf](https://github.com/pioarduino/esp-idf) package. Refer to [PlatformIO package specifications](https://docs.platformio.org/en/latest/core/userguide/pkg/cmd_install.html#package-specifications) for the supported URL schemes. Examples: When the [native ESP-IDF toolchain](https://esphome.io/guides/esp_idf/) is selected, the value may be either:","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"version","type":"string","label":"Version","description":"The base framework version number to use, from [ESP32 ESP-IDF releases](https://github.com/espressif/esp-idf/releases) or [ESP32 Arduino releases](https://github.com/espressif/arduino-esp32/releases). Defaults to `recommended`. Additional values are:","default_value":"recommended","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"}]},{"key":"variant","type":"string","label":"Variant","description":"**Required — set at least one of:** `board`, `variant`.\n\nThe ESP32 mcu/chip to use for this device configuration. One of `esp32`, `esp32s2`, `esp32s3`, `esp32s31`, `esp32c2`, `esp32c3`, `esp32c5`, `esp32c6`, `esp32c61`, `esp32h2`, `esp32h4`, `esp32h21` or `esp32p4`. This must match the hardware in use, or it will fail to flash.","options":[{"label":"ESP32","value":"ESP32"},{"label":"ESP32C2","value":"ESP32C2"},{"label":"ESP32C3","value":"ESP32C3"},{"label":"ESP32C5","value":"ESP32C5"},{"label":"ESP32C6","value":"ESP32C6"},{"label":"ESP32C61","value":"ESP32C61"},{"label":"ESP32H2","value":"ESP32H2"},{"label":"ESP32H4","value":"ESP32H4"},{"label":"ESP32H21","value":"ESP32H21"},{"label":"ESP32P4","value":"ESP32P4"},{"label":"ESP32S2","value":"ESP32S2"},{"label":"ESP32S3","value":"ESP32S3"},{"label":"ESP32S31","value":"ESP32S31"}],"display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"cpu_frequency","type":"string","label":"CPU Frequency","description":"The CPU frequency to use. Defaults to the maximum supported frequency for the variant. The allowed values depend on the variant: Some ESP32 modules -- typically OEM/single-core variants found in commercial devices (e.g. certain Xiaomi lamps) -- are rated only up to `160MHz` even though they identify as ESP32. If your device hangs, resets, or fails to boot after flashing at the default (maximum) frequency, set `cpu_frequency: 160MHz` (or lower) to work around this.","options":[{"label":"120MHZ","value":"120MHZ"},{"label":"240MHZ","value":"240MHZ"},{"label":"64MHZ","value":"64MHZ"},{"label":"96MHZ","value":"96MHZ"},{"label":"360MHZ","value":"360MHZ"},{"label":"16MHZ","value":"16MHZ"},{"label":"80MHZ","value":"80MHZ"},{"label":"32MHZ","value":"32MHZ"},{"label":"40MHZ","value":"40MHZ"},{"label":"320MHZ","value":"320MHZ"},{"label":"48MHZ","value":"48MHZ"},{"label":"160MHZ","value":"160MHZ"},{"label":"400MHZ","value":"400MHZ"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"engineering_sample","type":"boolean","label":"Engineering Sample","description":"**ESP32-P4 only.** Set to `true` if your board has engineering sample silicon (rev < 3.0). When using `variant: esp32p4` without specifying a `board`, a warning is logged if this option is not explicitly set. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"flash_frequency","type":"string","label":"Flash Frequency","description":"The SPI frequency used to access the flash chip, for example `80MHz` or `40MHz`. The supported values depend on the variant and are checked at build time. When not set, the board definition (PlatformIO) or the ESP-IDF default decides. **Warning: specifying a frequency your flash chip does not support will cause the ESP32 to fail to boot.**","options":[{"label":"120MHZ","value":"120MHZ"},{"label":"80MHZ","value":"80MHZ"},{"label":"64MHZ","value":"64MHZ"},{"label":"60MHZ","value":"60MHZ"},{"label":"48MHZ","value":"48MHZ"},{"label":"40MHZ","value":"40MHZ"},{"label":"32MHZ","value":"32MHZ"},{"label":"30MHZ","value":"30MHZ"},{"label":"26MHZ","value":"26MHZ"},{"label":"24MHZ","value":"24MHZ"},{"label":"20MHZ","value":"20MHZ"},{"label":"16MHZ","value":"16MHZ"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"flash_mode","type":"string","label":"Flash Mode","description":"The SPI mode used to access the flash chip. One of `qio`, `qout`, `dio`, `dout` or `opi` (octal flash chips only). When not set, the board definition (PlatformIO) or the ESP-IDF default decides. **Warning: specifying a mode your flash chip does not support will cause the ESP32 to fail to boot.**","options":[{"label":"qio","value":"qio"},{"label":"qout","value":"qout"},{"label":"dio","value":"dio"},{"label":"dout","value":"dout"},{"label":"opi","value":"opi"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"flash_size","type":"string","label":"Flash Size","description":"The amount of flash memory available on the ESP32 board/module. One of `2MB`, `4MB`, `8MB`, `16MB` or `32MB`. Defaults to `4MB`. **Warning: specifying a size larger than that available on your board will cause the ESP32 to fail to boot.**","default_value":"4MB","options":[{"label":"2MB","value":"2MB"},{"label":"4MB","value":"4MB"},{"label":"8MB","value":"8MB"},{"label":"16MB","value":"16MB"},{"label":"32MB","value":"32MB"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"partitions","type":"nested","label":"Partitions","description":"A partition table CSV file or a list of custom partitions to add. See [Partitions](https://esphome.io/components/esp32/#partitions).","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables","config_entries":[{"key":"type","type":"integer","label":"Type","description":"Partition type. One of `app` or `data`, or a custom type as an integer between 0x40 and 0xFE.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"},{"key":"name","type":"string","label":"Name","description":"Name of the partition. Cannot be any of the reserved names: `nvs`, `app0`, `app1`, `otadata`, `eeprom`, `spiffs`, `phy_init`.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"},{"key":"size","type":"integer","label":"Size","description":"Partition size in bytes. Must be 4KB (0x1000) aligned.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"},{"key":"subtype","type":"integer","label":"Subtype","description":"Partition subtype. For `app` type: `factory` or `test`. For `data` type: `nvs`, `nvs_keys`, `spiffs`, `coredump`, `efuse`, `fat`, `undefined`, or `littlefs`. Can also be an integer between 0x0 and 0xFE.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"}]},{"key":"toolchain","type":"string","label":"Toolchain","description":"Toolchain used to build the firmware. The `platformio` toolchain is deprecated and will be removed in 2027.2.0.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"watchdog_timeout","type":"time_period","label":"Watchdog Timeout","description":"The timeout applied to the ESP-IDF task watchdog. If a subscribed task fails to feed the watchdog within this period, the device will reboot. Useful for power-managed devices or long blocking operations that need extended watchdog windows. Defaults to `5s`, valid range is `5s` to `60s`. Note: OTA updates temporarily raise the watchdog to `15s` when the configured timeout is below that threshold.","default_value":"5s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables","duration_min_unit":"s"}],"required_groups":[{"kind":"at_least_one","keys":["board","variant"]}]} +{"id":"esp32","name":"ESP32 Platform","description":"This component contains platform-specific options for the ESP32 platform.","category":"core","docs_url":"https://esphome.io/components/esp32/","image_url":"https://esphome.io/images/badges/esp32.svg","supported_platforms":["esp32"],"config_entries":[{"key":"framework","type":"nested","label":"Framework","description":"Options for the underlying framework used by ESPHome. See [Framework](https://esphome.io/components/esp32/#framework).","display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables","config_entries":[{"key":"type","type":"string","label":"Type","description":"The framework type, either `esp-idf` or `arduino`. Defaults to `esp-idf` for all ESP32 variants.","default_value":"esp-idf","options":[{"label":"esp-idf","value":"esp-idf"},{"label":"arduino","value":"arduino"}],"display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"advanced","type":"nested","label":"Advanced","description":"See [Advanced Configuration](https://esphome.io/components/esp32/#advanced-configuration) and [Security](https://esphome.io/components/esp32/#security) below.","default_value":"{}","display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1","config_entries":[{"key":"adc_oneshot_in_iram","type":"boolean","label":"ADC Oneshot In Iram","description":"Place ADC oneshot control functions in IRAM. When flash cache is disabled during background flash operations (NVS writes by WiFi, BLE, Zigbee, Thread, power management, etc.), ADC reads will crash if these functions are in flash. The ADC component automatically enables this when used. Defaults to `false` (automatically enabled by the ADC component).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"assertion_level","type":"string","label":"Assertion Level","description":"One of `ENABLE` (default), `SILENT` or `DISABLE`. Changing away from the default will reduce the size of the compiled binary, albeit at the expense of ease of troubleshooting. See [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.3.3/esp32/api-reference/kconfig.html#config-compiler-optimization-assertion-level) for more information.","options":[{"label":"DISABLE","value":"DISABLE"},{"label":"ENABLE","value":"ENABLE"},{"label":"SILENT","value":"SILENT"}],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"compiler_optimization","type":"string","label":"Compiler Optimization","description":"One of `SIZE` (default), `PERF`, `NONE` or `DEBUG`. Changing away from the default will increase the size of the compiled binary but may increase performance or allow for easier troubleshooting. See [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.3.3/esp32/api-reference/kconfig.html#config-compiler-optimization) for more information.","default_value":"SIZE","options":[{"label":"DEBUG","value":"DEBUG"},{"label":"NONE","value":"NONE"},{"label":"PERF","value":"PERF"},{"label":"SIZE","value":"SIZE"}],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_debug_stubs","type":"boolean","label":"Disable Debug Stubs","description":"Disable OpenOCD debug stubs. These are used for on-chip debugging with OpenOCD/JTAG debuggers and are rarely needed for typical ESPHome use. Disabling this saves code size. Defaults to `true` (debug stubs disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_dev_null_vfs","type":"boolean","label":"Disable Dev Null Vfs","description":"Disable /dev/null VFS initialization. ESPHome doesn't typically need /dev/null. Disabling this saves a small amount of resources. Defaults to `true` (/dev/null disabled).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_fatfs","type":"boolean","label":"Disable Fatfs","description":"Disable FAT filesystem support. ESPHome doesn't use FATFS by default. Components that require FATFS (e.g., SD card components) automatically enable it regardless of this setting. Disabling this saves code size. Defaults to `true` (FATFS disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_libc_locks_in_iram","type":"boolean","label":"Disable Libc Locks In Iram","description":"Disable placing libc lock functions in IRAM. This saves approximately 1.3 KB of IRAM by placing these functions in flash memory instead. This is safe for ESPHome since no IRAM interrupt service routines (ISRs that run while cache is disabled) use libc lock APIs. Defaults to `true` (IRAM placement disabled to save RAM).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_peer_cert","type":"boolean","label":"Disable Mbedtls Peer Cert","description":"Disable keeping the peer certificate after TLS handshake completion. This saves approximately 4 KB of heap memory per TLS connection, but prevents inspecting the peer's certificate after the handshake. Most ESPHome use cases don't need post-handshake certificate access. Components that require peer certificate access automatically enable it regardless of this setting. Defaults to `true` (peer certificate not kept to save heap).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_pkcs7","type":"boolean","label":"Disable Mbedtls Pkcs7","description":"Disable PKCS#7 support in mbedTLS. PKCS#7 is used for specific certificate validation scenarios that ESPHome doesn't typically use. Components that require PKCS#7 automatically enable it regardless of this setting. Disabling this saves code size. Defaults to `true` (PKCS#7 disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_tls","type":"boolean","label":"Disable Mbedtls TLS","description":"Compile the TLS protocol out of mbedTLS entirely when no component in the configuration uses it. Components that open TLS connections (such as `http_request`, `mqtt`, `audio`, Nextion TFT upload or WiFi with `eap`) keep it automatically, as does any `CONFIG_ESP_TLS_*`, `CONFIG_MBEDTLS_SSL_*`, `CONFIG_ESP_HTTPS_*` or TLS role entry under `sdkconfig_options`. Hashes, AES and RSA signature verification stay available either way. Set to `false` to always keep the TLS stack, for example for an external component that uses mbedTLS directly. Defaults to `true` (TLS removed when unused, saving compile time and a small amount of flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_tls_extras","type":"boolean","label":"Disable Mbedtls TLS Extras","description":"Remove TLS features that an HTTPS or MQTT client talking to a modern server never negotiates: static RSA and static ECDH key exchange, TLS renegotiation, session tickets, AES-CCM ciphersuites and deterministic ECDSA. If a server only offers one of these legacy ciphersuites, the TLS handshake fails and the error is logged; set this to `false` to restore them. Components that need any of these (OpenThread) automatically re-enable them. A value set explicitly under `sdkconfig_options` always takes precedence. Defaults to `true` (legacy TLS features removed, saving ~10 KB flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_mbedtls_tls_server","type":"boolean","label":"Disable Mbedtls TLS Server","description":"Build mbedTLS as a TLS client only, dropping the server-side handshake code. Nothing in ESPHome accepts TLS connections; components that do (OpenThread's DTLS commissioner) automatically re-enable it. Set to `false` if an external component runs an HTTPS server. Defaults to `true` (server code removed, saving ~7 KB flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_ocd_aware","type":"boolean","label":"Disable Ocd Aware","description":"Disable OCD (On-Chip Debugger) aware exception and panic handlers. When enabled, the panic handler detects if a JTAG debugger is connected and halts instead of resetting, allowing post-mortem debugging. Most ESPHome users don't use JTAG debugging. Disabling this saves code size. Defaults to `true` (OCD awareness disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_regi2c_in_iram","type":"boolean","label":"Disable Regi2C In Iram","description":"Move analog I2C master control functions (regi2c) from IRAM to flash. These functions are used internally by ESP-IDF for analog peripherals (ADC, DAC, temperature sensor calibration). Moving them to flash saves IRAM. This is safe for ESPHome because no ESPHome IRAM interrupt service routines call ADC or other analog functions. Defaults to `true` (regi2c functions in flash to save IRAM).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_usb_serial_jtag_secondary","type":"boolean","label":"Disable USB Serial JTAG Secondary","description":"Disable the secondary USB Serial/JTAG console. This is a fallback console output when UART0 is the primary console but not connected. On chips that default to USB Serial/JTAG as the primary console (ESP32-C3, ESP32-C5, ESP32-C6, ESP32-H2, ESP32-P4, ESP32-S3), this setting has no effect since the primary console is already USB Serial/JTAG. Components like the logger that need USB Serial/JTAG automatically enable it regardless of this setting. Defaults to `true` (secondary console disabled to save resources).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_vfs_support_dir","type":"boolean","label":"Disable Vfs Support Dir","description":"Disable VFS support for directory-related functions (opendir, readdir, mkdir, rmdir, etc.). ESPHome doesn't use directory operations on ESP32. Components that require directory support (e.g., future storage components) automatically enable it regardless of this setting. Disabling this saves approximately 0.5 KB+ of flash. Defaults to `true` (VFS directory support disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_vfs_support_select","type":"boolean","label":"Disable Vfs Support Select","description":"Disable VFS support for select() with file descriptors. ESPHome uses `lwip_select()` for socket operations, which works independently of VFS select support. VFS select is only needed for UART and eventfd file descriptors. Socket operations continue to work normally with this disabled. Components that require VFS select (e.g., OpenThread) automatically enable it regardless of this setting. Disabling this saves approximately 2.7 KB of flash. Defaults to `true` (VFS select disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"disable_vfs_support_termios","type":"boolean","label":"Disable Vfs Support Termios","description":"Disable VFS support for termios (terminal I/O) functions. ESPHome doesn't use termios functions on ESP32 (they're only used in the host UART driver for Linux/macOS). Disabling this saves approximately 1.8 KB of flash. Defaults to `true` (VFS termios disabled to save flash).","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_full_printf","type":"boolean","label":"Enable Full Printf","description":"Enable full FILE\\*-based printf support. By default, ESPHome wraps `printf()`, `vprintf()`, and `fprintf()` with lightweight stubs that use `vsnprintf()` + `fwrite()`, eliminating newlib's `_vfprintf_r` and saving ~11 KB of flash. ESPHome replaces the ESP-IDF log handler at startup, so these libc printf functions are essentially dead code at runtime. Crash backtraces and panic output are unaffected — they use `esp_rom_printf()` which is a ROM function and does not go through libc. Set to `true` only if an external component needs full FILE\\*-based `fprintf()` with output longer than 512 bytes. Defaults to `false` (lightweight stubs to save flash). On the ESP32-C6, builds using [HTTP Request](https://esphome.io/components/http_request/) also no longer link newlib's printf engine (saving ~20 KB flash) because ESPHome supplies a `vasprintf` built on the ROM `vsnprintf`. This is automatic and is disabled together with `enable_full_printf: true`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_idf_experimental_features","type":"boolean","label":"Enable Idf Experimental Features","description":"Can be set to `true` to enable experimental features. Use of experimental features may cause instability or other issues.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_assert","type":"boolean","label":"Enable Lwip Assert","description":"Can be set to `false` to reduce the size of the compiled binary by disabling LWIP assertions. Defaults to `true` (as recommended by Espressif). See [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.3.3/esp32/api-reference/kconfig.html#config-lwip-esp-lwip-assert) for more information.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_bridge_interface","type":"boolean","label":"Enable Lwip Bridge Interface","description":"Enable bridge interface support for bridging multiple network interfaces. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_check_thread_safety","type":"boolean","label":"Enable Lwip Check Thread Safety","description":"Enable LWIP thread safety checks to detect incorrect usage of the TCP/IP stack from multiple threads. This helps catch thread safety issues when core locking is enabled. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_dhcp_server","type":"boolean","label":"Enable Lwip DHCP Server","description":"Enable DHCP server functionality. Only needed if the device will act as a DHCP server (necessary for WiFi AP mode). When the WiFi component is used, it automatically handles enabling/disabling the DHCP server based on whether AP mode is configured. When WiFi is not used, defaults to `false`.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_mdns_queries","type":"boolean","label":"Enable Lwip Mdns Queries","description":"Enable mDNS query support in the DNS resolver. This allows resolving local hostnames (like `broker.local` ) for MQTT brokers and other services. While ESPHome has its own mDNS responder for advertising, this option is needed for resolving mDNS names. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_lwip_tcpip_core_locking","type":"boolean","label":"Enable Lwip Tcpip Core Locking","description":"Enable LWIP TCP/IP core locking for better socket performance. This uses direct function calls with mutex protection instead of mailbox message passing between threads. Enabling this improves socket operation performance by 20-200% but may reduce multi-threaded scalability. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"enable_ota_downgrade_protection","type":"boolean","label":"Enable OTA Downgrade Protection","description":"Reject OTA updates whose firmware version is older than the version the device is currently running. The version is taken from the `version` under the [`project`](https://esphome.io/components/esphome/#esphome-creators_project) key, which is embedded into the firmware image and compared on the device before the new image is allowed to boot. Defaults to `false`. This option requires:","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#ota-downgrade-protection"},{"key":"enable_ota_rollback","type":"boolean","label":"Enable OTA Rollback","description":"Enable OTA rollback support. When enabled, the bootloader will automatically roll back to the previous firmware if the device crashes or resets before the boot is marked as successful. This works in conjunction with the [safe_mode](https://esphome.io/components/safe_mode) component - after the `boot_is_good_after` time (default 60s), the firmware is marked as valid. Since ESPHome 2026.8.0, an orderly shutdown — entering [deep sleep](https://esphome.io/components/deep_sleep/#deep-sleep-and-ota-rollback), a restart or a shutdown — also counts as a successful boot and marks the firmware as valid. If the device crashes before the firmware is marked as valid, it will roll back to the previous working firmware. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"execute_from_psram","type":"boolean","label":"Execute From PSRAM","description":"Can be set to `true` on ESP32-S3, ESP32-S31, and ESP32-P4 to enable executing code from PSRAM. With octal or hex PSRAM this can be faster than executing from FLASH memory, and enables code such as display drawing to execute normally when writing to FLASH, e.g. during an OTA update. The default is `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"flash_chip","type":"string","label":"Flash Chip","description":"Keep only the SPI flash vendor driver the board needs. One of `generic`, `gd`, `issi`, `mxic`, `winbond`, `boya`, `th`, or `mxic_opi` (ESP32-S3 with `flash_mode: opi` only). ESP-IDF links a driver for every vendor it supports and picks one at boot from the flash ID; the others still take IRAM and about 124 bytes of DRAM each. Naming the vendor drops the rest, roughly 1 KB of IRAM on the original ESP32 and 2 to 3 KB on the ESP32-S3. Leave it unset first: ESPHome logs a line at boot such as `Set flash_chip: gd under esp32 > framework > advanced` with the value to use. A wrong value falls back to the generic driver and ESPHome logs a warning at boot. In the default `dio` and `dout` flash modes that is the whole effect; the generic driver works with every chip. In `qio` and `qout` mode an ISSI or MXIC chip, or a larger GigaDevice chip, needs its own driver to enable quad mode, and flash init can fail at startup; an OTA update then rolls back to the previous firmware, a USB flash needs to be repeated with the right value. Winbond and GigaDevice chips above 16 MB are limited to 16 MB under the generic driver.","options":[{"label":"generic","value":"generic"},{"label":"gd","value":"gd"},{"label":"issi","value":"issi"},{"label":"mxic","value":"mxic"},{"label":"winbond","value":"winbond"},{"label":"boya","value":"boya"},{"label":"th","value":"th"},{"label":"mxic_opi","value":"mxic_opi"}],"display_format":null,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"freertos_in_iram","type":"boolean","label":"Freertos In Iram","description":"Keep FreeRTOS functions in IRAM instead of moving them to flash. By default, non-ISR FreeRTOS functions are placed in flash to save up to 8 KB of IRAM. ISR-safe functions (`FromISR` variants) always remain in IRAM. Testing on ESP-IDF 5.5 with Bluetooth proxies shows no performance difference thanks to fast XIP (execute in place) from flash. Bluetooth proxies are one of the most IRAM-intensive and timing-sensitive use cases, which is likely why Espressif made this the default in IDF 6.0. This matches the default behavior in ESP-IDF 6.0 where `CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH` is removed and replaced by `CONFIG_FREERTOS_IN_IRAM` to restore the old behavior (see [ESP-IDF 6.0 breaking changes](https://github.com/espressif/esp-idf/issues/17052) and [migration guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/migration-guides/release-6.x/6.0/system.html#memory-placement)). Set to `true` only if you encounter issues with code that incorrectly calls FreeRTOS functions from ISRs with flash cache disabled. Defaults to `false` (FreeRTOS functions in flash to save IRAM).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"heap_in_iram","type":"boolean","label":"Heap In Iram","description":"Keep heap functions (malloc, free, realloc, etc.) in IRAM instead of moving them to flash. By default, heap functions are placed in flash to save ~4-6 KB of IRAM. This is safe because heap functions should never be called from ISRs, and ESPHome's design minimizes heap churn during normal operation (allocations happen primarily at setup, not in hot loops). Set to `true` only if you have a specific use case requiring faster heap operations. Defaults to `false` (heap functions in flash to save IRAM).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"ignore_efuse_custom_mac","type":"boolean","label":"Ignore Efuse Custom MAC","description":"When a custom MAC address is burned into the eFuses, ESPHome uses it as the device's base MAC address in place of the factory-assigned one. Since ESPHome 2026.9.0, all network interfaces (Wi-Fi, Ethernet, Bluetooth and 802.15.4) derive their addresses from it; in earlier versions, only Wi-Fi did. Can be set to `true` for devices on which the burned-in custom MAC address is not usable, restoring the factory-assigned MAC address. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"ignore_efuse_mac_crc","type":"boolean","label":"Ignore Efuse MAC CRC","description":"Can be set to `true` for devices on which the burned-in MAC address is not consistent with the burned-in CRC for that MAC address, resulting in an error like `Base MAC address from BLK0 of EFUSE CRC error`. **Valid only on original ESP32.** The `platformio` toolchain's ESP-IDF fork silently accepts a bad MAC CRC on chips reporting package version 3 (OEM single-core ESP32 modules, e.g. in some Xiaomi devices); the native `esp-idf` toolchain does not. Such devices that worked with the `platformio` toolchain can fail to boot after migrating to the native toolchain — after an OTA update the device resets shortly after boot and the bootloader rolls back to the previous firmware. Set this option to `true` for them.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"include_builtin_idf_components","type":"string","label":"Include Builtin Idf Components","description":"A list of built-in ESP-IDF component names to re-enable in the build. ESPHome excludes certain built-in IDF components by default to reduce compile time. If you need to use a built-in IDF component that is excluded (for example, when using custom code in a lambda that requires a specific IDF library), you can explicitly include it here. Example: `[\"esp_http_client\", \"mqtt\"]`. Note: This is different from the `components` option which adds external components from the [ESP Component Registry](https://components.espressif.com/). This option re-enables built-in ESP-IDF components that are excluded by default.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"loop_task_stack_size","type":"integer","label":"Loop Task Stack Size","description":"Loop task stack size in bytes. Increase if experiencing stack overflow errors (e.g., with complex code or deep recursion). Higher values reduce heap availability. Valid range is 8192-32768 bytes. Defaults to 8192 bytes.","default_value":"8192","range":[8192,32768],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"minimum_chip_revision","type":"string","label":"Minimum Chip Revision","description":"Sets the minimum ESP32 chip revision required for the firmware. One of `0.0`, `1.0`, `1.1`, `2.0`, `3.0`, or `3.1`. **Valid only on original ESP32.** Setting this to `3.0` or higher reduces flash size by excluding workaround code for older chip bugs. For PSRAM users, it also saves significant IRAM by keeping C library functions in ROM instead of recompiling them with the PSRAM cache bug workaround. **Important:** The firmware will not boot on chips older than the specified revision. If OTA updating a device with an older chip, the bootloader will reject the new firmware and roll back to the previous version (when OTA rollback is enabled, which is the default). To find your chip's revision, check the ESPHome boot logs for a line like `ESP32 Chip: ESP32 r3.0, 2 core(s)` or use `esptool.py chip_id`.","options":[{"label":"0.0","value":"0.0"},{"label":"1.0","value":"1.0"},{"label":"1.1","value":"1.1"},{"label":"2.0","value":"2.0"},{"label":"3.0","value":"3.0"},{"label":"3.1","value":"3.1"}],"display_format":null,"depends_on":"variant","help_link":"https://esphome.io/components/esp32/#advanced-configuration","depends_on_value_any":["esp32","ESP32"]},{"key":"nvs_cache_in_psram","type":"boolean","label":"Nvs Cache In PSRAM","description":"Keep the NVS page cache and key hash lists in PSRAM instead of internal RAM; preference values stay in flash. Frees about 10 KB of internal heap on ESPHome's default NVS partition. NVS operations get roughly 2.5 times slower, which a handful of preference reads and writes do not notice; see [Espressif's documentation](https://docs.espressif.com/projects/esp-idf/en/v5.5.5/esp32/api-reference/storage/nvs_flash.html). Enabled by default when [PSRAM](https://esphome.io/components/psram/) is configured with `ignore_not_found: false` (its default is `true`, which leaves this off) and [`nvs_encryption`](https://esphome.io/components/esp32/#nvs-encryption) is off; with encryption on the cache stays internal so key material never lands in PSRAM. Set to `false` to keep the cache internal; an explicit `true` where it cannot apply is an error.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"nvs_encryption","type":"nested","label":"Nvs Encryption","description":"Encrypts the device's non-volatile storage (NVS), where ESPHome may save sensitive data such as Wi-Fi credentials and the API encryption key. This keeps that data unreadable to anyone who reads the device's flash memory. The encryption key is created on the device itself the first time it boots, so no key material is stored in your configuration. For background, see the ESP-IDF [NVS encryption documentation](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/storage/nvs_encryption.html). Contains the following option: This feature is available only on the following variants, which have the required hardware support: It is not available on the original ESP32 or the ESP32-C2.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#nvs-encryption","config_entries":[{"key":"key_id","type":"integer","label":"Key ID","description":"Which hardware key slot (`0`–`5`) the device uses to store its encryption key. Pick a slot that isn't used by anything else.","required":true,"range":[0,5],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#nvs-encryption"}]},{"key":"ringbuf_in_iram","type":"boolean","label":"Ringbuf In Iram","description":"Keep ring buffer functions in IRAM instead of moving them to flash. By default, ring buffer functions are placed in flash to save ~1.5 KB of IRAM. Ring buffer functions are typically only called every ~10ms for audio components, so the overhead of loading from flash vs IRAM is negligible compared to actual data processing. This matches the default behavior in ESP-IDF 6.0 (see [migration guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/migration-guides/release-6.x/6.0/system.html#id1)). Set to `true` only if you encounter issues. Defaults to `false` (ring buffer functions in flash to save IRAM).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"},{"key":"signed_ota_verification","type":"nested","label":"Signed OTA Verification","description":"Enable [Signed App Verification Without Hardware Secure Boot](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/security/secure-boot-v2.html#signed-app-verification-without-hardware-secure-boot). When configured, OTA firmware updates are verified using a cryptographic signature. This protects against tampered firmware from network-based attacks without requiring hardware Secure Boot (eFuse). Both Secure Boot V2 (RSA-3072 or ECDSA-V2) and Secure Boot V1 (ECDSA) signing schemes are supported. Adding this block — even with no options inside — compiles signature verification into the firmware: the device will reject any OTA update that is not signed with a trusted key. The options below only control how the firmware gets signed. To generate a signing key, use the `espsecure.py` tool from ESP-IDF:","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification","config_entries":[{"key":"signing_key","type":"string","label":"Signing Key","description":"Path to a PEM-encoded private signing key. When provided, the firmware is **automatically signed during build** using `espsecure`. This is the simplest workflow — the public key is derived automatically and embedded in the signature block. When omitted, the firmware is **not signed during build**; you must sign it externally before flashing, which is useful for CI/CD pipelines where the private key is stored in a secure vault. **Mutually exclusive with `verification_key`.**","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"},{"key":"signing_scheme","type":"string","label":"Signing Scheme","description":"The signing algorithm. One of `rsa3072`, `ecdsa256`, or `ecdsa_v1`. Defaults to `rsa3072`. **Not all schemes are supported on all variants** — see the table below. | Variant | `rsa3072` | `ecdsa256` | `ecdsa_v1` | |---------|-----------|------------|------------| | ESP32 (rev 3.0+) | yes | no | yes | | ESP32 (rev < 3.0) | no | no | yes | | ESP32-S2 | yes | no | no | | ESP32-S3 | yes | no | no | | ESP32-C2 | no | yes | no | | ESP32-C3 | yes | no | no | | ESP32-C5 | yes | yes | no | | ESP32-C6 | yes | yes | no | | ESP32-C61 | no | yes | no | | ESP32-H2 | yes | yes | no | | ESP32-P4 | yes | yes | no |","default_value":"rsa3072","options":[{"label":"rsa3072","value":"rsa3072","description":"RSA-3072 (Secure Boot V2). Recommended for most variants."},{"label":"ecdsa256","value":"ecdsa256","description":"ECDSA with NIST P-256 (Secure Boot V2). For variants without RSA support."},{"label":"ecdsa_v1","value":"ecdsa_v1","description":"ECDSA with NIST P-256 (Secure Boot V1). Only for the original ESP32 — use this for chips prior to revision 3.0 that do not support Secure Boot V2."}],"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"},{"key":"verification_key","type":"string","label":"Verification Key","description":"Path to a public verification key, **only for the `ecdsa_v1` scheme**. Secure Boot V1 signatures do not carry the public key, so when the firmware is signed externally the public key must be embedded in the build to verify updates. The key is in raw binary format (`.bin`); extract it from the PEM private key using `espsecure.py extract_public_key --keyfile private.pem public_key.bin`. **Mutually exclusive with `signing_key`.**","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"},{"key":"verification_keys","type":"string","label":"Verification Keys","description":"For externally-signed `rsa3072`, the public keys your device trusts when checking OTA updates. Listing more than one lets you rotate signing keys or keep a backup key — an update signed by any listed key is accepted. Each entry is a public key file, or the key's digest (handy for CI, where you may not want a key file in your configuration). Up to three keys. **Requires `signing_scheme: rsa3072` and no `signing_key`.**","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#signed-ota-verification"}]},{"key":"sram1_as_iram","type":"boolean","label":"Sram1 As Iram","description":"Use the SRAM1 memory region as additional IRAM, providing an extra **40 KB of IRAM**. This reclaims memory that was previously reserved for the bootloader's DRAM and not available to the application. The extra IRAM expands the flash cache window for XIP (execute in place), reducing cache misses and improving performance for all code running from flash (WiFi, BLE, API server, etc.). It also helps avoid IRAM overflow compile errors (`section '.iram0.text' will not fit in region 'iram0_0_seg'`). Since this memory was never part of the heap, there is **no cost to free heap/DRAM**. **Valid only on original ESP32 with** `esp-idf` **framework.** Defaults to `false`. **Important:** This requires a bootloader from ESP-IDF v5.1 or later. Flashing via USB automatically updates the bootloader, but OTA updates do not. If the device has an older bootloader, enabling this option will cause the device to **fail to boot**. If you have previously flashed your device via USB with a recent version of ESPHome, the bootloader is already compatible. ESPHome will log a suggestion at boot if it detects a compatible bootloader and this option is not yet enabled.","default_value":false,"display_format":null,"depends_on":"variant","help_link":"https://esphome.io/components/esp32/#advanced-configuration","depends_on_value_any":["esp32","ESP32"]},{"key":"use_full_certificate_bundle","type":"boolean","label":"Use Full Certificate Bundle","description":"Use the full certificate bundle instead of the common CAs bundle. By default, ESPHome uses the CMN (common CAs) bundle which includes only Certificate Authorities with greater than 1% market share. This covers approximately 99% of websites including Let's Encrypt, DigiCert, Google Trust Services, Amazon Trust Services, and other major CAs. The CMN bundle is sufficient for most use cases including GitHub (commonly used for OTA updates via [HTTP Request](https://esphome.io/components/http_request/)), Home Assistant Cloud, and typical HTTPS endpoints. Set to `true` only if connecting to services that use uncommon Certificate Authorities. Defaults to `false` (CMN bundle saves ~51 KB flash).","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#advanced-configuration"}]},{"key":"components","type":"nested","label":"Components","description":"See [IDF Components](https://esphome.io/components/esp32/#idf-components) below.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"Name of the component e.g. espressif/esp_hosted.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"},{"key":"path","type":"string","label":"Path","description":"The path of the component in the git repository or a local path to the component if `source` is not set.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"},{"key":"ref","type":"string","label":"Ref","description":"Component registry version or a git ref.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"},{"key":"source","type":"string","label":"Source","description":"The git repository to use for the component. This can be used for a custom or patched version of the component.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-2"}]},{"key":"log_level","type":"string","label":"Log Level","description":"Log level of the framework, one of `ERROR` (default), `NONE`, `WARN`, `INFO`, `DEBUG` or `VERBOSE`.","default_value":"ERROR","options":[{"label":"NONE","value":"NONE"},{"label":"ERROR","value":"ERROR"},{"label":"WARN","value":"WARN"},{"label":"INFO","value":"INFO"},{"label":"DEBUG","value":"DEBUG"},{"label":"VERBOSE","value":"VERBOSE"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"platform_version","type":"string","label":"Platform Version","description":"The version of the [pioarduino/espressif32](https://github.com/pioarduino/platform-espressif32/releases/) package to use. For known framework versions this value will be set automatically.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"release","type":"string","label":"Release","display_format":null,"advanced":true,"hidden":true},{"key":"sdkconfig_options","type":"map","label":"Sdkconfig Options","description":"Custom sdkconfig [compiler options](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#compiler-options) to set in the ESP-IDF project.","default_value":"{}","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true,"hidden":true}]},{"key":"source","type":"string","label":"Source","description":"Override the framework source. The accepted forms depend on the active toolchain. When the PlatformIO toolchain is selected, this is a PlatformIO package spec for a custom or patched version of the [pioarduino/framework-arduinoespressif32](https://github.com/espressif/arduino-esp32) or [pioarduino/framework-espidf](https://github.com/pioarduino/esp-idf) package. Refer to [PlatformIO package specifications](https://docs.platformio.org/en/latest/core/userguide/pkg/cmd_install.html#package-specifications) for the supported URL schemes. Examples: When the [native ESP-IDF toolchain](https://esphome.io/guides/esp_idf/) is selected, the value may be either:","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"},{"key":"version","type":"string","label":"Version","description":"The base framework version number to use, from [ESP32 ESP-IDF releases](https://github.com/espressif/esp-idf/releases) or [ESP32 Arduino releases](https://github.com/espressif/arduino-esp32/releases). Defaults to `recommended`. Additional values are:","default_value":"recommended","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-1"}]},{"key":"variant","type":"string","label":"Variant","description":"**Required — set at least one of:** `board`, `variant`.\n\nThe ESP32 mcu/chip to use for this device configuration. One of `esp32`, `esp32s2`, `esp32s3`, `esp32s31`, `esp32c2`, `esp32c3`, `esp32c5`, `esp32c6`, `esp32c61`, `esp32h2`, `esp32h4`, `esp32h21` or `esp32p4`. This must match the hardware in use, or it will fail to flash.","options":[{"label":"ESP32","value":"ESP32"},{"label":"ESP32C2","value":"ESP32C2"},{"label":"ESP32C3","value":"ESP32C3"},{"label":"ESP32C5","value":"ESP32C5"},{"label":"ESP32C6","value":"ESP32C6"},{"label":"ESP32C61","value":"ESP32C61"},{"label":"ESP32H2","value":"ESP32H2"},{"label":"ESP32H4","value":"ESP32H4"},{"label":"ESP32H21","value":"ESP32H21"},{"label":"ESP32P4","value":"ESP32P4"},{"label":"ESP32S2","value":"ESP32S2"},{"label":"ESP32S3","value":"ESP32S3"},{"label":"ESP32S31","value":"ESP32S31"}],"display_format":null,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"cpu_frequency","type":"string","label":"CPU Frequency","description":"The CPU frequency to use. Defaults to the maximum supported frequency for the variant. The allowed values depend on the variant: Some ESP32 modules -- typically OEM/single-core variants found in commercial devices (e.g. certain Xiaomi lamps) -- are rated only up to `160MHz` even though they identify as ESP32. If your device hangs, resets, or fails to boot after flashing at the default (maximum) frequency, set `cpu_frequency: 160MHz` (or lower) to work around this.","options":[{"label":"16MHZ","value":"16MHZ"},{"label":"48MHZ","value":"48MHZ"},{"label":"80MHZ","value":"80MHZ"},{"label":"40MHZ","value":"40MHZ"},{"label":"120MHZ","value":"120MHZ"},{"label":"32MHZ","value":"32MHZ"},{"label":"320MHZ","value":"320MHZ"},{"label":"240MHZ","value":"240MHZ"},{"label":"64MHZ","value":"64MHZ"},{"label":"400MHZ","value":"400MHZ"},{"label":"96MHZ","value":"96MHZ"},{"label":"160MHZ","value":"160MHZ"},{"label":"360MHZ","value":"360MHZ"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"engineering_sample","type":"boolean","label":"Engineering Sample","description":"**ESP32-P4 only.** Set to `true` if your board has engineering sample silicon (rev < 3.0). When using `variant: esp32p4` without specifying a `board`, a warning is logged if this option is not explicitly set. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"flash_frequency","type":"string","label":"Flash Frequency","description":"The SPI frequency used to access the flash chip, for example `80MHz` or `40MHz`. The supported values depend on the variant and are checked at build time. When not set, the board definition (PlatformIO) or the ESP-IDF default decides. **Warning: specifying a frequency your flash chip does not support will cause the ESP32 to fail to boot.**","options":[{"label":"120MHZ","value":"120MHZ"},{"label":"80MHZ","value":"80MHZ"},{"label":"64MHZ","value":"64MHZ"},{"label":"60MHZ","value":"60MHZ"},{"label":"48MHZ","value":"48MHZ"},{"label":"40MHZ","value":"40MHZ"},{"label":"32MHZ","value":"32MHZ"},{"label":"30MHZ","value":"30MHZ"},{"label":"26MHZ","value":"26MHZ"},{"label":"24MHZ","value":"24MHZ"},{"label":"20MHZ","value":"20MHZ"},{"label":"16MHZ","value":"16MHZ"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"flash_mode","type":"string","label":"Flash Mode","description":"The SPI mode used to access the flash chip. One of `qio`, `qout`, `dio`, `dout` or `opi` (octal flash chips only). When not set, the board definition (PlatformIO) or the ESP-IDF default decides. **Warning: specifying a mode your flash chip does not support will cause the ESP32 to fail to boot.**","options":[{"label":"qio","value":"qio"},{"label":"qout","value":"qout"},{"label":"dio","value":"dio"},{"label":"dout","value":"dout"},{"label":"opi","value":"opi"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"flash_size","type":"string","label":"Flash Size","description":"The amount of flash memory available on the ESP32 board/module. One of `2MB`, `4MB`, `8MB`, `16MB` or `32MB`. Defaults to `4MB`. **Warning: specifying a size larger than that available on your board will cause the ESP32 to fail to boot.**","default_value":"4MB","options":[{"label":"2MB","value":"2MB"},{"label":"4MB","value":"4MB"},{"label":"8MB","value":"8MB"},{"label":"16MB","value":"16MB"},{"label":"32MB","value":"32MB"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"partitions","type":"nested","label":"Partitions","description":"A partition table CSV file or a list of custom partitions to add. See [Partitions](https://esphome.io/components/esp32/#partitions).","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables","config_entries":[{"key":"type","type":"integer","label":"Type","description":"Partition type. One of `app` or `data`, or a custom type as an integer between 0x40 and 0xFE.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"},{"key":"name","type":"string","label":"Name","description":"Name of the partition. Cannot be any of the reserved names: `nvs`, `app0`, `app1`, `otadata`, `eeprom`, `spiffs`, `phy_init`.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"},{"key":"size","type":"integer","label":"Size","description":"Partition size in bytes. Must be 4KB (0x1000) aligned.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"},{"key":"subtype","type":"integer","label":"Subtype","description":"Partition subtype. For `app` type: `factory` or `test`. For `data` type: `nvs`, `nvs_keys`, `spiffs`, `coredump`, `efuse`, `fat`, `undefined`, or `littlefs`. Can also be an integer between 0x0 and 0xFE.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables-3"}]},{"key":"toolchain","type":"string","label":"Toolchain","description":"Toolchain used to build the firmware. The `platformio` toolchain is deprecated and will be removed in 2027.2.0.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables"},{"key":"watchdog_timeout","type":"time_period","label":"Watchdog Timeout","description":"The timeout applied to the ESP-IDF task watchdog. If a subscribed task fails to feed the watchdog within this period, the device will reboot. Useful for power-managed devices or long blocking operations that need extended watchdog windows. Defaults to `5s`, valid range is `5s` to `60s`. Note: OTA updates temporarily raise the watchdog to `15s` when the configured timeout is below that threshold.","default_value":"5s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32/#configuration-variables","duration_min_unit":"s"}],"required_groups":[{"kind":"at_least_one","keys":["board","variant"]}]} diff --git a/esphome_device_builder/definitions/components/esp32_ulp.json b/esphome_device_builder/definitions/components/esp32_ulp.json index a233fbce5f..e1211e2d8d 100644 --- a/esphome_device_builder/definitions/components/esp32_ulp.json +++ b/esphome_device_builder/definitions/components/esp32_ulp.json @@ -1 +1 @@ -{"id":"esp32_ulp","name":"ESP32 ULP Coprocessor","description":"The `esp32_ulp` component builds a program for the ESP32's low power coprocessor, embeds it in the firmware and runs it. The coprocessor keeps running while the main CPU is in deep sleep, so it can poll pins, sample the ADC or talk to a sensor at very low power and wake the main CPU when something needs attention.","category":"misc","dependencies":["esp32"],"supported_platforms":["esp32"],"config_entries":[{"key":"sources","type":"string","label":"Sources","description":"The C (`.c`) and assembly (`.S`) files that make up the program, relative to the YAML file. Header files (`.h`) may be listed too; they are copied next to the sources so the program can include them. File names must be unique.","required":true,"display_format":null,"multi_value":true},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation. Needed for the lambda calls below.","advanced":true},{"key":"reserve_memory","type":"integer","label":"Reserve Memory","description":"Bytes of RTC slow memory (LP memory) reserved for the program, its variables and its stack. Defaults to `4096`. The maximum is `8176` on the S2/S3, `16352` on the C5/C6 and `31088` on the P4. On the S2/S3 the value must be a multiple of 16, as the stack starts at its end.","default_value":"4096","range":[32,31088],"display_format":null,"advanced":true},{"key":"run_on_boot","type":"boolean","label":"Run On Boot","description":"Load and start the program during setup. Defaults to `true`. When `false`, call `load_and_run()` from a lambda. However it was started, a running program is left alone after a deep-sleep wake and its variables keep their values.","default_value":true,"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"wakeup_from_sleep","type":"boolean","label":"Wakeup From Sleep","description":"Allow the program to wake the main CPU from deep sleep. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"wakeup_period","type":"time_period","label":"Wakeup Period","description":"***Optional* on the LP core when `wakeup_sources` is set**: How often the timer starts the program, from `1us` to about 71 minutes. The program runs to completion each time; returning from `main` halts the coprocessor until the next period.","display_format":null,"advanced":true,"duration_min_unit":"us"},{"key":"wakeup_sources","type":"string","label":"Wakeup Sources","description":"LP core only (ESP32-C5/C6/P4). Additional events that start the program: `hp_cpu` (started once by the main CPU), `lp_io` (LP IO interrupt), `lp_uart` (LP UART activity) or `etm` (ETM event). The LP timer is used automatically when `wakeup_period` is set.","options":[{"label":"hp_cpu","value":"hp_cpu"},{"label":"lp_io","value":"lp_io"},{"label":"lp_uart","value":"lp_uart"},{"label":"etm","value":"etm"}],"display_format":null,"multi_value":true,"advanced":true}]} +{"id":"esp32_ulp","name":"ESP32 ULP Coprocessor","description":"The `esp32_ulp` component builds a program for the ESP32's low power coprocessor, embeds it in the firmware and runs it. The coprocessor keeps running while the main CPU is in deep sleep, so it can poll pins, sample the ADC or talk to a sensor at very low power and wake the main CPU when something needs attention.","category":"misc","docs_url":"https://esphome.io/components/esp32_ulp/","image_url":"https://esphome.io/images/badges/esp32_ulp.svg","dependencies":["esp32"],"supported_platforms":["esp32"],"config_entries":[{"key":"sources","type":"string","label":"Sources","description":"The C (`.c`) and assembly (`.S`) files that make up the program, relative to the YAML file. Header files (`.h`) may be listed too; they are copied next to the sources so the program can include them. File names must be unique.","required":true,"display_format":null,"multi_value":true,"help_link":"https://esphome.io/components/esp32_ulp/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation. Needed for the lambda calls below.","advanced":true,"help_link":"https://esphome.io/components/esp32_ulp/#configuration-variables"},{"key":"reserve_memory","type":"integer","label":"Reserve Memory","description":"Bytes of RTC slow memory (LP memory) reserved for the program, its variables and its stack. Defaults to `4096`. The maximum is `8176` on the S2/S3, `16352` on the C5/C6 and `31088` on the P4. On the S2/S3 the value must be a multiple of 16, as the stack starts at its end.","default_value":"4096","range":[32,31088],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32_ulp/#configuration-variables"},{"key":"run_on_boot","type":"boolean","label":"Run On Boot","description":"Load and start the program during setup. Defaults to `true`. When `false`, call `load_and_run()` from a lambda. However it was started, a running program is left alone after a deep-sleep wake and its variables keep their values.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32_ulp/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"wakeup_from_sleep","type":"boolean","label":"Wakeup From Sleep","description":"Allow the program to wake the main CPU from deep sleep. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32_ulp/#configuration-variables"},{"key":"wakeup_period","type":"time_period","label":"Wakeup Period","description":"***Optional* on the LP core when `wakeup_sources` is set**: How often the timer starts the program, from `1us` to about 71 minutes. The program runs to completion each time; returning from `main` halts the coprocessor until the next period.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esp32_ulp/#configuration-variables","duration_min_unit":"us"},{"key":"wakeup_sources","type":"string","label":"Wakeup Sources","description":"LP core only (ESP32-C5/C6/P4). Additional events that start the program: `hp_cpu` (started once by the main CPU), `lp_io` (LP IO interrupt), `lp_uart` (LP UART activity) or `etm` (ETM event). The LP timer is used automatically when `wakeup_period` is set.","options":[{"label":"hp_cpu","value":"hp_cpu"},{"label":"lp_io","value":"lp_io"},{"label":"lp_uart","value":"lp_uart"},{"label":"etm","value":"etm"}],"display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/esp32_ulp/#configuration-variables"}]} diff --git a/esphome_device_builder/definitions/components/espectre.json b/esphome_device_builder/definitions/components/espectre.json index b1b2724b82..e9e6593c9a 100644 --- a/esphome_device_builder/definitions/components/espectre.json +++ b/esphome_device_builder/definitions/components/espectre.json @@ -1 +1 @@ -{"id":"espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The `espectre` component detects motion from Wi-Fi channel state information (CSI), using the [ESPectre SDK](https://espectre.dev/sdk/). The ESP32 does all the processing, so no other motion sensor is needed.","category":"misc","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["esp32","wifi"],"supported_platforms":["esp32"],"config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the component ID.","advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"csi_capture_profile","type":"string","label":"Csi Capture Profile","description":"`auto`, `lltf`, or `ht_vht`. Defaults to `auto`, which picks a profile for the chip, band, and traffic source. `lltf` uses the legacy long training field. `ht_vht` uses HT20 or VHT20, depending on the Wi-Fi connection.","default_value":"auto","options":[{"label":"auto","value":"auto"},{"label":"lltf","value":"lltf"},{"label":"ht_vht","value":"ht_vht"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"csi_sample_spacing","type":"string","label":"Csi Sample Spacing","description":"`half_slot` or `distinct`. Defaults to `half_slot`. Sets how close together two CSI packets can arrive and both reach the detector. `half_slot` needs at least half a time slot between them. `distinct` only needs different timestamps. Applies to every traffic source. See [Reading the Diagnostics](https://esphome.io/components/espectre/#reading-the-diagnostics) for when to use `distinct`.","default_value":"half_slot","options":[{"label":"half_slot","value":"half_slot"},{"label":"distinct","value":"distinct"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"csi_target_pps","type":"integer","label":"Csi Target Pps","description":"Packets per second that the detector expects and the traffic generator sends. Range 1 to 500. Defaults to `100`. The detector splits its window into time slots of 1/`csi_target_pps` seconds. With `external` traffic, send at this rate.","range":[1,500],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/"},{"key":"csi_traffic_multicast_group","type":"string","label":"Csi Traffic Multicast Group","description":"Multicast group the device joins in `external` mode, to receive UDP datagrams and ICMP echo requests in addition to those sent to its own address. Defaults to `239.255.0.1`. An empty string joins no group. Requires `traffic_generator_mode: external`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"detection_algorithm","type":"string","label":"Detection Algorithm","description":"`lightweight` or `high_accuracy`. Defaults to `lightweight`. Lightweight detection calibrates its threshold to the room and uses less CPU and memory. High Accuracy detection runs an on-device neural network with trained weights.","default_value":"lightweight","options":[{"label":"lightweight","value":"lightweight"},{"label":"high_accuracy","value":"high_accuracy"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"evaluation_interval","type":"time_period","label":"Evaluation Interval","description":"Time between two detector evaluations. Range `10ms` to `10s`. Defaults to `250ms`. Motion hits count evaluations, so this also changes how long `motion_on_hits` and `motion_off_hits` take.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","duration_min_unit":"ms"},{"key":"hampel_filter","type":"nested","label":"Hampel Filter","description":"Replaces outliers with the median of the filter window. Both detection algorithms use it. Enabled by default.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","config_entries":[{"key":"enabled","type":"boolean","label":"Enabled","description":"Whether the filter runs. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/"},{"key":"threshold","type":"float","label":"Threshold","description":"A sample is replaced when its distance from the median is more than this value times 1.4826 times the median absolute deviation (MAD). Range 1.0 to 10.0. Defaults to `5.0`.","range":[1.0,10.0],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/"},{"key":"window","type":"integer","label":"Window","description":"Window length, in samples. Range 3 to 11. Defaults to `7`.","range":[3,11],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/"}]},{"key":"lowpass_filter","type":"nested","label":"Lowpass Filter","description":"Smooths the signal before the detector evaluates it. This can reduce false positives, but slows the response. Disabled by default.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","config_entries":[{"key":"cutoff","type":"float_with_unit","label":"Cutoff","description":"Cutoff frequency. Range `5Hz` to `20Hz`. Defaults to `11Hz`. The filter assumes 100 samples per second. With a different `csi_target_pps`, or with many missing slots, the real cutoff is different.","range":[5.0,20.0],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"enabled","type":"boolean","label":"Enabled","description":"Whether the filter runs. Defaults to `true` when the block is present.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/"}]},{"key":"motion_off_hits","type":"integer","label":"Motion Off Hits","description":"How many detector evaluations in a row must be below the threshold to clear motion. Range 1 to 20. Defaults to `3`.","range":[1,20],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"motion_on_hits","type":"integer","label":"Motion On Hits","description":"How many detector evaluations in a row must be above the threshold to report motion. Range 1 to 20. Defaults to `4`, about 1 second at the default `evaluation_interval`. Raise it if short bursts trigger motion. Lower it if motion is reported too late.","range":[1,20],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"traffic_generator_mode","type":"string","label":"Traffic Generator Mode","description":"The source of the traffic that carries CSI: `ping`, `dns`, `dns_tcp`, `wifi_raw`, or `external`. Defaults to `ping`. See [Traffic Sources](https://esphome.io/components/espectre/#traffic-sources).","default_value":"ping","options":[{"label":"ping","value":"ping"},{"label":"dns","value":"dns"},{"label":"dns_tcp","value":"dns_tcp"},{"label":"wifi_raw","value":"wifi_raw"},{"label":"external","value":"external"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"traffic_generator_target_ip","type":"string","label":"Traffic Generator Target IP","description":"Where `ping`, `dns`, and `dns_tcp` send their traffic. Defaults to the Wi-Fi gateway. Use a unicast address that answers the selected mode. DNS modes need a DNS server on port 53, with TCP support for `dns_tcp`. Cannot be used with `wifi_raw` or `external`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"traffic_generator_target_mac","type":"mac_address","label":"Traffic Generator Target MAC","description":"Where `wifi_raw` sends its Null Data frames. Defaults to the access point the device is connected to, also after roaming. Set it to the Wi-Fi station MAC address of another ESPectre device in `external` mode to measure the link between the two devices. See [Two-Device Sensing](https://esphome.io/components/espectre/#two-device-sensing). Must be a unicast address. With the device's own address, raw traffic does not start. The option applies whenever `wifi_raw` runs, also after the [traffic source select](https://esphome.io/components/espectre/#selects) switches to it. Not available on ESP32-C6 or with `csi_capture_profile: ht_vht`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"window_size","type":"time_period","label":"Window Size","description":"Length of the detector window. Range `1000ms` to `2000ms`. Defaults to `1000ms`. A longer window changes the detector features and the response time.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","duration_min_unit":"ms"}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}]} +{"id":"espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The `espectre` component detects motion from Wi-Fi channel state information (CSI), using the [ESPectre SDK](https://espectre.dev/sdk/). The ESP32 does all the processing, so no other motion sensor is needed.","category":"misc","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["esp32","wifi"],"supported_platforms":["esp32"],"config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the component ID.","advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"csi_capture_profile","type":"string","label":"Csi Capture Profile","description":"`auto`, `lltf`, or `ht_vht`. Defaults to `auto`, which picks a profile for the chip, band, and traffic source. `lltf` uses the legacy long training field. `ht_vht` uses HT20 or VHT20, depending on the Wi-Fi connection.","default_value":"auto","options":[{"label":"auto","value":"auto"},{"label":"lltf","value":"lltf"},{"label":"ht_vht","value":"ht_vht"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"csi_sample_spacing","type":"string","label":"Csi Sample Spacing","description":"`half_slot` or `distinct`. Defaults to `half_slot`. Sets how close together two CSI packets can arrive and both reach the detector. `half_slot` needs at least half a time slot between them. `distinct` only needs different timestamps. Applies to every traffic source. See [Reading the Diagnostics](https://esphome.io/components/espectre/#reading-the-diagnostics) for when to use `distinct`.","default_value":"half_slot","options":[{"label":"half_slot","value":"half_slot"},{"label":"distinct","value":"distinct"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"csi_target_pps","type":"integer","label":"Csi Target Pps","description":"Packets per second that the detector expects and the traffic generator sends. Range 1 to 500. Defaults to `100`. The detector splits its window into time slots of 1/`csi_target_pps` seconds. With `external` traffic, send at this rate.","range":[1,500],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables"},{"key":"csi_traffic_multicast_group","type":"string","label":"Csi Traffic Multicast Group","description":"Multicast group the device joins in `external` mode, to receive UDP datagrams and ICMP echo requests in addition to those sent to its own address. Defaults to `239.255.0.1`. An empty string joins no group. Requires `traffic_generator_mode: external`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"detection_algorithm","type":"string","label":"Detection Algorithm","description":"`lightweight` or `high_accuracy`. Defaults to `lightweight`. Lightweight detection calibrates its threshold to the room and uses less CPU and memory. High Accuracy detection runs an on-device neural network with trained weights.","default_value":"lightweight","options":[{"label":"lightweight","value":"lightweight"},{"label":"high_accuracy","value":"high_accuracy"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"evaluation_interval","type":"time_period","label":"Evaluation Interval","description":"Time between two detector evaluations. Range `10ms` to `10s`. Defaults to `250ms`. Motion hits count evaluations, so this also changes how long `motion_on_hits` and `motion_off_hits` take.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables","duration_min_unit":"ms"},{"key":"hampel_filter","type":"nested","label":"Hampel Filter","description":"Replaces outliers with the median of the filter window. Both detection algorithms use it. Enabled by default.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables","config_entries":[{"key":"enabled","type":"boolean","label":"Enabled","description":"Whether the filter runs. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables"},{"key":"threshold","type":"float","label":"Threshold","description":"A sample is replaced when its distance from the median is more than this value times 1.4826 times the median absolute deviation (MAD). Range 1.0 to 10.0. Defaults to `5.0`.","range":[1.0,10.0],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables"},{"key":"window","type":"integer","label":"Window","description":"Window length, in samples. Range 3 to 11. Defaults to `7`.","range":[3,11],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables"}]},{"key":"lowpass_filter","type":"nested","label":"Lowpass Filter","description":"Smooths the signal before the detector evaluates it. This can reduce false positives, but slows the response. Disabled by default.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables","config_entries":[{"key":"cutoff","type":"float_with_unit","label":"Cutoff","description":"Cutoff frequency. Range `5Hz` to `20Hz`. Defaults to `11Hz`. The filter assumes 100 samples per second. With a different `csi_target_pps`, or with many missing slots, the real cutoff is different.","range":[5.0,20.0],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables","unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"enabled","type":"boolean","label":"Enabled","description":"Whether the filter runs. Defaults to `true` when the block is present.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables"}]},{"key":"motion_off_hits","type":"integer","label":"Motion Off Hits","description":"How many detector evaluations in a row must be below the threshold to clear motion. Range 1 to 20. Defaults to `3`.","range":[1,20],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"motion_on_hits","type":"integer","label":"Motion On Hits","description":"How many detector evaluations in a row must be above the threshold to report motion. Range 1 to 20. Defaults to `4`, about 1 second at the default `evaluation_interval`. Raise it if short bursts trigger motion. Lower it if motion is reported too late.","range":[1,20],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"traffic_generator_mode","type":"string","label":"Traffic Generator Mode","description":"The source of the traffic that carries CSI: `ping`, `dns`, `dns_tcp`, `wifi_raw`, or `external`. Defaults to `ping`. See [Traffic Sources](https://esphome.io/components/espectre/#traffic-sources).","default_value":"ping","options":[{"label":"ping","value":"ping"},{"label":"dns","value":"dns"},{"label":"dns_tcp","value":"dns_tcp"},{"label":"wifi_raw","value":"wifi_raw"},{"label":"external","value":"external"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"traffic_generator_target_ip","type":"string","label":"Traffic Generator Target IP","description":"Where `ping`, `dns`, and `dns_tcp` send their traffic. Defaults to the Wi-Fi gateway. Use a unicast address that answers the selected mode. DNS modes need a DNS server on port 53, with TCP support for `dns_tcp`. Cannot be used with `wifi_raw` or `external`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"traffic_generator_target_mac","type":"mac_address","label":"Traffic Generator Target MAC","description":"Where `wifi_raw` sends its Null Data frames. Defaults to the access point the device is connected to, also after roaming. Set it to the Wi-Fi station MAC address of another ESPectre device in `external` mode to measure the link between the two devices. See [Two-Device Sensing](https://esphome.io/components/espectre/#two-device-sensing). Must be a unicast address. With the device's own address, raw traffic does not start. The option applies whenever `wifi_raw` runs, also after the [traffic source select](https://esphome.io/components/espectre/#selects) switches to it. Not available on ESP32-C6 or with `csi_capture_profile: ht_vht`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#configuration-variables"},{"key":"window_size","type":"time_period","label":"Window Size","description":"Length of the detector window. Range `1000ms` to `2000ms`. Defaults to `1000ms`. A longer window changes the detector features and the response time.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#advanced-configuration-variables","duration_min_unit":"ms"}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}]} diff --git a/esphome_device_builder/definitions/components/esphome.json b/esphome_device_builder/definitions/components/esphome.json index bd58c11a47..393ad739b7 100644 --- a/esphome_device_builder/definitions/components/esphome.json +++ b/esphome_device_builder/definitions/components/esphome.json @@ -1 +1 @@ -{"id":"esphome","name":"ESPHome Core Configuration","description":"Here you specify some core information that ESPHome needs to create firmwares. Most importantly, this is the section of the configuration where you specify the **name** of the node.","category":"core","docs_url":"https://esphome.io/components/esphome/","image_url":"https://esphome.io/images/cloud-circle.svg","config_entries":[{"key":"name","type":"string","label":"Name","description":"Display name for the device.","required":true,"display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"},{"key":"friendly_name","type":"string","label":"Friendly Name","description":"This name is sent to the frontend and used by Home Assistant as the integration and device name. It also gets prefixed to entity names when needed. While optional, leaving it out can result in less intuitive names and a less polished experience in Home Assistant. Setting a `friendly_name` helps keep things clear, consistent, and easier to manage.","default_value":"","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"area","type":"string","label":"Area","description":"The area configuration for this device. This is sent to Home Assistant to specify which area/zone the device belongs to. Can be either a simple string (e.g., `\"Living Room\"` ) or a structured format with `id` and `name`.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"build_path","type":"string","label":"Build Path","description":"Customize where ESPHome will store the build files for your node. By default, ESPHome puts the PlatformIO project it uses to build the firmware in the `.esphome/build/` (or into path from `ESPHOME_BUILD_PATH` environment variable if specified) directory, but you can customize this behavior using this option. Official docker image automatically use `/build` folder as default one in case it is mounted to it.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"comment","type":"string","label":"Comment","description":"Additional text information about this node. Only for display in UI.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"areas","type":"nested","label":"Areas","description":"Additional areas that can be referenced by devices.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"name","type":"string","label":"Name","required":true,"display_format":null,"advanced":true}]},{"key":"build_flags","type":"string","label":"Build Flags","description":"Extra compiler flags to add to the build. Works on both the PlatformIO and native ESP-IDF backends. See [`build_flags`](https://esphome.io/components/esphome/#build_flags).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"compile_process_limit","type":"integer","label":"Compile Process Limit","description":"The maximum number of simultaneous compile processes to run. Defaults to the number of cores of the CPU which is also the maximum you can set.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"debug_scheduler","type":"boolean","label":"Debug Scheduler","description":"If set, the scheduler will print debug information about scheduled tasks at log level DEBUG.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"devices","type":"nested","label":"Devices","description":"Sub-devices to group entities under.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"area_id","type":"id","label":"Area ID","description":"Reference to an area ID defined in `areas`.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"},{"key":"name","type":"string","label":"Name","required":true,"display_format":null,"advanced":true},{"key":"relation","type":"string","label":"Relation","description":"How the sub-device relates to this ESP device. One of `via` or `child`.","required":true,"options":[{"label":"via","value":"via"},{"label":"child","value":"child"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"}]},{"key":"environment_variables","type":"map","label":"Environment Variables","description":"Environment variables to set during the build process. See [`environment_variables`](https://esphome.io/components/esphome/#esphome-environment_variables).","default_value":"{}","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true,"hidden":true}]},{"key":"includes","type":"string","label":"Includes","description":"A list of C/C++ files to include in the (auto-generated) `main` file. The paths in this list are relative to the directory where the YAML configuration file is located or `<...>` includes. See [`includes`](https://esphome.io/components/esphome/#includes).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"includes_c","type":"string","label":"Includes C","description":"The same as `includes` but for files that require C linkage. All includes will be wrapped in `extern \"C\" {}`. See [`includes`](https://esphome.io/components/esphome/#includes).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"libraries","type":"string","label":"Libraries","description":"A list of libraries to include in the project. See [`libraries`](https://esphome.io/components/esphome/#libraries).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"loop_interval","type":"time_period","label":"Loop Interval","description":"Set the loop interval of the main loop. Increasing the value can be useful for low power applications but increases latency. **Attention:** Some components might not work properly with increased intervals. Setting a smaller interval is usually not needed as components will request it themselves. Sleep per wake is capped at twice the watchdog feed interval (except on `host` and `esp8266`); raise `watchdog_timeout` in the [ESP32 component](https://esphome.io/components/esp32/) to sleep longer. Defaults to `16ms`.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","duration_min_unit":"ms"},{"key":"merge_warnings","type":"boolean","label":"Merge Warnings","description":"Whether to warn when a YAML merge key (`<<:`) silently drops a key. Defaults to `true`. See [Merge key warnings](https://esphome.io/components/esphome/#esphome-merge_warnings).","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"min_version","type":"string","label":"Min Version","description":"The minimum ESPHome version required to compile this configuration. See [Minimum ESPHome version](https://esphome.io/components/esphome/#esphome-min_version).","default_value":"2026.11.0b4","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"name_add_mac_suffix","type":"boolean","label":"Name Add MAC Suffix","description":"Appends the last 3 bytes of the mac address of the device to the name in the form `-aabbcc`. Defaults to `false`. See [Adding the MAC address as a suffix to the device name](https://esphome.io/components/esphome/#esphome-mac_suffix).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"platformio_options","type":"map","label":"Platformio Options","description":"Additional options to pass over to PlatformIO in the platformio.ini file. See [`platformio_options`](https://esphome.io/components/esphome/#esphome-platformio_options).","default_value":"{}","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true,"hidden":true}]},{"key":"project","type":"nested","label":"Project","description":"ESPHome Creator's Project information. See [Project information](https://esphome.io/components/esphome/#esphome-creators_project).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"Name of the project","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"version","type":"string","label":"Version","description":"Version of the project","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"sbom","type":"nested","label":"Sbom","description":"Details about the maker of the project for its software bill of materials. Only available on ESP32. See [Software bill of materials (SBOM)](https://esphome.io/components/esphome/#software-bill-of-materials-sbom). At least one of `contact` or `url` is required.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"contact","type":"string","label":"Contact","description":"**Required — set at least one of:** `contact`, `url`.\n\nEmail address for security reports.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"url","type":"string","label":"URL","description":"**Required — set at least one of:** `contact`, `url`.\n\nWeb address for security reports, such as a security policy page.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"supplier","type":"string","label":"Supplier","description":"Name of the organization that makes and supplies the firmware.","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"}],"required_groups":[{"kind":"at_least_one","keys":["contact","url"]}]}]},{"key":"suspend_loop","type":"boolean","label":"Suspend Loop","description":"If set, suspends the main loop if no component needs it in order to allow longer sleep times and reduced power consumption. If at least one component does not disable its loop this has no effect (examples are `api` or `wifi`). **Attention:** Some components might not work properly or fail to update. Work scheduled from another task or interrupt (a `set_timeout` or `defer` off the main loop) can wait up to about two seconds on ESP32 before the suspended loop runs it. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"}]} +{"id":"esphome","name":"ESPHome Core Configuration","description":"Here you specify some core information that ESPHome needs to create firmwares. Most importantly, this is the section of the configuration where you specify the **name** of the node.","category":"core","docs_url":"https://esphome.io/components/esphome/","image_url":"https://esphome.io/images/cloud-circle.svg","config_entries":[{"key":"name","type":"string","label":"Name","description":"Display name for the device.","required":true,"display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"},{"key":"friendly_name","type":"string","label":"Friendly Name","description":"This name is sent to the frontend and used by Home Assistant as the integration and device name. It also gets prefixed to entity names when needed. While optional, leaving it out can result in less intuitive names and a less polished experience in Home Assistant. Setting a `friendly_name` helps keep things clear, consistent, and easier to manage.","default_value":"","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"area","type":"string","label":"Area","description":"The area configuration for this device. This is sent to Home Assistant to specify which area/zone the device belongs to. Can be either a simple string (e.g., `\"Living Room\"` ) or a structured format with `id` and `name`.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"build_path","type":"string","label":"Build Path","description":"Customize where ESPHome will store the build files for your node. By default, ESPHome puts the PlatformIO project it uses to build the firmware in the `.esphome/build/` (or into path from `ESPHOME_BUILD_PATH` environment variable if specified) directory, but you can customize this behavior using this option. Official docker image automatically use `/build` folder as default one in case it is mounted to it.","required":true,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"comment","type":"string","label":"Comment","description":"Additional text information about this node. Only for display in UI.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"areas","type":"nested","label":"Areas","description":"Additional areas that can be referenced by devices.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"name","type":"string","label":"Name","required":true,"display_format":null,"advanced":true}]},{"key":"build_flags","type":"string","label":"Build Flags","description":"Extra compiler flags to add to the build. Works on both the PlatformIO and native ESP-IDF backends. See [`build_flags`](https://esphome.io/components/esphome/#build_flags).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"compile_process_limit","type":"integer","label":"Compile Process Limit","description":"The maximum number of simultaneous compile processes to run. Defaults to the number of cores of the CPU which is also the maximum you can set.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"debug_scheduler","type":"boolean","label":"Debug Scheduler","description":"If set, the scheduler will print debug information about scheduled tasks at log level DEBUG.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"devices","type":"nested","label":"Devices","description":"Sub-devices to group entities under.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","description":"Unique identifier for the device.","required":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"},{"key":"area_id","type":"id","label":"Area ID","description":"Reference to an area ID defined in `areas`.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"},{"key":"name","type":"string","label":"Name","description":"Display name for the device.","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"},{"key":"relation","type":"string","label":"Relation","description":"How the sub-device relates to this ESP device. One of `via` or `child`.","required":true,"options":[{"label":"via","value":"via"},{"label":"child","value":"child"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables-3"}]},{"key":"environment_variables","type":"map","label":"Environment Variables","description":"Environment variables to set during the build process. See [`environment_variables`](https://esphome.io/components/esphome/#esphome-environment_variables).","default_value":"{}","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true,"hidden":true}]},{"key":"includes","type":"string","label":"Includes","description":"A list of C/C++ files to include in the (auto-generated) `main` file. The paths in this list are relative to the directory where the YAML configuration file is located or `<...>` includes. See [`includes`](https://esphome.io/components/esphome/#includes).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"includes_c","type":"string","label":"Includes C","description":"The same as `includes` but for files that require C linkage. All includes will be wrapped in `extern \"C\" {}`. See [`includes`](https://esphome.io/components/esphome/#includes).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"libraries","type":"string","label":"Libraries","description":"A list of libraries to include in the project. See [`libraries`](https://esphome.io/components/esphome/#libraries).","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"loop_interval","type":"time_period","label":"Loop Interval","description":"Set the loop interval of the main loop. Increasing the value can be useful for low power applications but increases latency. **Attention:** Some components might not work properly with increased intervals. Setting a smaller interval is usually not needed as components will request it themselves. Sleep per wake is capped at twice the watchdog feed interval (except on `host` and `esp8266`); raise `watchdog_timeout` in the [ESP32 component](https://esphome.io/components/esp32/) to sleep longer. Defaults to `16ms`.","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","duration_min_unit":"ms"},{"key":"merge_warnings","type":"boolean","label":"Merge Warnings","description":"Whether to warn when a YAML merge key (`<<:`) silently drops a key. Defaults to `true`. See [Merge key warnings](https://esphome.io/components/esphome/#esphome-merge_warnings).","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"min_version","type":"string","label":"Min Version","description":"The minimum ESPHome version required to compile this configuration. See [Minimum ESPHome version](https://esphome.io/components/esphome/#esphome-min_version).","default_value":"2026.11.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"name_add_mac_suffix","type":"boolean","label":"Name Add MAC Suffix","description":"Appends the last 3 bytes of the mac address of the device to the name in the form `-aabbcc`. Defaults to `false`. See [Adding the MAC address as a suffix to the device name](https://esphome.io/components/esphome/#esphome-mac_suffix).","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"platformio_options","type":"map","label":"Platformio Options","description":"Additional options to pass over to PlatformIO in the platformio.ini file. See [`platformio_options`](https://esphome.io/components/esphome/#esphome-platformio_options).","default_value":"{}","display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true,"hidden":true}]},{"key":"project","type":"nested","label":"Project","description":"ESPHome Creator's Project information. See [Project information](https://esphome.io/components/esphome/#esphome-creators_project).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"Name of the project","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"version","type":"string","label":"Version","description":"Version of the project","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"sbom","type":"nested","label":"Sbom","description":"Details about the maker of the project for its software bill of materials. Only available on ESP32. See [Software bill of materials (SBOM)](https://esphome.io/components/esphome/#software-bill-of-materials-sbom). At least one of `contact` or `url` is required.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables","config_entries":[{"key":"contact","type":"string","label":"Contact","description":"**Required — set at least one of:** `contact`, `url`.\n\nEmail address for security reports.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"url","type":"string","label":"URL","description":"**Required — set at least one of:** `contact`, `url`.\n\nWeb address for security reports, such as a security policy page.","display_format":null,"help_link":"https://esphome.io/components/esphome/#configuration-variables"},{"key":"supplier","type":"string","label":"Supplier","description":"Name of the organization that makes and supplies the firmware.","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"}],"required_groups":[{"kind":"at_least_one","keys":["contact","url"]}]}]},{"key":"suspend_loop","type":"boolean","label":"Suspend Loop","description":"If set, suspends the main loop if no component needs it in order to allow longer sleep times and reduced power consumption. If at least one component does not disable its loop this has no effect (examples are `api` or `wifi`). **Attention:** Some components might not work properly or fail to update. Work scheduled from another task or interrupt (a `set_timeout` or `defer` off the main loop) can wait up to about two seconds on ESP32 before the suspended loop runs it. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/esphome/#configuration-variables"}]} diff --git a/esphome_device_builder/definitions/components/ezsp_proxy_tap.json b/esphome_device_builder/definitions/components/ezsp_proxy_tap.json index f1330b5b46..0fa3239126 100644 --- a/esphome_device_builder/definitions/components/ezsp_proxy_tap.json +++ b/esphome_device_builder/definitions/components/ezsp_proxy_tap.json @@ -1 +1 @@ -{"id":"ezsp_proxy_tap","name":"EZSP Proxy Tap","description":"The `ezsp_proxy_tap` component acknowledges frames from a Silicon Labs EZSP Zigbee network coprocessor (NCP) attached to a [Serial Proxy](https://esphome.io/components/serial_proxy/). The NCP resets if it gets no acknowledgement in time, so a slow or unstable network between the device and the API client can otherwise reset it.","category":"misc","dependencies":["serial_proxy"],"config_entries":[{"key":"serial_proxy_id","type":"id","label":"Serial Proxy ID","description":"The ID of the [Serial Proxy](https://esphome.io/components/serial_proxy/) the NCP is attached to.","required":true,"display_format":null,"references_component":"serial_proxy"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID to use for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"ezsp_proxy_tap","name":"EZSP Proxy Tap","description":"The `ezsp_proxy_tap` component acknowledges frames from a Silicon Labs EZSP Zigbee network coprocessor (NCP) attached to a [Serial Proxy](https://esphome.io/components/serial_proxy/). The NCP resets if it gets no acknowledgement in time, so a slow or unstable network between the device and the API client can otherwise reset it.","category":"misc","docs_url":"https://esphome.io/components/ezsp_proxy_tap/","image_url":"https://esphome.io/images/badges/ezsp_proxy_tap.svg","dependencies":["serial_proxy"],"config_entries":[{"key":"serial_proxy_id","type":"id","label":"Serial Proxy ID","description":"The ID of the [Serial Proxy](https://esphome.io/components/serial_proxy/) the NCP is attached to.","required":true,"display_format":null,"references_component":"serial_proxy","help_link":"https://esphome.io/components/ezsp_proxy_tap/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID to use for code generation.","advanced":true,"help_link":"https://esphome.io/components/ezsp_proxy_tap/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/fan.ecocomfort2.json b/esphome_device_builder/definitions/components/fan.ecocomfort2.json index abaefa2429..e0603df7a5 100644 --- a/esphome_device_builder/definitions/components/fan.ecocomfort2.json +++ b/esphome_device_builder/definitions/components/fan.ecocomfort2.json @@ -1 +1 @@ -{"id":"fan.ecocomfort2","name":"Ecocomfort2","description":"","category":"fan","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the fan. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the fan attempts to restore state on boot.","default_value":"ALWAYS_OFF","options":[{"label":"NO_RESTORE","value":"NO_RESTORE","description":"Don't restore any state."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the fan as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the fan as ON on bootup."},{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."}],"display_format":null,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the fan in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"direction_command_topic","type":"string","label":"Direction Command Topic","description":"The topic to receive fan direction commands on (options: forward, reverse, toggle).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"direction_state_topic","type":"string","label":"Direction State Topic","description":"The topic to publish fan direction state changes to (options: forward, reverse).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"oscillation_command_topic","type":"string","label":"Oscillation Command Topic","description":"The topic to receive oscillation commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"oscillation_state_topic","type":"string","label":"Oscillation State Topic","description":"The topic to publish fan oscillation state changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"speed_command_topic","type":"string","label":"Speed Command Topic","description":"The topic to receive speed commands on (options: LOW, MEDIUM, HIGH).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"speed_level_command_topic","type":"integer","label":"Speed Level Command Topic","description":"The topic to receive numeric speed commands on (range: 0 to speed count).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"speed_level_state_topic","type":"integer","label":"Speed Level State Topic","description":"The topic to publish numeric fan speed state changes to (range: 0 to speed count).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"speed_state_topic","type":"string","label":"Speed State Topic","description":"The topic to publish fan speed state changes to (options: LOW, MEDIUM, HIGH).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}]} +{"id":"fan.ecocomfort2","name":"Ecocomfort2","description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","category":"fan","docs_url":"https://esphome.io/components/ecocomfort2","image_url":"https://esphome.io/images/fan.svg","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the fan. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the fan attempts to restore state on boot.","default_value":"ALWAYS_OFF","options":[{"label":"NO_RESTORE","value":"NO_RESTORE","description":"Don't restore any state."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the fan as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the fan as ON on bootup."},{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."}],"display_format":null,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-1"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the fan in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"direction_command_topic","type":"string","label":"Direction Command Topic","description":"The topic to receive fan direction commands on (options: forward, reverse, toggle).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"direction_state_topic","type":"string","label":"Direction State Topic","description":"The topic to publish fan direction state changes to (options: forward, reverse).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"oscillation_command_topic","type":"string","label":"Oscillation Command Topic","description":"The topic to receive oscillation commands on.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"oscillation_state_topic","type":"string","label":"Oscillation State Topic","description":"The topic to publish fan oscillation state changes to.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"speed_command_topic","type":"string","label":"Speed Command Topic","description":"The topic to receive speed commands on (options: LOW, MEDIUM, HIGH).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"speed_level_command_topic","type":"integer","label":"Speed Level Command Topic","description":"The topic to receive numeric speed commands on (range: 0 to speed count).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"speed_level_state_topic","type":"integer","label":"Speed Level State Topic","description":"The topic to publish numeric fan speed state changes to (range: 0 to speed count).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"speed_state_topic","type":"string","label":"Speed State Topic","description":"The topic to publish fan speed state changes to (options: LOW, MEDIUM, HIGH).","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/fan/#base-fan-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}]} diff --git a/esphome_device_builder/definitions/components/fusb302b.json b/esphome_device_builder/definitions/components/fusb302b.json index c0d52e8e7e..a39ef4bd32 100644 --- a/esphome_device_builder/definitions/components/fusb302b.json +++ b/esphome_device_builder/definitions/components/fusb302b.json @@ -1 +1 @@ -{"id":"fusb302b","name":"FUSB302B USB-C Power Delivery","description":"The `fusb302b` component supports the onsemi [FUSB302B](https://www.onsemi.com/products/interfaces/usb-type-c/fusb302b) USB Type-C and Power Delivery (PD) controller. It acts as a PD sink: when a USB-C power source is attached, it negotiates a power contract for a fixed supply voltage of up to 20 V.","category":"misc","dependencies":["i2c"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the FUSB302B. Defaults to `0x22`, the address of the FUSB302BMPX. The FUSB302B01MPX, FUSB302B10MPX and FUSB302B11MPX use `0x23`, `0x24` and `0x25`.","default_value":"34","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C bus](https://esphome.io/components/i2c/) the FUSB302B is connected to. Required when more than one I²C bus is configured.","display_format":null,"references_component":"i2c"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The GPIO pin connected to the `INT_N` output of the FUSB302B. `INT_N` is an open-drain output; the internal pull-up of the pin is enabled by default.","required":true,"display_format":null,"pin_mode":"input","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"request_voltage","type":"integer","label":"Request Voltage","description":"The voltage in volts to request from the source, from `5` to `20`. See [Power Negotiation](https://esphome.io/components/fusb302b/#power-negotiation).","required":true,"range":[5,20],"display_format":null},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"fusb302b","name":"FUSB302B USB-C Power Delivery","description":"The `fusb302b` component supports the onsemi [FUSB302B](https://www.onsemi.com/products/interfaces/usb-type-c/fusb302b) USB Type-C and Power Delivery (PD) controller. It acts as a PD sink: when a USB-C power source is attached, it negotiates a power contract for a fixed supply voltage of up to 20 V.","category":"misc","docs_url":"https://esphome.io/components/fusb302b/","image_url":"https://esphome.io/images/badges/fusb302b.svg","dependencies":["i2c"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the FUSB302B. Defaults to `0x22`, the address of the FUSB302BMPX. The FUSB302B01MPX, FUSB302B10MPX and FUSB302B11MPX use `0x23`, `0x24` and `0x25`.","default_value":"34","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/fusb302b/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C bus](https://esphome.io/components/i2c/) the FUSB302B is connected to. Required when more than one I²C bus is configured.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/fusb302b/#configuration-variables"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The GPIO pin connected to the `INT_N` output of the FUSB302B. `INT_N` is an open-drain output; the internal pull-up of the pin is enabled by default.","required":true,"display_format":null,"pin_mode":"input","help_link":"https://esphome.io/components/fusb302b/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"request_voltage","type":"integer","label":"Request Voltage","description":"The voltage in volts to request from the source, from `5` to `20`. See [Power Negotiation](https://esphome.io/components/fusb302b/#power-negotiation).","required":true,"range":[5,20],"display_format":null,"help_link":"https://esphome.io/components/fusb302b/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/fusb302b/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/hdmi_cec.json b/esphome_device_builder/definitions/components/hdmi_cec.json index 67fa368dbd..82d40f808c 100644 --- a/esphome_device_builder/definitions/components/hdmi_cec.json +++ b/esphome_device_builder/definitions/components/hdmi_cec.json @@ -1 +1 @@ -{"id":"hdmi_cec","name":"HDMI-CEC Bus","description":"The `hdmi_cec` component connects an ESPHome device to the HDMI-CEC bus, so it can receive the messages that travel between a TV and the devices attached to it, and send messages of its own: power a device on or off, press a button on the TV's remote, select an input, change the volume.","category":"misc","config_entries":[{"key":"pin","type":"pin","label":"Pin","description":"The GPIO pin wired to the CEC line.","required":true,"display_format":null,"pin_mode":"input","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"address","type":"integer","label":"Address","description":"The logical address the device answers to, `0x0` to `0xF`. `0x5` is an audio system, `0x4` a playback device, `0xF` the unregistered address; a device that only listens uses it together with `monitor_mode: true`, as `0xF` alone still acknowledges broadcasts.","required":true,"range":[0,15],"display_format":null},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"monitor_mode","type":"boolean","label":"Monitor Mode","description":"Listen without taking part in the bus: no acknowledge is sent for messages addressed to this device, and `hdmi_cec.send` does nothing. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"promiscuous_mode","type":"boolean","label":"Promiscuous Mode","description":"Also hand messages addressed to other devices to `on_message`. Defaults to `false`: only broadcasts and messages for this device's address are seen.","default_value":false,"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"hdmi_cec","name":"HDMI-CEC Bus","description":"The `hdmi_cec` component connects an ESPHome device to the HDMI-CEC bus, so it can receive the messages that travel between a TV and the devices attached to it, and send messages of its own: power a device on or off, press a button on the TV's remote, select an input, change the volume.","category":"misc","docs_url":"https://esphome.io/components/hdmi_cec/","image_url":"https://esphome.io/images/badges/hdmi-cec.svg","config_entries":[{"key":"pin","type":"pin","label":"Pin","description":"The GPIO pin wired to the CEC line.","required":true,"display_format":null,"pin_mode":"input","help_link":"https://esphome.io/components/hdmi_cec/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"address","type":"integer","label":"Address","description":"The logical address the device answers to, `0x0` to `0xF`. `0x5` is an audio system, `0x4` a playback device, `0xF` the unregistered address; a device that only listens uses it together with `monitor_mode: true`, as `0xF` alone still acknowledges broadcasts.","required":true,"range":[0,15],"display_format":null,"help_link":"https://esphome.io/components/hdmi_cec/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"monitor_mode","type":"boolean","label":"Monitor Mode","description":"Listen without taking part in the bus: no acknowledge is sent for messages addressed to this device, and `hdmi_cec.send` does nothing. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/hdmi_cec/#configuration-variables"},{"key":"promiscuous_mode","type":"boolean","label":"Promiscuous Mode","description":"Also hand messages addressed to other devices to `on_message`. Defaults to `false`: only broadcasts and messages for this device's address are seen.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/hdmi_cec/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/http_request.json b/esphome_device_builder/definitions/components/http_request.json index b4e16c8298..a9b41c7bde 100644 --- a/esphome_device_builder/definitions/components/http_request.json +++ b/esphome_device_builder/definitions/components/http_request.json @@ -1 +1 @@ -{"id":"http_request","name":"HTTP Request","description":"The `http_request` component lets you make HTTP/HTTPS requests. To do so, you need to add it to your device's configuration:","category":"core","docs_url":"https://esphome.io/components/http_request/","image_url":"https://esphome.io/images/connection.svg","config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"buffer_size_rx","type":"integer","label":"Buffer Size RX","description":"Change HTTP receive buffer size. Defaults to `512`.","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp32":512},"supported_platforms":["esp32"]},{"key":"buffer_size_tx","type":"integer","label":"Buffer Size TX","description":"Change HTTP transmit buffer size. Defaults to `512`.","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp32":512},"supported_platforms":["esp32"]},{"key":"ca_certificate_path","type":"string","label":"Ca Certificate Path","description":"Path to a CA certificate bundle. Not required on MacOS (the inbuilt CA bundle is used and SSL enabled by default). On Linux this is required to enable SSL.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","supported_platforms":["esp32","host"]},{"key":"esp8266_disable_ssl_support","type":"boolean","label":"Esp8266 Disable SSL Support","description":"Determines whether to include HTTPS/SSL support in the firmware binary. Excluding the SSL libraries from your build will result in a smaller binary, which may be necessary for memory-constrained devices (512 kB or 1 MB). If you see `Error: ESP does not have enough space to store OTA file` in your device's logs, you may need to enable this option. Defaults to `false`. By setting this option to `true` :","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp8266":false},"supported_platforms":["esp8266"]},{"key":"follow_redirects","type":"boolean","label":"Follow Redirects","description":"Enable following HTTP redirects. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"max_concurrent_requests","type":"integer","label":"Max Concurrent Requests","description":"How many requests from the HTTP request actions run at the same time, from `1` to `4`. Defaults to `1`. Each request holds its own connection, and on ESP32 an HTTPS connection uses about 40 kB of memory.","default_value":"1","range":[1,4],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"redirect_limit","type":"integer","label":"Redirect Limit","description":"Maximum amount of redirects to follow when enabled. Defaults to `3`.","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timeout","type":"time_period","label":"Timeout","description":"Timeout for request. Defaults to `4.5s`. Each action can override it with its own `timeout` option. On ESP32 this applies to each network operation (DNS lookup, connect, TLS handshake, every read and write) rather than to the request as a whole.","default_value":"4.5s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","duration_min_unit":"ms"},{"key":"tls_buffer_size_rx","type":"integer","label":"TLS Buffer Size RX","description":"Change TLS receive buffer size. Should be set to `16384` to fit the TLS record size of modern HTTP servers. This will increase RAM usage significantly and may require removing other components to free up RAM. You can check the max free heap block using the [Debug Component](https://esphome.io/components/debug/). If the server is configured to support the MFL TLS extension then this can be reduced, but most popular servers (Traefik, Caddy, Cloudflare) don't support it and nginx has it disabled by default. Defaults to `512`.","default_value":"512","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp8266":512},"supported_platforms":["esp8266"]},{"key":"tls_buffer_size_tx","type":"integer","label":"TLS Buffer Size TX","description":"Change TLS transmit buffer size. Defaults to `512`.","default_value":"512","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp8266":512},"supported_platforms":["esp8266"]},{"key":"useragent","type":"string","label":"Useragent","description":"User-Agent header for requests. Defaults to ESPHome/ (https://esphome.io) where is the version of ESPHome the device is running. For example: ESPHome/2024.6.0 (https://esphome.io).","default_value":"ESPHome/2026.11.0b4 (https://esphome.io)","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"verify_ssl","type":"boolean","label":"Verify SSL","description":"When set to `true` (default), SSL/TLS certificates will be validated upon connection; if invalid, the connection will be aborted. To accomplish this, ESP-IDF's default ESP x509 certificate bundle is included in the build. This certificate bundle includes the complete list of root certificates from Mozilla's NSS root certificate store. **Supported on ESP32 only; must be explicitly set to false on other platforms.**","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"watchdog_timeout","type":"time_period","label":"Watchdog Timeout","description":"Change the watchdog timeout during connection/data transfer. May be useful on slow connections or connections with high latency. On ESP32 this defaults to three times `timeout` plus one second, and never less than the `watchdog_timeout` set in the [ESP32 platform](https://esphome.io/components/esp32) configuration; requests run on the main loop, so without this the task watchdog could reboot the device while a request waits on a slow server. On RP2040 there is no default. **Do not raise this value unless you are experiencing device reboots due to watchdog timeouts;** doing so may prevent the device from rebooting due to a legitimate problem. **Only available on ESP32 and RP2040**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","supported_platforms":["esp32","rp2"],"duration_min_unit":"ms"}]} +{"id":"http_request","name":"HTTP Request","description":"The `http_request` component lets you make HTTP/HTTPS requests. To do so, you need to add it to your device's configuration:","category":"core","docs_url":"https://esphome.io/components/http_request/","image_url":"https://esphome.io/images/connection.svg","config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"buffer_size_rx","type":"integer","label":"Buffer Size RX","description":"Change HTTP receive buffer size. Defaults to `512`.","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp32":512},"supported_platforms":["esp32"]},{"key":"buffer_size_tx","type":"integer","label":"Buffer Size TX","description":"Change HTTP transmit buffer size. Defaults to `512`.","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp32":512},"supported_platforms":["esp32"]},{"key":"ca_certificate_path","type":"string","label":"Ca Certificate Path","description":"Path to a CA certificate bundle. Not required on MacOS (the inbuilt CA bundle is used and SSL enabled by default). On Linux this is required to enable SSL.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","supported_platforms":["esp32","host"]},{"key":"esp8266_disable_ssl_support","type":"boolean","label":"Esp8266 Disable SSL Support","description":"Determines whether to include HTTPS/SSL support in the firmware binary. Excluding the SSL libraries from your build will result in a smaller binary, which may be necessary for memory-constrained devices (512 kB or 1 MB). If you see `Error: ESP does not have enough space to store OTA file` in your device's logs, you may need to enable this option. Defaults to `false`. By setting this option to `true` :","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp8266":false},"supported_platforms":["esp8266"]},{"key":"follow_redirects","type":"boolean","label":"Follow Redirects","description":"Enable following HTTP redirects. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"max_concurrent_requests","type":"integer","label":"Max Concurrent Requests","description":"How many requests from the HTTP request actions run at the same time, from `1` to `4`. Defaults to `1`. Each request holds its own connection, and on ESP32 an HTTPS connection uses about 40 kB of memory.","default_value":"1","range":[1,4],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"redirect_limit","type":"integer","label":"Redirect Limit","description":"Maximum amount of redirects to follow when enabled. Defaults to `3`.","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timeout","type":"time_period","label":"Timeout","description":"Timeout for request. Defaults to `4.5s`. Each action can override it with its own `timeout` option. On ESP32 this applies to each network operation (DNS lookup, connect, TLS handshake, every read and write) rather than to the request as a whole.","default_value":"4.5s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","duration_min_unit":"ms"},{"key":"tls_buffer_size_rx","type":"integer","label":"TLS Buffer Size RX","description":"Change TLS receive buffer size. Should be set to `16384` to fit the TLS record size of modern HTTP servers. This will increase RAM usage significantly and may require removing other components to free up RAM. You can check the max free heap block using the [Debug Component](https://esphome.io/components/debug/). If the server is configured to support the MFL TLS extension then this can be reduced, but most popular servers (Traefik, Caddy, Cloudflare) don't support it and nginx has it disabled by default. Defaults to `512`.","default_value":"512","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp8266":512},"supported_platforms":["esp8266"]},{"key":"tls_buffer_size_tx","type":"integer","label":"TLS Buffer Size TX","description":"Change TLS transmit buffer size. Defaults to `512`.","default_value":"512","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","platform_defaults":{"esp8266":512},"supported_platforms":["esp8266"]},{"key":"useragent","type":"string","label":"Useragent","description":"User-Agent header for requests. Defaults to ESPHome/ (https://esphome.io) where is the version of ESPHome the device is running. For example: ESPHome/2024.6.0 (https://esphome.io).","default_value":"ESPHome/2026.11.0 (https://esphome.io)","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"verify_ssl","type":"boolean","label":"Verify SSL","description":"When set to `true` (default), SSL/TLS certificates will be validated upon connection; if invalid, the connection will be aborted. To accomplish this, ESP-IDF's default ESP x509 certificate bundle is included in the build. This certificate bundle includes the complete list of root certificates from Mozilla's NSS root certificate store. **Supported on ESP32 only; must be explicitly set to false on other platforms.**","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables"},{"key":"watchdog_timeout","type":"time_period","label":"Watchdog Timeout","description":"Change the watchdog timeout during connection/data transfer. May be useful on slow connections or connections with high latency. On ESP32 this defaults to three times `timeout` plus one second, and never less than the `watchdog_timeout` set in the [ESP32 platform](https://esphome.io/components/esp32) configuration; requests run on the main loop, so without this the task watchdog could reboot the device while a request waits on a slow server. On RP2040 there is no default. **Do not raise this value unless you are experiencing device reboots due to watchdog timeouts;** doing so may prevent the device from rebooting due to a legitimate problem. **Only available on ESP32 and RP2040**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/http_request/#configuration-variables","supported_platforms":["esp32","rp2"],"duration_min_unit":"ms"}]} diff --git a/esphome_device_builder/definitions/components/husb238.json b/esphome_device_builder/definitions/components/husb238.json index eaa1b1e25e..d580ceec5f 100644 --- a/esphome_device_builder/definitions/components/husb238.json +++ b/esphome_device_builder/definitions/components/husb238.json @@ -1 +1 @@ -{"id":"husb238","name":"HUSB238 USB Power Delivery Sink","description":"The Hynetek HUSB238 ([product page](https://en.hynetek.com/2421.html), [datasheet](https://en.hynetek.com/uploadfiles/site/219/news/b038530d-67c0-4ba0-9269-de0e666cb35b.pdf)) is a USB Power Delivery (PD) controller that works as a sink, for power ratings up to 100 W. It is compatible with PD 3.0 and Type-C 1.4, and it also supports Apple Divider 3, BC1.2 SDP, CDP and DCP sources.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the chip, which is `0x08` on every HUSB238. Defaults to `0x08`.","default_value":"8","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the [I²C Bus](https://esphome.io/components/i2c/) if you are using multiple I²C buses.","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the chip status. Defaults to `1s`.","default_value":"1s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"husb238","name":"HUSB238 USB Power Delivery Sink","description":"The Hynetek HUSB238 ([product page](https://en.hynetek.com/2421.html), [datasheet](https://en.hynetek.com/uploadfiles/site/219/news/b038530d-67c0-4ba0-9269-de0e666cb35b.pdf)) is a USB Power Delivery (PD) controller that works as a sink, for power ratings up to 100 W. It is compatible with PD 3.0 and Type-C 1.4, and it also supports Apple Divider 3, BC1.2 SDP, CDP and DCP sources.","category":"misc","docs_url":"https://esphome.io/components/husb238/","image_url":"https://esphome.io/images/husb238.jpg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the chip, which is `0x08` on every HUSB238. Defaults to `0x08`.","default_value":"8","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/husb238/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the [I²C Bus](https://esphome.io/components/i2c/) if you are using multiple I²C buses.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/husb238/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the chip status. Defaults to `1s`.","default_value":"1s","display_format":null,"help_link":"https://esphome.io/components/husb238/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/husb238/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/i2c.json b/esphome_device_builder/definitions/components/i2c.json index bb0c6f7aa5..a06815ee0c 100644 --- a/esphome_device_builder/definitions/components/i2c.json +++ b/esphome_device_builder/definitions/components/i2c.json @@ -1 +1 @@ -{"id":"i2c","name":"I²C Bus","description":"This component sets up the I²C bus for your `esp32`, `esp8266`, `rp2040`, `nrf52`, `bk72xx`, or `host` platform. In order for these components to work correctly, you need to define the I²C bus in your configuration. On ESP32 (both Arduino and ESP-IDF frameworks), internal pullup resistors are enabled by default. On ESP8266, the internal 10kΩ pullup resistors are always enabled. External pullups are still recommended for longer wire runs or multiple devices. You can use multiple devices on one I²C bus as each device is given a unique address for communicating between it and the ESP. You can do this by hopping wires from the two lines (SDA and SCL) from each device board to the next device board or by connecting the wires from each device back to the two I²C pins on the ESP.","category":"bus","docs_url":"https://esphome.io/components/i2c/","image_url":"https://esphome.io/images/i2c.svg","multi_conf":true,"config_entries":[{"key":"scl","type":"pin","label":"SCL","description":"The pin for the clock line of the I²C bus.","default_value":"SCL","display_format":null,"pin_features":["i2c_scl"],"help_link":"https://esphome.io/components/i2c/","platform_defaults":{"esp32":"SCL","esp8266":"SCL","nrf52":"SCL","rp2":"SCL"}},{"key":"sda","type":"pin","label":"SDA","description":"The pin for the data line of the I²C bus.","default_value":"SDA","display_format":null,"pin_features":["i2c_sda"],"help_link":"https://esphome.io/components/i2c/","platform_defaults":{"esp32":"SDA","esp8266":"SDA","nrf52":"SDA","rp2":"SDA"}},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this I²C bus if you need multiple I²C buses.","advanced":true,"help_link":"https://esphome.io/components/i2c/#configuration-variables"},{"key":"device","type":"string","label":"Device","description":"The I²C device path to use (e.g., `/dev/i2c-0`, `/dev/i2c-1`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#host","supported_platforms":["host"]},{"key":"frequency","type":"float_with_unit","label":"Frequency","description":"Set the frequency the I²C bus should operate on. Defaults to `50kHz` (`100kHz` on `bk72xx`). Values are `10kHz`, `50kHz`, `100kHz`, `200kHz`, ... `800kHz`. On `bk72xx` the real clock can be slower, see [below](https://esphome.io/components/i2c/#bk72xx).","default_value":"50kHz","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#configuration-variables","platform_defaults":{"bk72xx":"100kHz","esp32":"50kHz","esp8266":"50kHz","host":"50kHz","nrf52":"100kHz","rp2":"50kHz"},"unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"low_power_mode","type":"boolean","label":"Low Power Mode","description":"Enable the low-power (master only) I²C bus. Only available on ESP32C5, ESP32C6 and ESP32P4. Defaults to `false` unless required.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#esp32-only","supported_platforms":["esp32"]},{"key":"scan","type":"boolean","label":"Scan","description":"If ESPHome should do a search of the I²C address space on startup. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#configuration-variables"},{"key":"scl_pullup_enabled","type":"boolean","label":"SCL Pullup Enabled","description":"Enable the internal pullup resistor for the SCL pin. Defaults to `true`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#esp32-only","platform_defaults":{"esp32":true},"supported_platforms":["esp32"]},{"key":"sda_pullup_enabled","type":"boolean","label":"SDA Pullup Enabled","description":"Enable the internal pullup resistor for the SDA pin. Defaults to `true`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#esp32-only","platform_defaults":{"esp32":true},"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timeout","type":"time_period","label":"Timeout","description":"How long a device may hold the clock line low (clock stretching) before the transfer is aborted. Defaults to `1ms`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/"}]} +{"id":"i2c","name":"I²C Bus","description":"This component sets up the I²C bus for your `esp32`, `esp8266`, `rp2040`, `nrf52`, `bk72xx`, or `host` platform. In order for these components to work correctly, you need to define the I²C bus in your configuration. On ESP32 (both Arduino and ESP-IDF frameworks), internal pullup resistors are enabled by default. On ESP8266, the internal 10kΩ pullup resistors are always enabled. External pullups are still recommended for longer wire runs or multiple devices. You can use multiple devices on one I²C bus as each device is given a unique address for communicating between it and the ESP. You can do this by hopping wires from the two lines (SDA and SCL) from each device board to the next device board or by connecting the wires from each device back to the two I²C pins on the ESP.","category":"bus","docs_url":"https://esphome.io/components/i2c/","image_url":"https://esphome.io/images/i2c.svg","multi_conf":true,"config_entries":[{"key":"scl","type":"pin","label":"SCL","description":"The pin for the clock line of the I²C bus.","default_value":"SCL","display_format":null,"pin_features":["i2c_scl"],"help_link":"https://esphome.io/components/i2c/#bk72xx","platform_defaults":{"esp32":"SCL","esp8266":"SCL","nrf52":"SCL","rp2":"SCL"}},{"key":"sda","type":"pin","label":"SDA","description":"The pin for the data line of the I²C bus.","default_value":"SDA","display_format":null,"pin_features":["i2c_sda"],"help_link":"https://esphome.io/components/i2c/#bk72xx","platform_defaults":{"esp32":"SDA","esp8266":"SDA","nrf52":"SDA","rp2":"SDA"}},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this I²C bus if you need multiple I²C buses.","advanced":true,"help_link":"https://esphome.io/components/i2c/#configuration-variables"},{"key":"device","type":"string","label":"Device","description":"The I²C device path to use (e.g., `/dev/i2c-0`, `/dev/i2c-1`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#host","supported_platforms":["host"]},{"key":"frequency","type":"float_with_unit","label":"Frequency","description":"Set the frequency the I²C bus should operate on. Defaults to `50kHz` (`100kHz` on `bk72xx`). Values are `10kHz`, `50kHz`, `100kHz`, `200kHz`, ... `800kHz`. On `bk72xx` the real clock can be slower, see [below](https://esphome.io/components/i2c/#bk72xx).","default_value":"50kHz","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#configuration-variables","platform_defaults":{"bk72xx":"100kHz","esp32":"50kHz","esp8266":"50kHz","host":"50kHz","nrf52":"100kHz","rp2":"50kHz"},"unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"low_power_mode","type":"boolean","label":"Low Power Mode","description":"Enable the low-power (master only) I²C bus. Only available on ESP32C5, ESP32C6 and ESP32P4. Defaults to `false` unless required.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#esp32-only","supported_platforms":["esp32"]},{"key":"scan","type":"boolean","label":"Scan","description":"If ESPHome should do a search of the I²C address space on startup. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#configuration-variables"},{"key":"scl_pullup_enabled","type":"boolean","label":"SCL Pullup Enabled","description":"Enable the internal pullup resistor for the SCL pin. Defaults to `true`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#esp32-only","platform_defaults":{"esp32":true},"supported_platforms":["esp32"]},{"key":"sda_pullup_enabled","type":"boolean","label":"SDA Pullup Enabled","description":"Enable the internal pullup resistor for the SDA pin. Defaults to `true`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#esp32-only","platform_defaults":{"esp32":true},"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timeout","type":"time_period","label":"Timeout","description":"How long a device may hold the clock line low (clock stretching) before the transfer is aborted. Defaults to `1ms`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/i2c/#bk72xx"}]} diff --git a/esphome_device_builder/definitions/components/ld2410s.json b/esphome_device_builder/definitions/components/ld2410s.json index 7a9fbea811..344df754ed 100644 --- a/esphome_device_builder/definitions/components/ld2410s.json +++ b/esphome_device_builder/definitions/components/ld2410s.json @@ -1 +1 @@ -{"id":"ld2410s","name":"LD2410S Sensor","description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","category":"misc","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"require_tx":true,"require_rx":true,"baud_rate":115200,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/), which is necessary if you have multiple UARTs defined in your configuration.","display_format":null,"references_component":"uart"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"ld2410s","name":"LD2410S Sensor","description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","category":"misc","docs_url":"https://esphome.io/components/sensor/ld2410s/","image_url":"https://esphome.io/images/badges/ld2410s.svg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"require_tx":true,"require_rx":true,"baud_rate":115200,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/), which is necessary if you have multiple UARTs defined in your configuration.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/ld2460.json b/esphome_device_builder/definitions/components/ld2460.json index 886deae154..e766394b72 100644 --- a/esphome_device_builder/definitions/components/ld2460.json +++ b/esphome_device_builder/definitions/components/ld2460.json @@ -1 +1 @@ -{"id":"ld2460","name":"LD2460 Sensor","description":"The `ld2460` component allows you to use the Hi-Link HLK-LD2460 24GHz 2T4R millimeter-wave radar module with ESPHome. The module is made by [Hi-Link](https://www.hlktech.net/) (vendor website).","category":"misc","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"require_tx":true,"require_rx":true,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) to use. Required if multiple UARTs are configured.","display_format":null,"references_component":"uart"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this LD2460 component.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"ld2460","name":"LD2460 Sensor","description":"The `ld2460` component allows you to use the Hi-Link HLK-LD2460 24GHz 2T4R millimeter-wave radar module with ESPHome. The module is made by [Hi-Link](https://www.hlktech.net/) (vendor website).","category":"misc","docs_url":"https://esphome.io/components/sensor/ld2460/","image_url":"https://esphome.io/images/ld2460.jpg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"require_tx":true,"require_rx":true,"parity":"NONE","stop_bits":1}},"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) to use. Required if multiple UARTs are configured.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this LD2460 component.","advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/ld6004.json b/esphome_device_builder/definitions/components/ld6004.json index 4aa6b11b72..5804e53300 100644 --- a/esphome_device_builder/definitions/components/ld6004.json +++ b/esphome_device_builder/definitions/components/ld6004.json @@ -1 +1 @@ -{"id":"ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` component allows you to use the Hi-Link HLK-LD6004 60 GHz 3D presence radar module with ESPHome. It can track up to 3 people and reports per-target position (X/Y/Z), cluster ID, and Doppler index.","category":"misc","dependencies":["uart"],"multi_conf":true,"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) to use. Required if you have multiple UARTs configured.","display_format":null,"references_component":"uart"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` component allows you to use the Hi-Link HLK-LD6004 60 GHz 3D presence radar module with ESPHome. It can track up to 3 people and reports per-target position (X/Y/Z), cluster ID, and Doppler index.","category":"misc","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["uart"],"multi_conf":true,"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) to use. Required if you have multiple UARTs configured.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/light.homeassistant.json b/esphome_device_builder/definitions/components/light.homeassistant.json index e6bf9243a7..5a808b5eef 100644 --- a/esphome_device_builder/definitions/components/light.homeassistant.json +++ b/esphome_device_builder/definitions/components/light.homeassistant.json @@ -1 +1 @@ -{"id":"light.homeassistant","name":"Home Assistant Light","description":"The `homeassistant` light platform creates a light that **imports** the state of a light in Home Assistant and **controls** it through the [native API](https://esphome.io/components/api/). The light can then be used like any other light on the device: in [automations](https://esphome.io/automations/), with the [light actions](https://esphome.io/components/light/#light-automations), on a [display](https://esphome.io/components/display/) or through [LVGL](https://esphome.io/components/lvgl/).","category":"light","image_url":"https://esphome.io/images/home-assistant.svg","dependencies":["api"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the light. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the light attempts to restore state on bootup. Mutually exclusive with `restore_state`. To migrate from `restore_mode` to `restore_state`, replace it with the equivalent configuration below. For the `*_OFF` values this assumes **initial_state** does not set `state: ON`; remove that if it does, since `restore_state` and \"set neither\" honor **initial_state** where `restore_mode` overrode it. `RESTORE_DEFAULT_OFF`: `RESTORE_DEFAULT_ON`: `RESTORE_INVERTED_DEFAULT_OFF`: `RESTORE_INVERTED_DEFAULT_ON`: `RESTORE_AND_OFF`: `RESTORE_AND_ON`: `ALWAYS_OFF`: set neither `restore_mode` nor `restore_state`. `ALWAYS_ON`: set neither `restore_mode` nor `restore_state`, and:","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the light as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the light as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"RESTORE_AND_OFF","value":"RESTORE_AND_OFF","description":"Attempt to restore state but initialize the light as OFF."},{"label":"RESTORE_AND_ON","value":"RESTORE_AND_ON","description":"Attempt to restore state but initialize the light as ON."}],"display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the light in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"default_transition_length","type":"time_period","label":"Default Transition Length","description":"The transition length used when an action does not give one. Defaults to `0s`, unlike other lights: a transition runs on the device and Home Assistant is only sent the state it ends at.","default_value":"0s","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"effects","type":"registry_list","label":"Effects","display_format":null,"registry":"light_effects","multi_value":true,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [this list](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"entity_id","type":"string","label":"Entity ID","description":"The entity ID of the light to import and control from Home Assistant. Required unless the entity is a linked input of the [API wizard](https://esphome.io/components/api/#wizard), which lets the user pick the entity when the device is added.","display_format":null,"advanced":true},{"key":"flash_transition_length","type":"time_period","label":"Flash Transition Length","description":"The transition length to use when flash is called. Defaults to `0s`.","default_value":"0s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"gamma_correct","type":"float","label":"Gamma Correct","description":"Apply a [gamma correction factor](https://en.wikipedia.org/wiki/Gamma_correction) to the light channels. Defaults to `2.8`.","default_value":"2.8","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"gamma_table_id","type":"id","label":"Gamma Table ID","advanced":true},{"key":"initial_state","type":"nested","label":"Initial State","description":"The initial state the light should be set to on bootup, applied before any state is restored via `restore_mode` or `restore_state` (below). If restoring is configured and a previous state is successfully loaded, the loaded (and, for `restore_state`, possibly overridden) values take precedence over **initial_state** for the fields they touch. If neither `restore_mode` nor `restore_state` is set, **initial_state**'s `state` is honored as-is on every boot. If `restore_mode` **is** set, its own cold-boot direction (`OFF` for `RESTORE_DEFAULT_OFF`, `RESTORE_INVERTED_DEFAULT_OFF`, `RESTORE_AND_OFF` and `ALWAYS_OFF`; `ON` for the other four values) always overrides **initial_state**'s `state`. If **color_mode** is not given but color fields such as `red` or `brightness` are, the light uses the first color mode it supports that provides those fields (for example `RGB` for `red`, `green` and `blue`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","description":"The blue channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"brightness","type":"string","label":"Brightness","description":"The primary brightness of the light; applies to all channels (both color and white) of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"cold_white","type":"string","label":"Cold White","description":"The brightness of the cold white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color","type":"string","label":"Color","description":"A [standard CSS color name](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color), for example `red` or `springgreen`, or a hex value in the form `0xRRGGBB`, for example `0x223344`, used instead of **red**, **green** and **blue**. Names are not case-sensitive. Cannot be used together with **red**, **green** or **blue**. This option is not templatable. The light always drives its brightest color channel at full level. For a dark color such as `darkred` or `0x223344`, the **color_brightness** is therefore set to match (about 55% and 27% respectively). Colors with a channel at full level, such as `red`, set **color_brightness** to 100%. If you also set **color_brightness**, your value is used instead, and a warning is logged if the color is a dark one. Color names such as `white` and `gray` are converted to RGB colors only and do not affect the white channel, if present.","options":[{"label":"CSS color name","value":"CSS color name"},{"label":"hex color value","value":"hex color value"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_brightness","type":"string","label":"Color Brightness","description":"The brightness of the color lights. Useful to control brightness of colored and white lights separately for RGBW lights.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_mode","type":"string","label":"Color Mode","description":"For lights that support more than one color mode, the color mode that will be activated. The color mode determines which outputs of the light are active, and which parameters can be used. For example, this can be used to switch between colored and white light. Must be a color mode that is supported by the light. Valid color modes are:","options":[{"label":"ON_OFF","value":"ON_OFF","description":"Only on/off control."},{"label":"BRIGHTNESS","value":"BRIGHTNESS","description":"Only brightness control. Accepts brightness parameter."},{"label":"WHITE","value":"WHITE","description":"Single white channel only. Accepts brightness and white parameters."},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE","description":"Color-temperature controlled white channel. Accepts brightness and color_temperature parameters."},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE","description":"Cold and warm white channels. Accepts brightness, color_temperature, cold_white and warm_white parameters."},{"label":"RGB","value":"RGB","description":"RGB color channels. Accepts brightness, color_brightness, red, green and blue parameters."},{"label":"RGB_WHITE","value":"RGB_WHITE","description":"RGB color channels and a separate white channel. Accepts parameters from RGB and WHITE color modes."},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE","description":"RGB color channels and a separate color-temperature controlled white channel. Accepts parameters from RGB and COLOR_TEMPERATURE color modes."},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE","description":"RGB color channels and two separate cold and warm white channels. Accepts parameters from RGB and COLD_WARM_WHITE color modes."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_temperature","type":"float","label":"Color Temperature","description":"The color temperature (in [mireds](https://en.wikipedia.org/wiki/Mired) or Kelvin) of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"effect","type":"string","label":"Effect","description":"The name of the [effect](https://esphome.io/components/light/#light-effects) to start with, so the light can come up already running an effect without an `on_boot` automation. Must match the name of one of the effects defined on the same light, or `none` for no effect.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"green","type":"string","label":"Green","description":"The green channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"red","type":"string","label":"Red","description":"The red channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"state","type":"string","label":"State","description":"The ON/OFF state for the light.","options":[{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","description":"The brightness of the warm white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"white","type":"string","label":"White","description":"The brightness of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"}]},{"key":"internal","type":"boolean","label":"Internal","default_value":true,"display_format":null,"advanced":true},{"key":"output_id","type":"id","label":"Output ID","advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report_timeout","type":"time_period","label":"Report Timeout","description":"How long Home Assistant may take to report a change made on the device back before the light returns to the state reported last. Raise it for a light Home Assistant only polls, which can take a minute. From `1s` to `255s`. Defaults to `10s`.","default_value":"10s","display_format":null,"advanced":true,"duration_min_unit":"s"},{"key":"restore_state","type":"nested","label":"Restore State","description":"Persist the light's state to flash and restore it on bootup, with optional per-field overrides applied on top of whatever was loaded. Mutually exclusive with `restore_mode`. Accepts a mapping of per-field overrides, or one of two case-insensitive shorthands: `all` or `none`. If nothing has been saved yet (e.g. on the very first boot), restoring has nothing to do, so the light falls back to **initial_state** (or its hardware defaults) instead — none of the fields below take effect until a state has actually been persisted at least once.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"brightness","type":"string","label":"Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"cold_white","type":"string","label":"Cold White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_brightness","type":"string","label":"Color Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_mode","type":"string","label":"Color Mode","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON_OFF","value":"ON_OFF"},{"label":"BRIGHTNESS","value":"BRIGHTNESS"},{"label":"WHITE","value":"WHITE"},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE"},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE"},{"label":"RGB","value":"RGB"},{"label":"RGB_WHITE","value":"RGB_WHITE"},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE"},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE"}],"display_format":null,"advanced":true},{"key":"color_temperature","type":"string","label":"Color Temperature","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"green","type":"string","label":"Green","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"red","type":"string","label":"Red","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"state","type":"string","label":"State","description":"`KEEP` (default, case-insensitive) to restore the saved ON/OFF state as-is, `INVERT` to restore it inverted, `INITIAL` to use **initial_state**'s state instead (OFF if **initial_state** doesn't set one), or an explicit `ON`/`OFF` (or boolean) to always force this value regardless of what was saved.","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INVERT","value":"INVERT"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"white","type":"string","label":"White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true}]},{"key":"resume_effect","type":"boolean","label":"Resume Effect","description":"Remember the effect that was running when the light was turned off, and start it again when the light is next turned on with a plain turn-on. A turn-on that also sets an effect, brightness, color or transition uses those instead. On a light that boots OFF, the effect from **initial_state** counts as the remembered effect. The remembered effect is kept in memory only, so it is lost on reboot. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"transition_state_publish_interval","type":"time_period","label":"Transition State Publish Interval","description":"How often to publish the light's state while a transition or flash is running, so Home Assistant and other clients can follow a long fade. The starting state is published when the call is made, intermediate states at this interval, and the final state once at the end; the `on_state` trigger fires for each of them. Calls made during the fade still start from the fade's target, and `save: true` saves the target. Not available on addressable lights. Minimum is `150ms`; `200ms` to `250ms` works well. When not set, only the target state is published, once, when the call is made.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"id_classes":["homeassistant::HomeassistantLight","light::LightOutput","light::LightState"]} +{"id":"light.homeassistant","name":"Home Assistant Light","description":"The `homeassistant` light platform creates a light that **imports** the state of a light in Home Assistant and **controls** it through the [native API](https://esphome.io/components/api/). The light can then be used like any other light on the device: in [automations](https://esphome.io/automations/), with the [light actions](https://esphome.io/components/light/#light-automations), on a [display](https://esphome.io/components/display/) or through [LVGL](https://esphome.io/components/lvgl/).","category":"light","docs_url":"https://esphome.io/components/light/homeassistant/","image_url":"https://esphome.io/images/home-assistant.svg","dependencies":["api"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the light. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the light attempts to restore state on bootup. Mutually exclusive with `restore_state`. To migrate from `restore_mode` to `restore_state`, replace it with the equivalent configuration below. For the `*_OFF` values this assumes **initial_state** does not set `state: ON`; remove that if it does, since `restore_state` and \"set neither\" honor **initial_state** where `restore_mode` overrode it. `RESTORE_DEFAULT_OFF`: `RESTORE_DEFAULT_ON`: `RESTORE_INVERTED_DEFAULT_OFF`: `RESTORE_INVERTED_DEFAULT_ON`: `RESTORE_AND_OFF`: `RESTORE_AND_ON`: `ALWAYS_OFF`: set neither `restore_mode` nor `restore_state`. `ALWAYS_ON`: set neither `restore_mode` nor `restore_state`, and:","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the light as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the light as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"RESTORE_AND_OFF","value":"RESTORE_AND_OFF","description":"Attempt to restore state but initialize the light as OFF."},{"label":"RESTORE_AND_ON","value":"RESTORE_AND_ON","description":"Attempt to restore state but initialize the light as ON."}],"display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the light in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"default_transition_length","type":"time_period","label":"Default Transition Length","description":"The transition length used when an action does not give one. Defaults to `0s`, unlike other lights: a transition runs on the device and Home Assistant is only sent the state it ends at.","default_value":"0s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/homeassistant/#configuration-variables","duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"effects","type":"registry_list","label":"Effects","display_format":null,"registry":"light_effects","multi_value":true,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [this list](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"entity_id","type":"string","label":"Entity ID","description":"The entity ID of the light to import and control from Home Assistant. Required unless the entity is a linked input of the [API wizard](https://esphome.io/components/api/#wizard), which lets the user pick the entity when the device is added.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/homeassistant/#configuration-variables"},{"key":"flash_transition_length","type":"time_period","label":"Flash Transition Length","description":"The transition length to use when flash is called. Defaults to `0s`.","default_value":"0s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"gamma_correct","type":"float","label":"Gamma Correct","description":"Apply a [gamma correction factor](https://en.wikipedia.org/wiki/Gamma_correction) to the light channels. Defaults to `2.8`.","default_value":"2.8","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"gamma_table_id","type":"id","label":"Gamma Table ID","advanced":true},{"key":"initial_state","type":"nested","label":"Initial State","description":"The initial state the light should be set to on bootup, applied before any state is restored via `restore_mode` or `restore_state` (below). If restoring is configured and a previous state is successfully loaded, the loaded (and, for `restore_state`, possibly overridden) values take precedence over **initial_state** for the fields they touch. If neither `restore_mode` nor `restore_state` is set, **initial_state**'s `state` is honored as-is on every boot. If `restore_mode` **is** set, its own cold-boot direction (`OFF` for `RESTORE_DEFAULT_OFF`, `RESTORE_INVERTED_DEFAULT_OFF`, `RESTORE_AND_OFF` and `ALWAYS_OFF`; `ON` for the other four values) always overrides **initial_state**'s `state`. If **color_mode** is not given but color fields such as `red` or `brightness` are, the light uses the first color mode it supports that provides those fields (for example `RGB` for `red`, `green` and `blue`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","description":"The blue channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"brightness","type":"string","label":"Brightness","description":"The primary brightness of the light; applies to all channels (both color and white) of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"cold_white","type":"string","label":"Cold White","description":"The brightness of the cold white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color","type":"string","label":"Color","description":"A [standard CSS color name](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color), for example `red` or `springgreen`, or a hex value in the form `0xRRGGBB`, for example `0x223344`, used instead of **red**, **green** and **blue**. Names are not case-sensitive. Cannot be used together with **red**, **green** or **blue**. This option is not templatable. The light always drives its brightest color channel at full level. For a dark color such as `darkred` or `0x223344`, the **color_brightness** is therefore set to match (about 55% and 27% respectively). Colors with a channel at full level, such as `red`, set **color_brightness** to 100%. If you also set **color_brightness**, your value is used instead, and a warning is logged if the color is a dark one. Color names such as `white` and `gray` are converted to RGB colors only and do not affect the white channel, if present.","options":[{"label":"CSS color name","value":"CSS color name"},{"label":"hex color value","value":"hex color value"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_brightness","type":"string","label":"Color Brightness","description":"The brightness of the color lights. Useful to control brightness of colored and white lights separately for RGBW lights.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_mode","type":"string","label":"Color Mode","description":"For lights that support more than one color mode, the color mode that will be activated. The color mode determines which outputs of the light are active, and which parameters can be used. For example, this can be used to switch between colored and white light. Must be a color mode that is supported by the light. Valid color modes are:","options":[{"label":"ON_OFF","value":"ON_OFF","description":"Only on/off control."},{"label":"BRIGHTNESS","value":"BRIGHTNESS","description":"Only brightness control. Accepts brightness parameter."},{"label":"WHITE","value":"WHITE","description":"Single white channel only. Accepts brightness and white parameters."},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE","description":"Color-temperature controlled white channel. Accepts brightness and color_temperature parameters."},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE","description":"Cold and warm white channels. Accepts brightness, color_temperature, cold_white and warm_white parameters."},{"label":"RGB","value":"RGB","description":"RGB color channels. Accepts brightness, color_brightness, red, green and blue parameters."},{"label":"RGB_WHITE","value":"RGB_WHITE","description":"RGB color channels and a separate white channel. Accepts parameters from RGB and WHITE color modes."},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE","description":"RGB color channels and a separate color-temperature controlled white channel. Accepts parameters from RGB and COLOR_TEMPERATURE color modes."},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE","description":"RGB color channels and two separate cold and warm white channels. Accepts parameters from RGB and COLD_WARM_WHITE color modes."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_temperature","type":"float","label":"Color Temperature","description":"The color temperature (in [mireds](https://en.wikipedia.org/wiki/Mired) or Kelvin) of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"effect","type":"string","label":"Effect","description":"The name of the [effect](https://esphome.io/components/light/#light-effects) to start with, so the light can come up already running an effect without an `on_boot` automation. Must match the name of one of the effects defined on the same light, or `none` for no effect.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"green","type":"string","label":"Green","description":"The green channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"red","type":"string","label":"Red","description":"The red channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"state","type":"string","label":"State","description":"The ON/OFF state for the light.","options":[{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","description":"The brightness of the warm white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"white","type":"string","label":"White","description":"The brightness of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"}]},{"key":"internal","type":"boolean","label":"Internal","default_value":true,"display_format":null,"advanced":true},{"key":"output_id","type":"id","label":"Output ID","advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report_timeout","type":"time_period","label":"Report Timeout","description":"How long Home Assistant may take to report a change made on the device back before the light returns to the state reported last. Raise it for a light Home Assistant only polls, which can take a minute. From `1s` to `255s`. Defaults to `10s`.","default_value":"10s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/homeassistant/#configuration-variables","duration_min_unit":"s"},{"key":"restore_state","type":"nested","label":"Restore State","description":"Persist the light's state to flash and restore it on bootup, with optional per-field overrides applied on top of whatever was loaded. Mutually exclusive with `restore_mode`. Accepts a mapping of per-field overrides, or one of two case-insensitive shorthands: `all` or `none`. If nothing has been saved yet (e.g. on the very first boot), restoring has nothing to do, so the light falls back to **initial_state** (or its hardware defaults) instead — none of the fields below take effect until a state has actually been persisted at least once.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"brightness","type":"string","label":"Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"cold_white","type":"string","label":"Cold White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_brightness","type":"string","label":"Color Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_mode","type":"string","label":"Color Mode","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON_OFF","value":"ON_OFF"},{"label":"BRIGHTNESS","value":"BRIGHTNESS"},{"label":"WHITE","value":"WHITE"},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE"},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE"},{"label":"RGB","value":"RGB"},{"label":"RGB_WHITE","value":"RGB_WHITE"},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE"},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE"}],"display_format":null,"advanced":true},{"key":"color_temperature","type":"string","label":"Color Temperature","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"green","type":"string","label":"Green","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"red","type":"string","label":"Red","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"state","type":"string","label":"State","description":"`KEEP` (default, case-insensitive) to restore the saved ON/OFF state as-is, `INVERT` to restore it inverted, `INITIAL` to use **initial_state**'s state instead (OFF if **initial_state** doesn't set one), or an explicit `ON`/`OFF` (or boolean) to always force this value regardless of what was saved.","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INVERT","value":"INVERT"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"white","type":"string","label":"White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true}]},{"key":"resume_effect","type":"boolean","label":"Resume Effect","description":"Remember the effect that was running when the light was turned off, and start it again when the light is next turned on with a plain turn-on. A turn-on that also sets an effect, brightness, color or transition uses those instead. On a light that boots OFF, the effect from **initial_state** counts as the remembered effect. The remembered effect is kept in memory only, so it is lost on reboot. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"transition_state_publish_interval","type":"time_period","label":"Transition State Publish Interval","description":"How often to publish the light's state while a transition or flash is running, so Home Assistant and other clients can follow a long fade. The starting state is published when the call is made, intermediate states at this interval, and the final state once at the end; the `on_state` trigger fires for each of them. Calls made during the fade still start from the fade's target, and `save: true` saves the target. Not available on addressable lights. Minimum is `150ms`; `200ms` to `250ms` works well. When not set, only the target state is published, once, when the call is made.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"id_classes":["homeassistant::HomeassistantLight","light::LightOutput","light::LightState"]} diff --git a/esphome_device_builder/definitions/components/light.i2s_clockless_led_strip.json b/esphome_device_builder/definitions/components/light.i2s_clockless_led_strip.json index f0506445c9..f8c1b3b30e 100644 --- a/esphome_device_builder/definitions/components/light.i2s_clockless_led_strip.json +++ b/esphome_device_builder/definitions/components/light.i2s_clockless_led_strip.json @@ -1 +1 @@ -{"id":"light.i2s_clockless_led_strip","name":"I2S Clockless LED Strip","description":"The `i2s_clockless_led_strip` light platform drives a clockless addressable LED strip with the I2S peripheral and DMA. It works with the WS2811 / WS2812B / SK6812 family of devices with RGB or RGBW pixels.","category":"light","dependencies":["esp32"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the light. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"pin","type":"pin","label":"Pin","description":"The pin for the data line of the light.","required":true,"display_format":null},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the light attempts to restore state on bootup. Mutually exclusive with `restore_state`. To migrate from `restore_mode` to `restore_state`, replace it with the equivalent configuration below. For the `*_OFF` values this assumes **initial_state** does not set `state: ON`; remove that if it does, since `restore_state` and \"set neither\" honor **initial_state** where `restore_mode` overrode it. `RESTORE_DEFAULT_OFF`: `RESTORE_DEFAULT_ON`: `RESTORE_INVERTED_DEFAULT_OFF`: `RESTORE_INVERTED_DEFAULT_ON`: `RESTORE_AND_OFF`: `RESTORE_AND_ON`: `ALWAYS_OFF`: set neither `restore_mode` nor `restore_state`. `ALWAYS_ON`: set neither `restore_mode` nor `restore_state`, and:","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the light as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the light as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"RESTORE_AND_OFF","value":"RESTORE_AND_OFF","description":"Attempt to restore state but initialize the light as OFF."},{"label":"RESTORE_AND_ON","value":"RESTORE_AND_ON","description":"Attempt to restore state but initialize the light as ON."}],"display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"channel_colors","type":"string","label":"Channel Colors","description":"The order in which the strip expects its color channels. List each of `R`, `G` and `B` exactly once, optionally with a single `W` in any position; for example `GRB`, `BGR`, `GRBW`, `WRGB` or `RWGB`. The value is case-insensitive. Including a `W` makes this a four channel RGBW strip.","required":true,"display_format":null},{"key":"num_leds","type":"integer","label":"Num Leds","description":"The number of LEDs in the strip.","required":true,"display_format":null},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [Power Supply](https://esphome.io/components/power_supply/) to connect to this light. When the light is turned on, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the light in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"color_correct","type":"string","label":"Color Correct","description":"Apply a color correction to each color channel. This defines the maximum brightness of each channel. For example `[100%, 50%, 100%]` would set the green channel to be at most at 50% brightness.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"default_transition_length","type":"time_period","label":"Default Transition Length","description":"The default transition length to use when no transition length is set in the light call. Defaults to `1s`.","default_value":"1s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"effects","type":"registry_list","label":"Effects","description":"A list of [light effects](https://esphome.io/components/light/#light-effects) to use for this light.","display_format":null,"registry":"light_effects","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [this list](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"flash_transition_length","type":"time_period","label":"Flash Transition Length","description":"The transition length to use when flash is called. Defaults to `0s`.","default_value":"0s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"gamma_correct","type":"float","label":"Gamma Correct","description":"Apply a [gamma correction factor](https://en.wikipedia.org/wiki/Gamma_correction) to the light channels. Defaults to `2.8`.","default_value":"2.8","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"gamma_table_id","type":"id","label":"Gamma Table ID","advanced":true},{"key":"initial_state","type":"nested","label":"Initial State","description":"The initial state the light should be set to on bootup, applied before any state is restored via `restore_mode` or `restore_state` (below). If restoring is configured and a previous state is successfully loaded, the loaded (and, for `restore_state`, possibly overridden) values take precedence over **initial_state** for the fields they touch. If neither `restore_mode` nor `restore_state` is set, **initial_state**'s `state` is honored as-is on every boot. If `restore_mode` **is** set, its own cold-boot direction (`OFF` for `RESTORE_DEFAULT_OFF`, `RESTORE_INVERTED_DEFAULT_OFF`, `RESTORE_AND_OFF` and `ALWAYS_OFF`; `ON` for the other four values) always overrides **initial_state**'s `state`. If **color_mode** is not given but color fields such as `red` or `brightness` are, the light uses the first color mode it supports that provides those fields (for example `RGB` for `red`, `green` and `blue`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","description":"The blue channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"brightness","type":"string","label":"Brightness","description":"The primary brightness of the light; applies to all channels (both color and white) of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"cold_white","type":"string","label":"Cold White","description":"The brightness of the cold white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color","type":"string","label":"Color","description":"A [standard CSS color name](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color), for example `red` or `springgreen`, or a hex value in the form `0xRRGGBB`, for example `0x223344`, used instead of **red**, **green** and **blue**. Names are not case-sensitive. Cannot be used together with **red**, **green** or **blue**. This option is not templatable. The light always drives its brightest color channel at full level. For a dark color such as `darkred` or `0x223344`, the **color_brightness** is therefore set to match (about 55% and 27% respectively). Colors with a channel at full level, such as `red`, set **color_brightness** to 100%. If you also set **color_brightness**, your value is used instead, and a warning is logged if the color is a dark one. Color names such as `white` and `gray` are converted to RGB colors only and do not affect the white channel, if present.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_brightness","type":"string","label":"Color Brightness","description":"The brightness of the color lights. Useful to control brightness of colored and white lights separately for RGBW lights.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_mode","type":"string","label":"Color Mode","description":"For lights that support more than one color mode, the color mode that will be activated. The color mode determines which outputs of the light are active, and which parameters can be used. For example, this can be used to switch between colored and white light. Must be a color mode that is supported by the light. Valid color modes are:","options":[{"label":"ON_OFF","value":"ON_OFF","description":"Only on/off control."},{"label":"BRIGHTNESS","value":"BRIGHTNESS","description":"Only brightness control. Accepts brightness parameter."},{"label":"WHITE","value":"WHITE","description":"Single white channel only. Accepts brightness and white parameters."},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE","description":"Color-temperature controlled white channel. Accepts brightness and color_temperature parameters."},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE","description":"Cold and warm white channels. Accepts brightness, color_temperature, cold_white and warm_white parameters."},{"label":"RGB","value":"RGB","description":"RGB color channels. Accepts brightness, color_brightness, red, green and blue parameters."},{"label":"RGB_WHITE","value":"RGB_WHITE","description":"RGB color channels and a separate white channel. Accepts parameters from RGB and WHITE color modes."},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE","description":"RGB color channels and a separate color-temperature controlled white channel. Accepts parameters from RGB and COLOR_TEMPERATURE color modes."},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE","description":"RGB color channels and two separate cold and warm white channels. Accepts parameters from RGB and COLD_WARM_WHITE color modes."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_temperature","type":"float_with_unit","label":"Color Temperature","description":"The color temperature (in [mireds](https://en.wikipedia.org/wiki/Mired) or Kelvin) of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state","unit_options":["mireds","K"]},{"key":"effect","type":"string","label":"Effect","description":"The name of the [effect](https://esphome.io/components/light/#light-effects) to start with, so the light can come up already running an effect without an `on_boot` automation. Must match the name of one of the effects defined on the same light, or `none` for no effect.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"green","type":"string","label":"Green","description":"The green channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"red","type":"string","label":"Red","description":"The red channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"state","type":"string","label":"State","description":"The ON/OFF state for the light.","options":[{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","description":"The brightness of the warm white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"white","type":"string","label":"White","description":"The brightness of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"}]},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"output_id","type":"id","label":"Output ID","advanced":true},{"key":"power_estimation","type":"nested","label":"Power Estimation","description":"Estimate the strip's current draw and, with `max_current_ma`, keep it within a budget. It applies to every addressable platform, for example `esp32_rmt_led_strip`, `neopixelbus` and `fastled_clockless`, and belongs on the strip itself, not on a [partition](https://esphome.io/components/light/partition/): the strip's limit covers every partition drawn on it. See [Addressable Light Power Estimation](https://esphome.io/components/light/#addressable-light-power-estimation) for details.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"idle_ma_per_led","type":"float","label":"Idle Ma Per LED","description":"Current drawn by a single LED on top of its channels, whatever they show, in mA. Defaults to `1.0`.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_blue","type":"float","label":"Ma Per LED Blue","description":"Current drawn by a single LED at full blue brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_green","type":"float","label":"Ma Per LED Green","description":"Current drawn by a single LED at full green brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_red","type":"float","label":"Ma Per LED Red","description":"Current drawn by a single LED at full red brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_white","type":"float","label":"Ma Per LED White","description":"Current drawn by a single LED at full white brightness, in mA (only relevant for RGBW strips). Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"max_current_ma","type":"float","label":"Max Current Ma","description":"Maximum total current draw for the whole strip, in mA. When the estimated draw exceeds this value, all pixel values are scaled down uniformly so the strip stays within the budget. The scaling is applied every frame and covers solid colors, transitions and effects. Omit it to estimate without limiting.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"}]},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"restore_state","type":"nested","label":"Restore State","description":"Persist the light's state to flash and restore it on bootup, with optional per-field overrides applied on top of whatever was loaded. Mutually exclusive with `restore_mode`. Accepts a mapping of per-field overrides, or one of two case-insensitive shorthands: `all` or `none`. If nothing has been saved yet (e.g. on the very first boot), restoring has nothing to do, so the light falls back to **initial_state** (or its hardware defaults) instead — none of the fields below take effect until a state has actually been persisted at least once.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"brightness","type":"string","label":"Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"cold_white","type":"string","label":"Cold White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_brightness","type":"string","label":"Color Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_mode","type":"string","label":"Color Mode","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON_OFF","value":"ON_OFF"},{"label":"BRIGHTNESS","value":"BRIGHTNESS"},{"label":"WHITE","value":"WHITE"},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE"},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE"},{"label":"RGB","value":"RGB"},{"label":"RGB_WHITE","value":"RGB_WHITE"},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE"},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE"}],"display_format":null,"advanced":true},{"key":"color_temperature","type":"string","label":"Color Temperature","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"green","type":"string","label":"Green","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"red","type":"string","label":"Red","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"state","type":"string","label":"State","description":"`KEEP` (default, case-insensitive) to restore the saved ON/OFF state as-is, `INVERT` to restore it inverted, `INITIAL` to use **initial_state**'s state instead (OFF if **initial_state** doesn't set one), or an explicit `ON`/`OFF` (or boolean) to always force this value regardless of what was saved.","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INVERT","value":"INVERT"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"white","type":"string","label":"White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true}]},{"key":"resume_effect","type":"boolean","label":"Resume Effect","description":"Remember the effect that was running when the light was turned off, and start it again when the light is next turned on with a plain turn-on. A turn-on that also sets an effect, brightness, color or transition uses those instead. On a light that boots OFF, the effect from **initial_state** counts as the remembered effect. The remembered effect is kept in memory only, so it is lost on reboot. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"transition_state_publish_interval","type":"time_period","label":"Transition State Publish Interval","description":"How often to publish the light's state while a transition or flash is running, so Home Assistant and other clients can follow a long fade. The starting state is published when the call is made, intermediate states at this interval, and the final state once at the end; the `on_state` trigger fires for each of them. Calls made during the fade still start from the fade's target, and `save: true` saves the target. Not available on addressable lights. Minimum is `150ms`; `200ms` to `250ms` works well. When not set, only the target state is published, once, when the call is made.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"light.i2s_clockless_led_strip","name":"I2S Clockless LED Strip","description":"The `i2s_clockless_led_strip` light platform drives a clockless addressable LED strip with the I2S peripheral and DMA. It works with the WS2811 / WS2812B / SK6812 family of devices with RGB or RGBW pixels.","category":"light","docs_url":"https://esphome.io/components/light/i2s_clockless_led_strip/","image_url":"https://esphome.io/images/color_lens.svg","dependencies":["esp32"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the light. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"pin","type":"pin","label":"Pin","description":"The pin for the data line of the light.","required":true,"display_format":null,"help_link":"https://esphome.io/components/light/i2s_clockless_led_strip/#configuration-variables"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the light attempts to restore state on bootup. Mutually exclusive with `restore_state`. To migrate from `restore_mode` to `restore_state`, replace it with the equivalent configuration below. For the `*_OFF` values this assumes **initial_state** does not set `state: ON`; remove that if it does, since `restore_state` and \"set neither\" honor **initial_state** where `restore_mode` overrode it. `RESTORE_DEFAULT_OFF`: `RESTORE_DEFAULT_ON`: `RESTORE_INVERTED_DEFAULT_OFF`: `RESTORE_INVERTED_DEFAULT_ON`: `RESTORE_AND_OFF`: `RESTORE_AND_ON`: `ALWAYS_OFF`: set neither `restore_mode` nor `restore_state`. `ALWAYS_ON`: set neither `restore_mode` nor `restore_state`, and:","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the light as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the light as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"RESTORE_AND_OFF","value":"RESTORE_AND_OFF","description":"Attempt to restore state but initialize the light as OFF."},{"label":"RESTORE_AND_ON","value":"RESTORE_AND_ON","description":"Attempt to restore state but initialize the light as ON."}],"display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"channel_colors","type":"string","label":"Channel Colors","description":"The order in which the strip expects its color channels. List each of `R`, `G` and `B` exactly once, optionally with a single `W` in any position; for example `GRB`, `BGR`, `GRBW`, `WRGB` or `RWGB`. The value is case-insensitive. Including a `W` makes this a four channel RGBW strip.","required":true,"display_format":null,"help_link":"https://esphome.io/components/light/i2s_clockless_led_strip/#configuration-variables"},{"key":"num_leds","type":"integer","label":"Num Leds","description":"The number of LEDs in the strip.","required":true,"display_format":null,"help_link":"https://esphome.io/components/light/i2s_clockless_led_strip/#configuration-variables"},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [Power Supply](https://esphome.io/components/power_supply/) to connect to this light. When the light is turned on, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the light in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"color_correct","type":"string","label":"Color Correct","description":"Apply a color correction to each color channel. This defines the maximum brightness of each channel. For example `[100%, 50%, 100%]` would set the green channel to be at most at 50% brightness.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"default_transition_length","type":"time_period","label":"Default Transition Length","description":"The default transition length to use when no transition length is set in the light call. Defaults to `1s`.","default_value":"1s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"effects","type":"registry_list","label":"Effects","description":"A list of [light effects](https://esphome.io/components/light/#light-effects) to use for this light.","display_format":null,"registry":"light_effects","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [this list](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"flash_transition_length","type":"time_period","label":"Flash Transition Length","description":"The transition length to use when flash is called. Defaults to `0s`.","default_value":"0s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"gamma_correct","type":"float","label":"Gamma Correct","description":"Apply a [gamma correction factor](https://en.wikipedia.org/wiki/Gamma_correction) to the light channels. Defaults to `2.8`.","default_value":"2.8","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"gamma_table_id","type":"id","label":"Gamma Table ID","advanced":true},{"key":"initial_state","type":"nested","label":"Initial State","description":"The initial state the light should be set to on bootup, applied before any state is restored via `restore_mode` or `restore_state` (below). If restoring is configured and a previous state is successfully loaded, the loaded (and, for `restore_state`, possibly overridden) values take precedence over **initial_state** for the fields they touch. If neither `restore_mode` nor `restore_state` is set, **initial_state**'s `state` is honored as-is on every boot. If `restore_mode` **is** set, its own cold-boot direction (`OFF` for `RESTORE_DEFAULT_OFF`, `RESTORE_INVERTED_DEFAULT_OFF`, `RESTORE_AND_OFF` and `ALWAYS_OFF`; `ON` for the other four values) always overrides **initial_state**'s `state`. If **color_mode** is not given but color fields such as `red` or `brightness` are, the light uses the first color mode it supports that provides those fields (for example `RGB` for `red`, `green` and `blue`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","description":"The blue channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"brightness","type":"string","label":"Brightness","description":"The primary brightness of the light; applies to all channels (both color and white) of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"cold_white","type":"string","label":"Cold White","description":"The brightness of the cold white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color","type":"string","label":"Color","description":"A [standard CSS color name](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color), for example `red` or `springgreen`, or a hex value in the form `0xRRGGBB`, for example `0x223344`, used instead of **red**, **green** and **blue**. Names are not case-sensitive. Cannot be used together with **red**, **green** or **blue**. This option is not templatable. The light always drives its brightest color channel at full level. For a dark color such as `darkred` or `0x223344`, the **color_brightness** is therefore set to match (about 55% and 27% respectively). Colors with a channel at full level, such as `red`, set **color_brightness** to 100%. If you also set **color_brightness**, your value is used instead, and a warning is logged if the color is a dark one. Color names such as `white` and `gray` are converted to RGB colors only and do not affect the white channel, if present.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_brightness","type":"string","label":"Color Brightness","description":"The brightness of the color lights. Useful to control brightness of colored and white lights separately for RGBW lights.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_mode","type":"string","label":"Color Mode","description":"For lights that support more than one color mode, the color mode that will be activated. The color mode determines which outputs of the light are active, and which parameters can be used. For example, this can be used to switch between colored and white light. Must be a color mode that is supported by the light. Valid color modes are:","options":[{"label":"ON_OFF","value":"ON_OFF","description":"Only on/off control."},{"label":"BRIGHTNESS","value":"BRIGHTNESS","description":"Only brightness control. Accepts brightness parameter."},{"label":"WHITE","value":"WHITE","description":"Single white channel only. Accepts brightness and white parameters."},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE","description":"Color-temperature controlled white channel. Accepts brightness and color_temperature parameters."},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE","description":"Cold and warm white channels. Accepts brightness, color_temperature, cold_white and warm_white parameters."},{"label":"RGB","value":"RGB","description":"RGB color channels. Accepts brightness, color_brightness, red, green and blue parameters."},{"label":"RGB_WHITE","value":"RGB_WHITE","description":"RGB color channels and a separate white channel. Accepts parameters from RGB and WHITE color modes."},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE","description":"RGB color channels and a separate color-temperature controlled white channel. Accepts parameters from RGB and COLOR_TEMPERATURE color modes."},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE","description":"RGB color channels and two separate cold and warm white channels. Accepts parameters from RGB and COLD_WARM_WHITE color modes."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_temperature","type":"float_with_unit","label":"Color Temperature","description":"The color temperature (in [mireds](https://en.wikipedia.org/wiki/Mired) or Kelvin) of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state","unit_options":["mireds","K"]},{"key":"effect","type":"string","label":"Effect","description":"The name of the [effect](https://esphome.io/components/light/#light-effects) to start with, so the light can come up already running an effect without an `on_boot` automation. Must match the name of one of the effects defined on the same light, or `none` for no effect.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"green","type":"string","label":"Green","description":"The green channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"red","type":"string","label":"Red","description":"The red channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"state","type":"string","label":"State","description":"The ON/OFF state for the light.","options":[{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","description":"The brightness of the warm white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"white","type":"string","label":"White","description":"The brightness of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"}]},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"output_id","type":"id","label":"Output ID","advanced":true},{"key":"power_estimation","type":"nested","label":"Power Estimation","description":"Estimate the strip's current draw and, with `max_current_ma`, keep it within a budget. It applies to every addressable platform, for example `esp32_rmt_led_strip`, `neopixelbus` and `fastled_clockless`, and belongs on the strip itself, not on a [partition](https://esphome.io/components/light/partition/): the strip's limit covers every partition drawn on it. See [Addressable Light Power Estimation](https://esphome.io/components/light/#addressable-light-power-estimation) for details.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"idle_ma_per_led","type":"float","label":"Idle Ma Per LED","description":"Current drawn by a single LED on top of its channels, whatever they show, in mA. Defaults to `1.0`.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_blue","type":"float","label":"Ma Per LED Blue","description":"Current drawn by a single LED at full blue brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_green","type":"float","label":"Ma Per LED Green","description":"Current drawn by a single LED at full green brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_red","type":"float","label":"Ma Per LED Red","description":"Current drawn by a single LED at full red brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_white","type":"float","label":"Ma Per LED White","description":"Current drawn by a single LED at full white brightness, in mA (only relevant for RGBW strips). Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"max_current_ma","type":"float","label":"Max Current Ma","description":"Maximum total current draw for the whole strip, in mA. When the estimated draw exceeds this value, all pixel values are scaled down uniformly so the strip stays within the budget. The scaling is applied every frame and covers solid colors, transitions and effects. Omit it to estimate without limiting.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"}]},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"restore_state","type":"nested","label":"Restore State","description":"Persist the light's state to flash and restore it on bootup, with optional per-field overrides applied on top of whatever was loaded. Mutually exclusive with `restore_mode`. Accepts a mapping of per-field overrides, or one of two case-insensitive shorthands: `all` or `none`. If nothing has been saved yet (e.g. on the very first boot), restoring has nothing to do, so the light falls back to **initial_state** (or its hardware defaults) instead — none of the fields below take effect until a state has actually been persisted at least once.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"brightness","type":"string","label":"Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"cold_white","type":"string","label":"Cold White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_brightness","type":"string","label":"Color Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_mode","type":"string","label":"Color Mode","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON_OFF","value":"ON_OFF"},{"label":"BRIGHTNESS","value":"BRIGHTNESS"},{"label":"WHITE","value":"WHITE"},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE"},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE"},{"label":"RGB","value":"RGB"},{"label":"RGB_WHITE","value":"RGB_WHITE"},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE"},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE"}],"display_format":null,"advanced":true},{"key":"color_temperature","type":"string","label":"Color Temperature","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"green","type":"string","label":"Green","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"red","type":"string","label":"Red","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"state","type":"string","label":"State","description":"`KEEP` (default, case-insensitive) to restore the saved ON/OFF state as-is, `INVERT` to restore it inverted, `INITIAL` to use **initial_state**'s state instead (OFF if **initial_state** doesn't set one), or an explicit `ON`/`OFF` (or boolean) to always force this value regardless of what was saved.","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INVERT","value":"INVERT"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"white","type":"string","label":"White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true}]},{"key":"resume_effect","type":"boolean","label":"Resume Effect","description":"Remember the effect that was running when the light was turned off, and start it again when the light is next turned on with a plain turn-on. A turn-on that also sets an effect, brightness, color or transition uses those instead. On a light that boots OFF, the effect from **initial_state** counts as the remembered effect. The remembered effect is kept in memory only, so it is lost on reboot. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"transition_state_publish_interval","type":"time_period","label":"Transition State Publish Interval","description":"How often to publish the light's state while a transition or flash is running, so Home Assistant and other clients can follow a long fade. The starting state is published when the call is made, intermediate states at this interval, and the final state once at the end; the `on_state` trigger fires for each of them. Calls made during the fade still start from the fade's target, and `save: true` saves the target. Not available on addressable lights. Minimum is `150ms`; `200ms` to `250ms` works well. When not set, only the target state is published, once, when the call is made.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/light.ln882x_spi_led_strip.json b/esphome_device_builder/definitions/components/light.ln882x_spi_led_strip.json index 55b6792795..ef157341a6 100644 --- a/esphome_device_builder/definitions/components/light.ln882x_spi_led_strip.json +++ b/esphome_device_builder/definitions/components/light.ln882x_spi_led_strip.json @@ -1 +1 @@ -{"id":"light.ln882x_spi_led_strip","name":"LN882x SPI LED Strip","description":"This is a component using the LN882x SPI DMA interface to drive addressable LED strips. The LED data is sent on the SPI0 MOSI line, which can be routed to any GPIO pin of the chip. It requires the `ln882x` platform of [LibreTiny](https://esphome.io/components/libretiny/).","category":"light","dependencies":["ln882x"],"multi_conf":true,"supported_platforms":["ln882x"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the light. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"pin","type":"pin","label":"Pin","description":"The pin for the data line of the light. Any GPIO pin can be used, but avoid `PA2` and `PA3` (the logger UART) and `PA9` (the boot strap pin), see the [LibreTiny GPIO notes](https://esphome.io/components/libretiny/#gpio-pin-numbering).","required":true,"display_format":null},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the light attempts to restore state on bootup. Mutually exclusive with `restore_state`. To migrate from `restore_mode` to `restore_state`, replace it with the equivalent configuration below. For the `*_OFF` values this assumes **initial_state** does not set `state: ON`; remove that if it does, since `restore_state` and \"set neither\" honor **initial_state** where `restore_mode` overrode it. `RESTORE_DEFAULT_OFF`: `RESTORE_DEFAULT_ON`: `RESTORE_INVERTED_DEFAULT_OFF`: `RESTORE_INVERTED_DEFAULT_ON`: `RESTORE_AND_OFF`: `RESTORE_AND_ON`: `ALWAYS_OFF`: set neither `restore_mode` nor `restore_state`. `ALWAYS_ON`: set neither `restore_mode` nor `restore_state`, and:","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the light as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the light as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"RESTORE_AND_OFF","value":"RESTORE_AND_OFF","description":"Attempt to restore state but initialize the light as OFF."},{"label":"RESTORE_AND_ON","value":"RESTORE_AND_ON","description":"Attempt to restore state but initialize the light as ON."}],"display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"channel_colors","type":"string","label":"Channel Colors","description":"The order in which the strip expects its color channels. List each of `R`, `G` and `B` exactly once, optionally with a single `W` in any position; for example `GRB`, `BGR`, `GRBW`, `WRGB` or `RWGB`. The value is case-insensitive. Including a `W` makes this a four channel RGBW strip.","required":true,"display_format":null},{"key":"chipset","type":"string","label":"Chipset","description":"The chipset to apply known timings from.","required":true,"options":[{"label":"WS2811","value":"WS2811"},{"label":"WS2812","value":"WS2812"},{"label":"SK6812","value":"SK6812"},{"label":"APA106","value":"APA106"},{"label":"SM16703","value":"SM16703"}],"display_format":null},{"key":"num_leds","type":"integer","label":"Num Leds","description":"The number of LEDs in the strip. The DMA transfer limits this to 2722 LEDs, or 2042 LEDs when `channel_colors` contains a `W`.","required":true,"display_format":null},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [Power Supply](https://esphome.io/components/power_supply/) to connect to this light. When the light is turned on, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the light in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"color_correct","type":"string","label":"Color Correct","description":"Apply a color correction to each color channel. This defines the maximum brightness of each channel. For example `[100%, 50%, 100%]` would set the green channel to be at most at 50% brightness.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"default_transition_length","type":"time_period","label":"Default Transition Length","description":"The default transition length to use when no transition length is set in the light call. Defaults to `1s`.","default_value":"1s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"effects","type":"registry_list","label":"Effects","description":"A list of [light effects](https://esphome.io/components/light/#light-effects) to use for this light.","display_format":null,"registry":"light_effects","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [this list](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"flash_transition_length","type":"time_period","label":"Flash Transition Length","description":"The transition length to use when flash is called. Defaults to `0s`.","default_value":"0s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"gamma_correct","type":"float","label":"Gamma Correct","description":"Apply a [gamma correction factor](https://en.wikipedia.org/wiki/Gamma_correction) to the light channels. Defaults to `2.8`.","default_value":"2.8","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"gamma_table_id","type":"id","label":"Gamma Table ID","advanced":true},{"key":"initial_state","type":"nested","label":"Initial State","description":"The initial state the light should be set to on bootup, applied before any state is restored via `restore_mode` or `restore_state` (below). If restoring is configured and a previous state is successfully loaded, the loaded (and, for `restore_state`, possibly overridden) values take precedence over **initial_state** for the fields they touch. If neither `restore_mode` nor `restore_state` is set, **initial_state**'s `state` is honored as-is on every boot. If `restore_mode` **is** set, its own cold-boot direction (`OFF` for `RESTORE_DEFAULT_OFF`, `RESTORE_INVERTED_DEFAULT_OFF`, `RESTORE_AND_OFF` and `ALWAYS_OFF`; `ON` for the other four values) always overrides **initial_state**'s `state`. If **color_mode** is not given but color fields such as `red` or `brightness` are, the light uses the first color mode it supports that provides those fields (for example `RGB` for `red`, `green` and `blue`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","description":"The blue channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"brightness","type":"string","label":"Brightness","description":"The primary brightness of the light; applies to all channels (both color and white) of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"cold_white","type":"string","label":"Cold White","description":"The brightness of the cold white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color","type":"string","label":"Color","description":"A [standard CSS color name](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color), for example `red` or `springgreen`, or a hex value in the form `0xRRGGBB`, for example `0x223344`, used instead of **red**, **green** and **blue**. Names are not case-sensitive. Cannot be used together with **red**, **green** or **blue**. This option is not templatable. The light always drives its brightest color channel at full level. For a dark color such as `darkred` or `0x223344`, the **color_brightness** is therefore set to match (about 55% and 27% respectively). Colors with a channel at full level, such as `red`, set **color_brightness** to 100%. If you also set **color_brightness**, your value is used instead, and a warning is logged if the color is a dark one. Color names such as `white` and `gray` are converted to RGB colors only and do not affect the white channel, if present.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_brightness","type":"string","label":"Color Brightness","description":"The brightness of the color lights. Useful to control brightness of colored and white lights separately for RGBW lights.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_mode","type":"string","label":"Color Mode","description":"For lights that support more than one color mode, the color mode that will be activated. The color mode determines which outputs of the light are active, and which parameters can be used. For example, this can be used to switch between colored and white light. Must be a color mode that is supported by the light. Valid color modes are:","options":[{"label":"ON_OFF","value":"ON_OFF","description":"Only on/off control."},{"label":"BRIGHTNESS","value":"BRIGHTNESS","description":"Only brightness control. Accepts brightness parameter."},{"label":"WHITE","value":"WHITE","description":"Single white channel only. Accepts brightness and white parameters."},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE","description":"Color-temperature controlled white channel. Accepts brightness and color_temperature parameters."},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE","description":"Cold and warm white channels. Accepts brightness, color_temperature, cold_white and warm_white parameters."},{"label":"RGB","value":"RGB","description":"RGB color channels. Accepts brightness, color_brightness, red, green and blue parameters."},{"label":"RGB_WHITE","value":"RGB_WHITE","description":"RGB color channels and a separate white channel. Accepts parameters from RGB and WHITE color modes."},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE","description":"RGB color channels and a separate color-temperature controlled white channel. Accepts parameters from RGB and COLOR_TEMPERATURE color modes."},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE","description":"RGB color channels and two separate cold and warm white channels. Accepts parameters from RGB and COLD_WARM_WHITE color modes."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_temperature","type":"float_with_unit","label":"Color Temperature","description":"The color temperature (in [mireds](https://en.wikipedia.org/wiki/Mired) or Kelvin) of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state","unit_options":["mireds","K"]},{"key":"effect","type":"string","label":"Effect","description":"The name of the [effect](https://esphome.io/components/light/#light-effects) to start with, so the light can come up already running an effect without an `on_boot` automation. Must match the name of one of the effects defined on the same light, or `none` for no effect.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"green","type":"string","label":"Green","description":"The green channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"red","type":"string","label":"Red","description":"The red channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"state","type":"string","label":"State","description":"The ON/OFF state for the light.","options":[{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","description":"The brightness of the warm white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"white","type":"string","label":"White","description":"The brightness of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"}]},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"max_refresh_rate","type":"time_period","label":"Max Refresh Rate","description":"A time interval used to limit the number of commands a light can handle per second. For example 16ms will limit the light to a refresh rate of about 60Hz. Defaults to sending commands as quickly as changes are made to the lights.","display_format":null,"advanced":true,"duration_min_unit":"us"},{"key":"output_id","type":"id","label":"Output ID","advanced":true},{"key":"power_estimation","type":"nested","label":"Power Estimation","description":"Estimate the strip's current draw and, with `max_current_ma`, keep it within a budget. It applies to every addressable platform, for example `esp32_rmt_led_strip`, `neopixelbus` and `fastled_clockless`, and belongs on the strip itself, not on a [partition](https://esphome.io/components/light/partition/): the strip's limit covers every partition drawn on it. See [Addressable Light Power Estimation](https://esphome.io/components/light/#addressable-light-power-estimation) for details.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"idle_ma_per_led","type":"float","label":"Idle Ma Per LED","description":"Current drawn by a single LED on top of its channels, whatever they show, in mA. Defaults to `1.0`.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_blue","type":"float","label":"Ma Per LED Blue","description":"Current drawn by a single LED at full blue brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_green","type":"float","label":"Ma Per LED Green","description":"Current drawn by a single LED at full green brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_red","type":"float","label":"Ma Per LED Red","description":"Current drawn by a single LED at full red brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_white","type":"float","label":"Ma Per LED White","description":"Current drawn by a single LED at full white brightness, in mA (only relevant for RGBW strips). Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"max_current_ma","type":"float","label":"Max Current Ma","description":"Maximum total current draw for the whole strip, in mA. When the estimated draw exceeds this value, all pixel values are scaled down uniformly so the strip stays within the budget. The scaling is applied every frame and covers solid colors, transitions and effects. Omit it to estimate without limiting.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"}]},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"restore_state","type":"nested","label":"Restore State","description":"Persist the light's state to flash and restore it on bootup, with optional per-field overrides applied on top of whatever was loaded. Mutually exclusive with `restore_mode`. Accepts a mapping of per-field overrides, or one of two case-insensitive shorthands: `all` or `none`. If nothing has been saved yet (e.g. on the very first boot), restoring has nothing to do, so the light falls back to **initial_state** (or its hardware defaults) instead — none of the fields below take effect until a state has actually been persisted at least once.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"brightness","type":"string","label":"Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"cold_white","type":"string","label":"Cold White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_brightness","type":"string","label":"Color Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_mode","type":"string","label":"Color Mode","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON_OFF","value":"ON_OFF"},{"label":"BRIGHTNESS","value":"BRIGHTNESS"},{"label":"WHITE","value":"WHITE"},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE"},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE"},{"label":"RGB","value":"RGB"},{"label":"RGB_WHITE","value":"RGB_WHITE"},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE"},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE"}],"display_format":null,"advanced":true},{"key":"color_temperature","type":"string","label":"Color Temperature","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"green","type":"string","label":"Green","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"red","type":"string","label":"Red","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"state","type":"string","label":"State","description":"`KEEP` (default, case-insensitive) to restore the saved ON/OFF state as-is, `INVERT` to restore it inverted, `INITIAL` to use **initial_state**'s state instead (OFF if **initial_state** doesn't set one), or an explicit `ON`/`OFF` (or boolean) to always force this value regardless of what was saved.","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INVERT","value":"INVERT"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"white","type":"string","label":"White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true}]},{"key":"resume_effect","type":"boolean","label":"Resume Effect","description":"Remember the effect that was running when the light was turned off, and start it again when the light is next turned on with a plain turn-on. A turn-on that also sets an effect, brightness, color or transition uses those instead. On a light that boots OFF, the effect from **initial_state** counts as the remembered effect. The remembered effect is kept in memory only, so it is lost on reboot. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"transition_state_publish_interval","type":"time_period","label":"Transition State Publish Interval","description":"How often to publish the light's state while a transition or flash is running, so Home Assistant and other clients can follow a long fade. The starting state is published when the call is made, intermediate states at this interval, and the final state once at the end; the `on_state` trigger fires for each of them. Calls made during the fade still start from the fade's target, and `save: true` saves the target. Not available on addressable lights. Minimum is `150ms`; `200ms` to `250ms` works well. When not set, only the target state is published, once, when the call is made.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"light.ln882x_spi_led_strip","name":"LN882x SPI LED Strip","description":"This is a component using the LN882x SPI DMA interface to drive addressable LED strips. The LED data is sent on the SPI0 MOSI line, which can be routed to any GPIO pin of the chip. It requires the `ln882x` platform of [LibreTiny](https://esphome.io/components/libretiny/).","category":"light","docs_url":"https://esphome.io/components/light/ln882x_spi_led_strip/","image_url":"https://esphome.io/images/color_lens.svg","dependencies":["ln882x"],"multi_conf":true,"supported_platforms":["ln882x"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the light. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"pin","type":"pin","label":"Pin","description":"The pin for the data line of the light. Any GPIO pin can be used, but avoid `PA2` and `PA3` (the logger UART) and `PA9` (the boot strap pin), see the [LibreTiny GPIO notes](https://esphome.io/components/libretiny/#gpio-pin-numbering).","required":true,"display_format":null,"help_link":"https://esphome.io/components/light/ln882x_spi_led_strip/#configuration-variables"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the light attempts to restore state on bootup. Mutually exclusive with `restore_state`. To migrate from `restore_mode` to `restore_state`, replace it with the equivalent configuration below. For the `*_OFF` values this assumes **initial_state** does not set `state: ON`; remove that if it does, since `restore_state` and \"set neither\" honor **initial_state** where `restore_mode` overrode it. `RESTORE_DEFAULT_OFF`: `RESTORE_DEFAULT_ON`: `RESTORE_INVERTED_DEFAULT_OFF`: `RESTORE_INVERTED_DEFAULT_ON`: `RESTORE_AND_OFF`: `RESTORE_AND_ON`: `ALWAYS_OFF`: set neither `restore_mode` nor `restore_state`. `ALWAYS_ON`: set neither `restore_mode` nor `restore_state`, and:","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the light as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the light as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"RESTORE_AND_OFF","value":"RESTORE_AND_OFF","description":"Attempt to restore state but initialize the light as OFF."},{"label":"RESTORE_AND_ON","value":"RESTORE_AND_ON","description":"Attempt to restore state but initialize the light as ON."}],"display_format":null,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"channel_colors","type":"string","label":"Channel Colors","description":"The order in which the strip expects its color channels. List each of `R`, `G` and `B` exactly once, optionally with a single `W` in any position; for example `GRB`, `BGR`, `GRBW`, `WRGB` or `RWGB`. The value is case-insensitive. Including a `W` makes this a four channel RGBW strip.","required":true,"display_format":null,"help_link":"https://esphome.io/components/light/ln882x_spi_led_strip/#configuration-variables"},{"key":"chipset","type":"string","label":"Chipset","description":"The chipset to apply known timings from.","required":true,"options":[{"label":"WS2811","value":"WS2811"},{"label":"WS2812","value":"WS2812"},{"label":"SK6812","value":"SK6812"},{"label":"APA106","value":"APA106"},{"label":"SM16703","value":"SM16703"}],"display_format":null,"help_link":"https://esphome.io/components/light/ln882x_spi_led_strip/#configuration-variables"},{"key":"num_leds","type":"integer","label":"Num Leds","description":"The number of LEDs in the strip. The DMA transfer limits this to 2722 LEDs, or 2042 LEDs when `channel_colors` contains a `W`.","required":true,"display_format":null,"help_link":"https://esphome.io/components/light/ln882x_spi_led_strip/#configuration-variables"},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [Power Supply](https://esphome.io/components/power_supply/) to connect to this light. When the light is turned on, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the light in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"color_correct","type":"string","label":"Color Correct","description":"Apply a color correction to each color channel. This defines the maximum brightness of each channel. For example `[100%, 50%, 100%]` would set the green channel to be at most at 50% brightness.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"default_transition_length","type":"time_period","label":"Default Transition Length","description":"The default transition length to use when no transition length is set in the light call. Defaults to `1s`.","default_value":"1s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"effects","type":"registry_list","label":"Effects","description":"A list of [light effects](https://esphome.io/components/light/#light-effects) to use for this light.","display_format":null,"registry":"light_effects","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [this list](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"flash_transition_length","type":"time_period","label":"Flash Transition Length","description":"The transition length to use when flash is called. Defaults to `0s`.","default_value":"0s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"gamma_correct","type":"float","label":"Gamma Correct","description":"Apply a [gamma correction factor](https://en.wikipedia.org/wiki/Gamma_correction) to the light channels. Defaults to `2.8`.","default_value":"2.8","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"gamma_table_id","type":"id","label":"Gamma Table ID","advanced":true},{"key":"initial_state","type":"nested","label":"Initial State","description":"The initial state the light should be set to on bootup, applied before any state is restored via `restore_mode` or `restore_state` (below). If restoring is configured and a previous state is successfully loaded, the loaded (and, for `restore_state`, possibly overridden) values take precedence over **initial_state** for the fields they touch. If neither `restore_mode` nor `restore_state` is set, **initial_state**'s `state` is honored as-is on every boot. If `restore_mode` **is** set, its own cold-boot direction (`OFF` for `RESTORE_DEFAULT_OFF`, `RESTORE_INVERTED_DEFAULT_OFF`, `RESTORE_AND_OFF` and `ALWAYS_OFF`; `ON` for the other four values) always overrides **initial_state**'s `state`. If **color_mode** is not given but color fields such as `red` or `brightness` are, the light uses the first color mode it supports that provides those fields (for example `RGB` for `red`, `green` and `blue`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","description":"The blue channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"brightness","type":"string","label":"Brightness","description":"The primary brightness of the light; applies to all channels (both color and white) of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"cold_white","type":"string","label":"Cold White","description":"The brightness of the cold white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color","type":"string","label":"Color","description":"A [standard CSS color name](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color), for example `red` or `springgreen`, or a hex value in the form `0xRRGGBB`, for example `0x223344`, used instead of **red**, **green** and **blue**. Names are not case-sensitive. Cannot be used together with **red**, **green** or **blue**. This option is not templatable. The light always drives its brightest color channel at full level. For a dark color such as `darkred` or `0x223344`, the **color_brightness** is therefore set to match (about 55% and 27% respectively). Colors with a channel at full level, such as `red`, set **color_brightness** to 100%. If you also set **color_brightness**, your value is used instead, and a warning is logged if the color is a dark one. Color names such as `white` and `gray` are converted to RGB colors only and do not affect the white channel, if present.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_brightness","type":"string","label":"Color Brightness","description":"The brightness of the color lights. Useful to control brightness of colored and white lights separately for RGBW lights.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_mode","type":"string","label":"Color Mode","description":"For lights that support more than one color mode, the color mode that will be activated. The color mode determines which outputs of the light are active, and which parameters can be used. For example, this can be used to switch between colored and white light. Must be a color mode that is supported by the light. Valid color modes are:","options":[{"label":"ON_OFF","value":"ON_OFF","description":"Only on/off control."},{"label":"BRIGHTNESS","value":"BRIGHTNESS","description":"Only brightness control. Accepts brightness parameter."},{"label":"WHITE","value":"WHITE","description":"Single white channel only. Accepts brightness and white parameters."},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE","description":"Color-temperature controlled white channel. Accepts brightness and color_temperature parameters."},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE","description":"Cold and warm white channels. Accepts brightness, color_temperature, cold_white and warm_white parameters."},{"label":"RGB","value":"RGB","description":"RGB color channels. Accepts brightness, color_brightness, red, green and blue parameters."},{"label":"RGB_WHITE","value":"RGB_WHITE","description":"RGB color channels and a separate white channel. Accepts parameters from RGB and WHITE color modes."},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE","description":"RGB color channels and a separate color-temperature controlled white channel. Accepts parameters from RGB and COLOR_TEMPERATURE color modes."},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE","description":"RGB color channels and two separate cold and warm white channels. Accepts parameters from RGB and COLD_WARM_WHITE color modes."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"color_temperature","type":"float_with_unit","label":"Color Temperature","description":"The color temperature (in [mireds](https://en.wikipedia.org/wiki/Mired) or Kelvin) of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state","unit_options":["mireds","K"]},{"key":"effect","type":"string","label":"Effect","description":"The name of the [effect](https://esphome.io/components/light/#light-effects) to start with, so the light can come up already running an effect without an `on_boot` automation. Must match the name of one of the effects defined on the same light, or `none` for no effect.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"green","type":"string","label":"Green","description":"The green channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"red","type":"string","label":"Red","description":"The red channel of the light.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"state","type":"string","label":"State","description":"The ON/OFF state for the light.","options":[{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","description":"The brightness of the warm white channel. Cannot be used at the same time as *color_temperature*.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"},{"key":"white","type":"string","label":"White","description":"The brightness of the white channel.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/light/#light-state"}]},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"max_refresh_rate","type":"time_period","label":"Max Refresh Rate","description":"A time interval used to limit the number of commands a light can handle per second. For example 16ms will limit the light to a refresh rate of about 60Hz. Defaults to sending commands as quickly as changes are made to the lights.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/ln882x_spi_led_strip/#configuration-variables","duration_min_unit":"us"},{"key":"output_id","type":"id","label":"Output ID","advanced":true},{"key":"power_estimation","type":"nested","label":"Power Estimation","description":"Estimate the strip's current draw and, with `max_current_ma`, keep it within a budget. It applies to every addressable platform, for example `esp32_rmt_led_strip`, `neopixelbus` and `fastled_clockless`, and belongs on the strip itself, not on a [partition](https://esphome.io/components/light/partition/): the strip's limit covers every partition drawn on it. See [Addressable Light Power Estimation](https://esphome.io/components/light/#addressable-light-power-estimation) for details.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"idle_ma_per_led","type":"float","label":"Idle Ma Per LED","description":"Current drawn by a single LED on top of its channels, whatever they show, in mA. Defaults to `1.0`.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_blue","type":"float","label":"Ma Per LED Blue","description":"Current drawn by a single LED at full blue brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_green","type":"float","label":"Ma Per LED Green","description":"Current drawn by a single LED at full green brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_red","type":"float","label":"Ma Per LED Red","description":"Current drawn by a single LED at full red brightness, in mA. Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"ma_per_led_white","type":"float","label":"Ma Per LED White","description":"Current drawn by a single LED at full white brightness, in mA (only relevant for RGBW strips). Defaults to `20.0`.","default_value":"20.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"max_current_ma","type":"float","label":"Max Current Ma","description":"Maximum total current draw for the whole strip, in mA. When the estimated draw exceeds this value, all pixel values are scaled down uniformly so the strip stays within the budget. The scaling is applied every frame and covers solid colors, transitions and effects. Omit it to estimate without limiting.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"}]},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"restore_state","type":"nested","label":"Restore State","description":"Persist the light's state to flash and restore it on bootup, with optional per-field overrides applied on top of whatever was loaded. Mutually exclusive with `restore_mode`. Accepts a mapping of per-field overrides, or one of two case-insensitive shorthands: `all` or `none`. If nothing has been saved yet (e.g. on the very first boot), restoring has nothing to do, so the light falls back to **initial_state** (or its hardware defaults) instead — none of the fields below take effect until a state has actually been persisted at least once.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","platform_type":"light","config_entries":[{"key":"blue","type":"string","label":"Blue","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"brightness","type":"string","label":"Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"cold_white","type":"string","label":"Cold White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_brightness","type":"string","label":"Color Brightness","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"color_mode","type":"string","label":"Color Mode","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON_OFF","value":"ON_OFF"},{"label":"BRIGHTNESS","value":"BRIGHTNESS"},{"label":"WHITE","value":"WHITE"},{"label":"COLOR_TEMPERATURE","value":"COLOR_TEMPERATURE"},{"label":"COLD_WARM_WHITE","value":"COLD_WARM_WHITE"},{"label":"RGB","value":"RGB"},{"label":"RGB_WHITE","value":"RGB_WHITE"},{"label":"RGB_COLOR_TEMPERATURE","value":"RGB_COLOR_TEMPERATURE"},{"label":"RGB_COLD_WARM_WHITE","value":"RGB_COLD_WARM_WHITE"}],"display_format":null,"advanced":true},{"key":"color_temperature","type":"string","label":"Color Temperature","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"green","type":"string","label":"Green","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"red","type":"string","label":"Red","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"state","type":"string","label":"State","description":"`KEEP` (default, case-insensitive) to restore the saved ON/OFF state as-is, `INVERT` to restore it inverted, `INITIAL` to use **initial_state**'s state instead (OFF if **initial_state** doesn't set one), or an explicit `ON`/`OFF` (or boolean) to always force this value regardless of what was saved.","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INVERT","value":"INVERT"},{"label":"INITIAL","value":"INITIAL"},{"label":"ON","value":"ON"},{"label":"OFF","value":"OFF"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"warm_white","type":"string","label":"Warm White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true},{"key":"white","type":"string","label":"White","default_value":"KEEP","options":[{"label":"KEEP","value":"KEEP"},{"label":"INITIAL","value":"INITIAL"}],"display_format":null,"advanced":true}]},{"key":"resume_effect","type":"boolean","label":"Resume Effect","description":"Remember the effect that was running when the light was turned off, and start it again when the light is next turned on with a plain turn-on. A turn-on that also sets an effect, brightness, color or transition uses those instead. On a light that boots OFF, the effect from **initial_state** counts as the remembered effect. The remembered effect is kept in memory only, so it is lost on reboot. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables"},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"transition_state_publish_interval","type":"time_period","label":"Transition State Publish Interval","description":"How often to publish the light's state while a transition or flash is running, so Home Assistant and other clients can follow a long fade. The starting state is published when the call is made, intermediate states at this interval, and the final state once at the end; the `on_state` trigger fires for each of them. Calls made during the fade still start from the fade's target, and `save: true` saves the target. Not available on addressable lights. Minimum is `150ms`; `200ms` to `250ms` works well. When not set, only the target state is published, once, when the call is made.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/light/#configuration-variables","duration_min_unit":"ms"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/lis2dw12_i2c.json b/esphome_device_builder/definitions/components/lis2dw12_i2c.json index 3d2009841a..8e30eb30dd 100644 --- a/esphome_device_builder/definitions/components/lis2dw12_i2c.json +++ b/esphome_device_builder/definitions/components/lis2dw12_i2c.json @@ -1 +1 @@ -{"id":"lis2dw12_i2c","name":"LIS2DW12 Sensor","description":"The `lis2dw12` sensor platform allows you to use your ST LIS2DW12 tri-axial, low-g accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis2dw12.pdf)) with ESPHome. The sensor supports both [I²C](https://esphome.io/components/i2c/) and [SPI](https://esphome.io/components/spi/) buses.","category":"misc","dependencies":["i2c"],"multi_conf":true,"provides":["lis2dw12"],"config_entries":[{"key":"address","type":"integer","label":"Address","default_value":"25","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval for updating acceleration sensors. Defaults to `10s`.","default_value":"10s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID of the hub. Needed when more than one sensor is configured, so the platforms below can refer to it with `lis2dw12_id`.","advanced":true},{"key":"calibration","type":"nested","label":"Calibration","description":"Zero position offsets per axis.","display_format":null,"advanced":true,"config_entries":[{"key":"offset_x","type":"float","label":"Offset X","description":"X-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true},{"key":"offset_y","type":"float","label":"Offset Y","description":"Y-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true},{"key":"offset_z","type":"float","label":"Offset Z","description":"Z-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true}]},{"key":"filter_bandwidth","type":"string","label":"Filter Bandwidth","description":"Digital filter bandwidth. One of `odr_div_2`, `odr_div_4`, `odr_div_10`, `odr_div_20`. Defaults to `odr_div_2`.","default_value":"odr_div_2","options":[{"label":"odr_div_2","value":"odr_div_2"},{"label":"odr_div_4","value":"odr_div_4"},{"label":"odr_div_10","value":"odr_div_10"},{"label":"odr_div_20","value":"odr_div_20"}],"display_format":null,"advanced":true},{"key":"low_noise","type":"boolean","label":"Low Noise","description":"Enable low-noise mode. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"output_data_rate","type":"string","label":"Output Data Rate","description":"Output data rate. One of `1.6Hz`, `12.5Hz`, `25Hz`, `50Hz`, `100Hz`, `200Hz`, `400Hz`, `800Hz`, `1600Hz`. Defaults to `100Hz`. `1.6Hz` is only available in the low-power modes, and `400Hz` and above only in `high_performance`.","default_value":"100Hz","options":[{"label":"1.6Hz","value":"1.6Hz"},{"label":"12.5Hz","value":"12.5Hz"},{"label":"25Hz","value":"25Hz"},{"label":"50Hz","value":"50Hz"},{"label":"100Hz","value":"100Hz"},{"label":"200Hz","value":"200Hz"},{"label":"400Hz","value":"400Hz"},{"label":"800Hz","value":"800Hz"},{"label":"1600Hz","value":"1600Hz"}],"display_format":null,"advanced":true},{"key":"power_mode","type":"string","label":"Power Mode","description":"Operating power mode. One of `high_performance`, `low_power_1`, `low_power_2`, `low_power_3`, `low_power_4`. Mode `low_power_1` uses 12-bit resolution, all others use 14-bit. Defaults to `high_performance`.","default_value":"high_performance","options":[{"label":"high_performance","value":"high_performance"},{"label":"low_power_1","value":"low_power_1"},{"label":"low_power_2","value":"low_power_2"},{"label":"low_power_3","value":"low_power_3"},{"label":"low_power_4","value":"low_power_4"}],"display_format":null,"advanced":true},{"key":"range","type":"string","label":"Range","description":"The range of the sensor measurements. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G` which means it picks up accelerations between `-2g` and `2g`.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"transform","type":"nested","label":"Transform","description":"Remaps the axes of the acceleration sensors to match how the board is mounted. The orientation text sensor always reports the chip's own axes.","display_format":null,"advanced":true,"config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","description":"Mirror X-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_y","type":"boolean","label":"Mirror Y","description":"Mirror Y-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_z","type":"boolean","label":"Mirror Z","description":"Mirror Z-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"swap_xy","type":"boolean","label":"Swap Xy","description":"Swap X and Y axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true}]}]} +{"id":"lis2dw12_i2c","name":"LIS2DW12 Sensor","description":"The `lis2dw12` sensor platform allows you to use your ST LIS2DW12 tri-axial, low-g accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis2dw12.pdf)) with ESPHome. The sensor supports both [I²C](https://esphome.io/components/i2c/) and [SPI](https://esphome.io/components/spi/) buses.","category":"misc","docs_url":"https://esphome.io/components/sensor/lis2dw12/","dependencies":["i2c"],"multi_conf":true,"provides":["lis2dw12"],"config_entries":[{"key":"address","type":"integer","label":"Address","default_value":"25","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval for updating acceleration sensors. Defaults to `10s`.","default_value":"10s","display_format":null,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID of the hub. Needed when more than one sensor is configured, so the platforms below can refer to it with `lis2dw12_id`.","advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"calibration","type":"nested","label":"Calibration","description":"Zero position offsets per axis.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables","config_entries":[{"key":"offset_x","type":"float","label":"Offset X","description":"X-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"offset_y","type":"float","label":"Offset Y","description":"Y-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"offset_z","type":"float","label":"Offset Z","description":"Z-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"}]},{"key":"filter_bandwidth","type":"string","label":"Filter Bandwidth","description":"Digital filter bandwidth. One of `odr_div_2`, `odr_div_4`, `odr_div_10`, `odr_div_20`. Defaults to `odr_div_2`.","default_value":"odr_div_2","options":[{"label":"odr_div_2","value":"odr_div_2"},{"label":"odr_div_4","value":"odr_div_4"},{"label":"odr_div_10","value":"odr_div_10"},{"label":"odr_div_20","value":"odr_div_20"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"low_noise","type":"boolean","label":"Low Noise","description":"Enable low-noise mode. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"output_data_rate","type":"string","label":"Output Data Rate","description":"Output data rate. One of `1.6Hz`, `12.5Hz`, `25Hz`, `50Hz`, `100Hz`, `200Hz`, `400Hz`, `800Hz`, `1600Hz`. Defaults to `100Hz`. `1.6Hz` is only available in the low-power modes, and `400Hz` and above only in `high_performance`.","default_value":"100Hz","options":[{"label":"1.6Hz","value":"1.6Hz"},{"label":"12.5Hz","value":"12.5Hz"},{"label":"25Hz","value":"25Hz"},{"label":"50Hz","value":"50Hz"},{"label":"100Hz","value":"100Hz"},{"label":"200Hz","value":"200Hz"},{"label":"400Hz","value":"400Hz"},{"label":"800Hz","value":"800Hz"},{"label":"1600Hz","value":"1600Hz"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"power_mode","type":"string","label":"Power Mode","description":"Operating power mode. One of `high_performance`, `low_power_1`, `low_power_2`, `low_power_3`, `low_power_4`. Mode `low_power_1` uses 12-bit resolution, all others use 14-bit. Defaults to `high_performance`.","default_value":"high_performance","options":[{"label":"high_performance","value":"high_performance"},{"label":"low_power_1","value":"low_power_1"},{"label":"low_power_2","value":"low_power_2"},{"label":"low_power_3","value":"low_power_3"},{"label":"low_power_4","value":"low_power_4"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"range","type":"string","label":"Range","description":"The range of the sensor measurements. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G` which means it picks up accelerations between `-2g` and `2g`.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"transform","type":"nested","label":"Transform","description":"Remaps the axes of the acceleration sensors to match how the board is mounted. The orientation text sensor always reports the chip's own axes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables","config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","description":"Mirror X-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"mirror_y","type":"boolean","label":"Mirror Y","description":"Mirror Y-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"mirror_z","type":"boolean","label":"Mirror Z","description":"Mirror Z-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"swap_xy","type":"boolean","label":"Swap Xy","description":"Swap X and Y axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"}]}]} diff --git a/esphome_device_builder/definitions/components/lis2dw12_spi.json b/esphome_device_builder/definitions/components/lis2dw12_spi.json index b300da5a80..12035f9732 100644 --- a/esphome_device_builder/definitions/components/lis2dw12_spi.json +++ b/esphome_device_builder/definitions/components/lis2dw12_spi.json @@ -1 +1 @@ -{"id":"lis2dw12_spi","name":"Lis2Dw12 SPI","description":"","category":"misc","dependencies":["spi"],"multi_conf":true,"provides":["lis2dw12"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval for updating acceleration sensors. Defaults to `10s`.","default_value":"10s","display_format":null,"duration_min_unit":"ms"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip select pin.","required":true,"display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID of the hub. Needed when more than one sensor is configured, so the platforms below can refer to it with `lis2dw12_id`.","advanced":true},{"key":"calibration","type":"nested","label":"Calibration","description":"Zero position offsets per axis.","display_format":null,"advanced":true,"config_entries":[{"key":"offset_x","type":"float","label":"Offset X","description":"X-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true},{"key":"offset_y","type":"float","label":"Offset Y","description":"Y-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true},{"key":"offset_z","type":"float","label":"Offset Z","description":"Z-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true}]},{"key":"data_rate","type":"string","label":"Data Rate","display_format":null,"advanced":true},{"key":"filter_bandwidth","type":"string","label":"Filter Bandwidth","description":"Digital filter bandwidth. One of `odr_div_2`, `odr_div_4`, `odr_div_10`, `odr_div_20`. Defaults to `odr_div_2`.","default_value":"odr_div_2","options":[{"label":"odr_div_2","value":"odr_div_2"},{"label":"odr_div_4","value":"odr_div_4"},{"label":"odr_div_10","value":"odr_div_10"},{"label":"odr_div_20","value":"odr_div_20"}],"display_format":null,"advanced":true},{"key":"low_noise","type":"boolean","label":"Low Noise","description":"Enable low-noise mode. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"output_data_rate","type":"string","label":"Output Data Rate","description":"Output data rate. One of `1.6Hz`, `12.5Hz`, `25Hz`, `50Hz`, `100Hz`, `200Hz`, `400Hz`, `800Hz`, `1600Hz`. Defaults to `100Hz`. `1.6Hz` is only available in the low-power modes, and `400Hz` and above only in `high_performance`.","default_value":"100Hz","options":[{"label":"1.6Hz","value":"1.6Hz"},{"label":"12.5Hz","value":"12.5Hz"},{"label":"25Hz","value":"25Hz"},{"label":"50Hz","value":"50Hz"},{"label":"100Hz","value":"100Hz"},{"label":"200Hz","value":"200Hz"},{"label":"400Hz","value":"400Hz"},{"label":"800Hz","value":"800Hz"},{"label":"1600Hz","value":"1600Hz"}],"display_format":null,"advanced":true},{"key":"power_mode","type":"string","label":"Power Mode","description":"Operating power mode. One of `high_performance`, `low_power_1`, `low_power_2`, `low_power_3`, `low_power_4`. Mode `low_power_1` uses 12-bit resolution, all others use 14-bit. Defaults to `high_performance`.","default_value":"high_performance","options":[{"label":"high_performance","value":"high_performance"},{"label":"low_power_1","value":"low_power_1"},{"label":"low_power_2","value":"low_power_2"},{"label":"low_power_3","value":"low_power_3"},{"label":"low_power_4","value":"low_power_4"}],"display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"range","type":"string","label":"Range","description":"The range of the sensor measurements. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G` which means it picks up accelerations between `-2g` and `2g`.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true},{"key":"transform","type":"nested","label":"Transform","description":"Remaps the axes of the acceleration sensors to match how the board is mounted. The orientation text sensor always reports the chip's own axes.","display_format":null,"advanced":true,"config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","description":"Mirror X-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_y","type":"boolean","label":"Mirror Y","description":"Mirror Y-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_z","type":"boolean","label":"Mirror Z","description":"Mirror Z-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"swap_xy","type":"boolean","label":"Swap Xy","description":"Swap X and Y axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true}]}]} +{"id":"lis2dw12_spi","name":"Lis2Dw12 SPI","description":"","category":"misc","docs_url":"https://esphome.io/components/sensor/lis2dw12#componenthub","dependencies":["spi"],"multi_conf":true,"provides":["lis2dw12"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval for updating acceleration sensors. Defaults to `10s`.","default_value":"10s","display_format":null,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables","duration_min_unit":"ms"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip select pin.","required":true,"display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID of the hub. Needed when more than one sensor is configured, so the platforms below can refer to it with `lis2dw12_id`.","advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"calibration","type":"nested","label":"Calibration","description":"Zero position offsets per axis.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables","config_entries":[{"key":"offset_x","type":"float","label":"Offset X","description":"X-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"offset_y","type":"float","label":"Offset Y","description":"Y-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"offset_z","type":"float","label":"Offset Z","description":"Z-axis zero position calibration, in m/s². From -4.5 to 4.5. Defaults to `0`.","default_value":"0","range":[-4.5,4.5],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"}]},{"key":"data_rate","type":"string","label":"Data Rate","display_format":null,"advanced":true},{"key":"filter_bandwidth","type":"string","label":"Filter Bandwidth","description":"Digital filter bandwidth. One of `odr_div_2`, `odr_div_4`, `odr_div_10`, `odr_div_20`. Defaults to `odr_div_2`.","default_value":"odr_div_2","options":[{"label":"odr_div_2","value":"odr_div_2"},{"label":"odr_div_4","value":"odr_div_4"},{"label":"odr_div_10","value":"odr_div_10"},{"label":"odr_div_20","value":"odr_div_20"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"low_noise","type":"boolean","label":"Low Noise","description":"Enable low-noise mode. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"output_data_rate","type":"string","label":"Output Data Rate","description":"Output data rate. One of `1.6Hz`, `12.5Hz`, `25Hz`, `50Hz`, `100Hz`, `200Hz`, `400Hz`, `800Hz`, `1600Hz`. Defaults to `100Hz`. `1.6Hz` is only available in the low-power modes, and `400Hz` and above only in `high_performance`.","default_value":"100Hz","options":[{"label":"1.6Hz","value":"1.6Hz"},{"label":"12.5Hz","value":"12.5Hz"},{"label":"25Hz","value":"25Hz"},{"label":"50Hz","value":"50Hz"},{"label":"100Hz","value":"100Hz"},{"label":"200Hz","value":"200Hz"},{"label":"400Hz","value":"400Hz"},{"label":"800Hz","value":"800Hz"},{"label":"1600Hz","value":"1600Hz"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"power_mode","type":"string","label":"Power Mode","description":"Operating power mode. One of `high_performance`, `low_power_1`, `low_power_2`, `low_power_3`, `low_power_4`. Mode `low_power_1` uses 12-bit resolution, all others use 14-bit. Defaults to `high_performance`.","default_value":"high_performance","options":[{"label":"high_performance","value":"high_performance"},{"label":"low_power_1","value":"low_power_1"},{"label":"low_power_2","value":"low_power_2"},{"label":"low_power_3","value":"low_power_3"},{"label":"low_power_4","value":"low_power_4"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"range","type":"string","label":"Range","description":"The range of the sensor measurements. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G` which means it picks up accelerations between `-2g` and `2g`.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true},{"key":"transform","type":"nested","label":"Transform","description":"Remaps the axes of the acceleration sensors to match how the board is mounted. The orientation text sensor always reports the chip's own axes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables","config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","description":"Mirror X-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"mirror_y","type":"boolean","label":"Mirror Y","description":"Mirror Y-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"mirror_z","type":"boolean","label":"Mirror Z","description":"Mirror Z-axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"},{"key":"swap_xy","type":"boolean","label":"Swap Xy","description":"Swap X and Y axis. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables"}]}]} diff --git a/esphome_device_builder/definitions/components/lis3dh.json b/esphome_device_builder/definitions/components/lis3dh.json index 9cc09bd8b3..25c7fd3d86 100644 --- a/esphome_device_builder/definitions/components/lis3dh.json +++ b/esphome_device_builder/definitions/components/lis3dh.json @@ -1 +1 @@ -{"id":"lis3dh","name":"LIS3DH Accelerometer","description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","category":"misc","dependencies":["i2c","motion"]} +{"id":"lis3dh","name":"LIS3DH Accelerometer","description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","category":"misc","docs_url":"https://esphome.io/components/motion/lis3dh/","image_url":"https://esphome.io/images/imu.svg","dependencies":["i2c","motion"]} diff --git a/esphome_device_builder/definitions/components/lp5562.json b/esphome_device_builder/definitions/components/lp5562.json index 255fe6133a..9d640e0948 100644 --- a/esphome_device_builder/definitions/components/lp5562.json +++ b/esphome_device_builder/definitions/components/lp5562.json @@ -1 +1 @@ -{"id":"lp5562","name":"LP5562","description":"The LP5562 component represents a Texas Instruments LP5562 4-channel (RGBW) LED driver ([datasheet](https://web.archive.org/web/20240327023921/https://www.ti.com/lit/ds/symlink/lp5562.pdf)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the driver. Defaults to `0x30`.","default_value":"48","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","description":"The id to use for this lp5562 component. Use this if you have multiple LP5562s connected at the same time.","advanced":true},{"key":"logarithmic_dimming","type":"boolean","label":"Logarithmic Dimming","description":"Use the chip's logarithmic brightness curve instead of a linear one, so brightness steps look even to the eye. A light on these outputs then needs `gamma_correct: 1.0`, or both curves apply. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"lp5562","name":"LP5562","description":"The LP5562 component represents a Texas Instruments LP5562 4-channel (RGBW) LED driver ([datasheet](https://web.archive.org/web/20240327023921/https://www.ti.com/lit/ds/symlink/lp5562.pdf)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"misc","docs_url":"https://esphome.io/components/output/lp5562/","image_url":"https://esphome.io/images/badges/lp5562.svg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the driver. Defaults to `0x30`.","default_value":"48","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/output/lp5562/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","description":"The id to use for this lp5562 component. Use this if you have multiple LP5562s connected at the same time.","advanced":true,"help_link":"https://esphome.io/components/output/lp5562/#configuration-variables"},{"key":"logarithmic_dimming","type":"boolean","label":"Logarithmic Dimming","description":"Use the chip's logarithmic brightness curve instead of a linear one, so brightness steps look even to the eye. A light on these outputs then needs `gamma_correct: 1.0`, or both curves apply. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/lp5562/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/m5stack_4relay.json b/esphome_device_builder/definitions/components/m5stack_4relay.json index 56b48230ed..8e2dcbbb6a 100644 --- a/esphome_device_builder/definitions/components/m5stack_4relay.json +++ b/esphome_device_builder/definitions/components/m5stack_4relay.json @@ -1 +1 @@ -{"id":"m5stack_4relay","name":"M5Stack 4-Relay Switch","description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the unit. Defaults to `0x26`.","default_value":"38","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The [I²C](https://esphome.io/components/i2c/) bus to use. Required with more than one bus.","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"m5stack_4relay","name":"M5Stack 4-Relay Switch","description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","category":"misc","docs_url":"https://esphome.io/components/switch/m5stack_4relay/","image_url":"https://esphome.io/images/m5stack_4relay.webp","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the unit. Defaults to `0x26`.","default_value":"38","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/switch/m5stack_4relay/#hub-configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The [I²C](https://esphome.io/components/i2c/) bus to use. Required with more than one bus.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/switch/m5stack_4relay/#hub-configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/m5stack_unit_bldc.json b/esphome_device_builder/definitions/components/m5stack_unit_bldc.json index 1452c210e7..4566ddd8c4 100644 --- a/esphome_device_builder/definitions/components/m5stack_unit_bldc.json +++ b/esphome_device_builder/definitions/components/m5stack_unit_bldc.json @@ -1 +1 @@ -{"id":"m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` component drives an [M5Stack M5Unit-BLDC](https://docs.m5stack.com/en/unit/Unit-BLDC) brushless DC motor driver over [I²C](https://esphome.io/components/i2c/). The unit has its own microcontroller that runs the motor, so ESPHome uses its [I²C register protocol](https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/772/Unit_BLDC_I2C_Protocol.pdf) to set the control mode, direction and motor details, to send a PWM duty cycle or a target RPM, and to read back the measured RPM, frequency and motor status. The [I²C Bus](https://esphome.io/components/i2c/) must be set up first.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the driver. Defaults to `0x65`.","default_value":"101","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the [I²C Component](https://esphome.io/components/i2c/) if you need to use multiple I²C buses.","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to poll the `rpm`, `frequency` and `status` readings below. Defaults to `1s`.","default_value":"1s","display_format":null,"duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The motor model wired to the driver. One of `low_speed` or `high_speed`. Defaults to `low_speed`.","default_value":"low_speed","options":[{"label":"low_speed","value":"low_speed"},{"label":"high_speed","value":"high_speed"}],"display_format":null},{"key":"pole_pairs","type":"integer","label":"Pole Pairs","description":"The number of pole pairs of the motor, from `1` to `255`. The unit uses this to turn its pulse frequency measurement into RPM, so a wrong value makes the `rpm` sensor and closed loop control wrong too.","required":true,"range":[1,255],"display_format":null},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this `m5stack_unit_bldc` component if you need multiple components, or want to reference it from a `number`, `select`, `sensor` or `text_sensor` platform entry.","advanced":true},{"key":"direction","type":"string","label":"Direction","description":"The rotation direction at boot. One of `forward` or `backward`. Defaults to `forward`.","default_value":"forward","options":[{"label":"forward","value":"forward"},{"label":"backward","value":"backward"}],"display_format":null,"advanced":true},{"key":"mode","type":"string","label":"Mode","description":"The control mode. One of `open_loop` or `closed_loop`. Defaults to `open_loop`.","default_value":"open_loop","options":[{"label":"open_loop","value":"open_loop"},{"label":"closed_loop","value":"closed_loop"}],"display_format":null,"advanced":true},{"key":"pid","type":"nested","label":"PID","description":"PID gains for closed loop control, written to the unit at boot.","display_format":null,"advanced":true,"config_entries":[{"key":"d","type":"float","label":"D","description":"Derivative gain.","required":true,"range":[-21474836.48,21474836.47],"display_format":null,"advanced":true},{"key":"i","type":"float","label":"I","description":"Integral gain.","required":true,"range":[-21474836.48,21474836.47],"display_format":null,"advanced":true},{"key":"p","type":"float","label":"P","description":"Proportional gain.","required":true,"range":[-21474836.48,21474836.47],"display_format":null,"advanced":true}]},{"key":"save_to_flash","type":"boolean","label":"Save To Flash","description":"Save the motor model, pole pairs and PID gains in the unit's own flash, so it keeps them without ESPHome. Defaults to `false`. To spare the unit's flash, ESPHome remembers what it saved and only writes the flash again when these settings change, not on every boot.","default_value":false,"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` component drives an [M5Stack M5Unit-BLDC](https://docs.m5stack.com/en/unit/Unit-BLDC) brushless DC motor driver over [I²C](https://esphome.io/components/i2c/). The unit has its own microcontroller that runs the motor, so ESPHome uses its [I²C register protocol](https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/772/Unit_BLDC_I2C_Protocol.pdf) to set the control mode, direction and motor details, to send a PWM duty cycle or a target RPM, and to read back the measured RPM, frequency and motor status. The [I²C Bus](https://esphome.io/components/i2c/) must be set up first.","category":"misc","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","image_url":"https://esphome.io/images/motor.png","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the driver. Defaults to `0x65`.","default_value":"101","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"Manually specify the ID of the [I²C Component](https://esphome.io/components/i2c/) if you need to use multiple I²C buses.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to poll the `rpm`, `frequency` and `status` readings below. Defaults to `1s`.","default_value":"1s","display_format":null,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables","duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The motor model wired to the driver. One of `low_speed` or `high_speed`. Defaults to `low_speed`.","default_value":"low_speed","options":[{"label":"low_speed","value":"low_speed"},{"label":"high_speed","value":"high_speed"}],"display_format":null,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"pole_pairs","type":"integer","label":"Pole Pairs","description":"The number of pole pairs of the motor, from `1` to `255`. The unit uses this to turn its pulse frequency measurement into RPM, so a wrong value makes the `rpm` sensor and closed loop control wrong too.","required":true,"range":[1,255],"display_format":null,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this `m5stack_unit_bldc` component if you need multiple components, or want to reference it from a `number`, `select`, `sensor` or `text_sensor` platform entry.","advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"direction","type":"string","label":"Direction","description":"The rotation direction at boot. One of `forward` or `backward`. Defaults to `forward`.","default_value":"forward","options":[{"label":"forward","value":"forward"},{"label":"backward","value":"backward"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"mode","type":"string","label":"Mode","description":"The control mode. One of `open_loop` or `closed_loop`. Defaults to `open_loop`.","default_value":"open_loop","options":[{"label":"open_loop","value":"open_loop"},{"label":"closed_loop","value":"closed_loop"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"pid","type":"nested","label":"PID","description":"PID gains for closed loop control, written to the unit at boot.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables","config_entries":[{"key":"d","type":"float","label":"D","description":"Derivative gain.","required":true,"range":[-21474836.48,21474836.47],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"i","type":"float","label":"I","description":"Integral gain.","required":true,"range":[-21474836.48,21474836.47],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"p","type":"float","label":"P","description":"Proportional gain.","required":true,"range":[-21474836.48,21474836.47],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"}]},{"key":"save_to_flash","type":"boolean","label":"Save To Flash","description":"Save the motor model, pole pairs and PID gains in the unit's own flash, so it keeps them without ESPHome. Defaults to `false`. To spare the unit's flash, ESPHome remembers what it saved and only writes the flash again when these settings change, not on every boot.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/microphone.usb_audio.json b/esphome_device_builder/definitions/components/microphone.usb_audio.json index 7c0228a77c..1d519e9680 100644 --- a/esphome_device_builder/definitions/components/microphone.usb_audio.json +++ b/esphome_device_builder/definitions/components/microphone.usb_audio.json @@ -1 +1 @@ -{"id":"microphone.usb_audio","name":"USB Audio Microphone","description":"The `usb_audio` microphone platform receives audio from a USB audio device, such as a USB microphone, sound card or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","category":"microphone","dependencies":["usb_audio"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"microphone","type":"string","label":"Microphone","description":"The [microphone](https://esphome.io/components/microphone/) to use for input.","required":true,"display_format":null,"help_link":"https://esphome.io/components/microphone/#microphone-source-configuration"},{"key":"usb_audio_id","type":"id","label":"USB Audio ID","description":"The [USB Audio](https://esphome.io/components/usb_audio/) component to use. Defaults to the only one in YAML.","display_format":null,"references_component":"usb_audio"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bits_per_sample","type":"string","label":"Bits Per Sample","description":"The bit depth of the audio samples. One of `8bit`, `16bit`, `24bit` or `32bit`. Must be supported by the USB device. Defaults to `16bit`.","default_value":"16bit","options":[{"label":"8bit","value":"8bit"},{"label":"16bit","value":"16bit"},{"label":"24bit","value":"24bit"},{"label":"32bit","value":"32bit"}],"display_format":null,"advanced":true},{"key":"buffer_size","type":"integer","label":"Buffer Size","description":"The size of the buffer between the USB driver and ESPHome, in bytes. Must hold at least 40 ms of audio (e.g. `1280` bytes at 16000 Hz, 16 bit, mono). Defaults to `6400`, or to the minimum when that is larger.","display_format":null,"advanced":true},{"key":"num_channels","type":"integer","label":"Num Channels","description":"The number of channels, `1` (mono) or `2` (stereo). Must be supported by the USB device. Defaults to `1`.","default_value":"1","range":[1,2],"display_format":null,"advanced":true},{"key":"sample_rate","type":"integer","label":"Sample Rate","description":"The sample rate of the audio stream, in Hz. Must be between `8000` and `96000` and supported by the USB device. Defaults to `16000`.","default_value":"16000","range":[8000,96000],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"microphone.usb_audio","name":"USB Audio Microphone","description":"The `usb_audio` microphone platform receives audio from a USB audio device, such as a USB microphone, sound card or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","category":"microphone","docs_url":"https://esphome.io/components/microphone/usb_audio/","image_url":"https://esphome.io/images/usb.svg","dependencies":["usb_audio"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"microphone","type":"string","label":"Microphone","description":"The [microphone](https://esphome.io/components/microphone/) to use for input.","required":true,"display_format":null,"help_link":"https://esphome.io/components/microphone/#microphone-source-configuration"},{"key":"usb_audio_id","type":"id","label":"USB Audio ID","description":"The [USB Audio](https://esphome.io/components/usb_audio/) component to use. Defaults to the only one in YAML.","display_format":null,"references_component":"usb_audio","help_link":"https://esphome.io/components/microphone/usb_audio/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bits_per_sample","type":"string","label":"Bits Per Sample","description":"The bit depth of the audio samples. One of `8bit`, `16bit`, `24bit` or `32bit`. Must be supported by the USB device. Defaults to `16bit`.","default_value":"16bit","options":[{"label":"8bit","value":"8bit"},{"label":"16bit","value":"16bit"},{"label":"24bit","value":"24bit"},{"label":"32bit","value":"32bit"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/microphone/usb_audio/#configuration-variables"},{"key":"buffer_size","type":"integer","label":"Buffer Size","description":"The size of the buffer between the USB driver and ESPHome, in bytes. Must hold at least 40 ms of audio (e.g. `1280` bytes at 16000 Hz, 16 bit, mono). Defaults to `6400`, or to the minimum when that is larger.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/microphone/usb_audio/#configuration-variables"},{"key":"num_channels","type":"integer","label":"Num Channels","description":"The number of channels, `1` (mono) or `2` (stereo). Must be supported by the USB device. Defaults to `1`.","default_value":"1","range":[1,2],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/microphone/usb_audio/#configuration-variables"},{"key":"sample_rate","type":"integer","label":"Sample Rate","description":"The sample rate of the audio stream, in Hz. Must be between `8000` and `96000` and supported by the USB device. Defaults to `16000`.","default_value":"16000","range":[8000,96000],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/microphone/usb_audio/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/modbus.json b/esphome_device_builder/definitions/components/modbus.json index 181dc18567..54ef381dce 100644 --- a/esphome_device_builder/definitions/components/modbus.json +++ b/esphome_device_builder/definitions/components/modbus.json @@ -1 +1 @@ -{"id":"modbus","name":"Modbus Component","description":"The Modbus protocol is used by many consumer and industrial devices for communication. This component allows components in ESPHome to communicate to those devices via RTU protocol. You can access the coils, discrete inputs, holding registers and input registers from your devices as sensors, switches, selects, numbers or various other ESPHome components and present them to your favorite Home Automation system. You can even write them as binary or float outputs from ESPHome.","category":"bus","docs_url":"https://esphome.io/components/modbus/","dependencies":["uart"],"multi_conf":true,"config_entries":[{"key":"role","type":"string","label":"Role","description":"The role of this component, client or server. Defaults to client.","default_value":"client","options":[{"label":"client","value":"client"},{"label":"server","value":"server"}],"display_format":null,"help_link":"https://esphome.io/components/modbus/#configuration-variables"},{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart) if you want to use multiple UART buses.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/modbus/#configuration-variables"},{"key":"flow_control_pin","type":"pin","label":"Flow Control Pin","description":"The pin used to switch flow control. This is useful for RS485 transceivers that do not have automatic flow control switching, like the common MAX485. If your UART supports `flow_control_pin`, you should configure this in the `uart` component, not in the `modbus` component.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/modbus/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/modbus/#configuration-variables"},{"key":"send_wait_time","type":"nested","label":"Send Wait Time","description":"Time in milliseconds before the next ModBUS command is sent when an answer from a previous command has not yet started (i.e. when to timeout and assume no response is coming). Defaults to 2000 ms. Set this value to the maximum time required for the slowest device on the bus to begin responding (time to first byte). If a device starts responding within this time, the next command will be queued and sent after the response is finished, no matter how long the response. This option is only valid when the `role` is `client`.","default_value":"2000ms","display_format":null,"depends_on":"role","advanced":true,"help_link":"https://esphome.io/components/modbus/#configuration-variables","config_entries":[{"key":"days","type":"float","label":"Days","display_format":null,"advanced":true},{"key":"hours","type":"float","label":"Hours","display_format":null,"advanced":true},{"key":"microseconds","type":"float","label":"Microseconds","display_format":null,"advanced":true},{"key":"milliseconds","type":"float","label":"Milliseconds","display_format":null,"advanced":true},{"key":"minutes","type":"float","label":"Minutes","display_format":null,"advanced":true},{"key":"seconds","type":"float","label":"Seconds","display_format":null,"advanced":true}],"depends_on_value_any":["client"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"turnaround_time","type":"nested","label":"Turnaround Time","description":"Time in milliseconds before the next ModBUS command is sent after last response is received. This interval allows other devices on the bus time to process messages. Defaults to 600 ms. This value is ideally set to the maximum time required for the slowest device on the bus to process a message and be ready to process another. Note that all devices will receive all messages and will require time to process them even if they don't need to reply. If devices don't respond sometimes, it can help to increase this value. This option is only valid when the `role` is `client`.","default_value":"600ms","display_format":null,"depends_on":"role","advanced":true,"help_link":"https://esphome.io/components/modbus/#configuration-variables","config_entries":[{"key":"days","type":"float","label":"Days","display_format":null,"advanced":true},{"key":"hours","type":"float","label":"Hours","display_format":null,"advanced":true},{"key":"microseconds","type":"float","label":"Microseconds","display_format":null,"advanced":true},{"key":"milliseconds","type":"float","label":"Milliseconds","display_format":null,"advanced":true},{"key":"minutes","type":"float","label":"Minutes","display_format":null,"advanced":true},{"key":"seconds","type":"float","label":"Seconds","display_format":null,"advanced":true}],"depends_on_value_any":["client"]}],"id_classes_by_variant":{"role":{"client":["modbus::Modbus","modbus::ModbusClientHub","uart::UARTDevice"],"server":["modbus::Modbus","modbus::ModbusServerHub","uart::UARTDevice"]}},"id_classes":["modbus::Modbus","modbus::ModbusClientHub","uart::UARTDevice"]} +{"id":"modbus","name":"Modbus Component","description":"The Modbus protocol is used by many consumer and industrial devices for communication. This component allows components in ESPHome to communicate to those devices via RTU protocol. You can access the coils, discrete inputs, holding registers and input registers from your devices as sensors, switches, selects, numbers or various other ESPHome components and present them to your favorite Home Automation system. You can even write them as binary or float outputs from ESPHome.","category":"bus","docs_url":"https://esphome.io/components/modbus/","dependencies":["uart"],"multi_conf":true,"config_entries":[{"key":"role","type":"string","label":"Role","description":"The role of this component, client or server. Defaults to client.","default_value":"client","options":[{"label":"client","value":"client"},{"label":"server","value":"server"}],"display_format":null,"help_link":"https://esphome.io/components/modbus/#configuration-variables"},{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart) if you want to use multiple UART buses.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/modbus/#configuration-variables"},{"key":"flow_control_pin","type":"pin","label":"Flow Control Pin","description":"The pin used to switch flow control. This is useful for RS485 transceivers that do not have automatic flow control switching, like the common MAX485. If your UART supports `flow_control_pin`, you should configure this in the `uart` component, not in the `modbus` component.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/modbus/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/modbus/#configuration-variables"},{"key":"send_wait_time","type":"nested","label":"Send Wait Time","description":"Time in milliseconds before the next ModBUS command is sent when an answer from a previous command has not yet started (i.e. when to timeout and assume no response is coming). Defaults to 2000 ms. Set this value to the maximum time required for the slowest device on the bus to begin responding (time to first byte). If a device starts responding within this time, the next command will be queued and sent after the response is finished, no matter how long the response. A reply that starts later, after the next command has gone out, is taken as the reply to that command if it goes to the same device with the same function code. The exception flag (bit 7) is not compared, so an exception reply is taken the same way. This option is only valid when the `role` is `client`.","default_value":"2000ms","display_format":null,"depends_on":"role","advanced":true,"help_link":"https://esphome.io/components/modbus/#configuration-variables","config_entries":[{"key":"days","type":"float","label":"Days","display_format":null,"advanced":true},{"key":"hours","type":"float","label":"Hours","display_format":null,"advanced":true},{"key":"microseconds","type":"float","label":"Microseconds","display_format":null,"advanced":true},{"key":"milliseconds","type":"float","label":"Milliseconds","display_format":null,"advanced":true},{"key":"minutes","type":"float","label":"Minutes","display_format":null,"advanced":true},{"key":"seconds","type":"float","label":"Seconds","display_format":null,"advanced":true}],"depends_on_value_any":["client"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"turnaround_time","type":"nested","label":"Turnaround Time","description":"Time in milliseconds before the next ModBUS command is sent after last response is received. This interval allows other devices on the bus time to process messages. Defaults to 600 ms. This value is ideally set to the maximum time required for the slowest device on the bus to process a message and be ready to process another. Note that all devices will receive all messages and will require time to process them even if they don't need to reply. If devices don't respond sometimes, it can help to increase this value. This option is only valid when the `role` is `client`.","default_value":"600ms","display_format":null,"depends_on":"role","advanced":true,"help_link":"https://esphome.io/components/modbus/#configuration-variables","config_entries":[{"key":"days","type":"float","label":"Days","display_format":null,"advanced":true},{"key":"hours","type":"float","label":"Hours","display_format":null,"advanced":true},{"key":"microseconds","type":"float","label":"Microseconds","display_format":null,"advanced":true},{"key":"milliseconds","type":"float","label":"Milliseconds","display_format":null,"advanced":true},{"key":"minutes","type":"float","label":"Minutes","display_format":null,"advanced":true},{"key":"seconds","type":"float","label":"Seconds","display_format":null,"advanced":true}],"depends_on_value_any":["client"]}],"id_classes_by_variant":{"role":{"client":["modbus::Modbus","modbus::ModbusClientHub","uart::UARTDevice"],"server":["modbus::Modbus","modbus::ModbusServerHub","uart::UARTDevice"]}},"id_classes":["modbus::Modbus","modbus::ModbusClientHub","uart::UARTDevice"]} diff --git a/esphome_device_builder/definitions/components/modbus_monitor.json b/esphome_device_builder/definitions/components/modbus_monitor.json index aaf154ece5..5e0375b3d4 100644 --- a/esphome_device_builder/definitions/components/modbus_monitor.json +++ b/esphome_device_builder/definitions/components/modbus_monitor.json @@ -1 +1 @@ -{"id":"modbus_monitor","name":"Modbus Monitor","description":"The `modbus_monitor` component runs automations for the requests and responses that a [Modbus](https://esphome.io/components/modbus/) hub handles. On a hub with the `server` role, that is each request the hub receives and the reply to it, sent by this hub or another device. On a hub with the `client` role, that is each request the hub sends and the reply to it.","category":"misc","dependencies":["modbus"],"multi_conf":true,"config_entries":[{"key":"modbus_id","type":"id","label":"Modbus ID","description":"The Modbus hub to watch. Automatically assigned when a single hub is configured.","display_format":null,"references_component":"modbus"}],"required_groups":[{"kind":"at_least_one","keys":["on_request","on_response"]}]} +{"id":"modbus_monitor","name":"Modbus Monitor","description":"The `modbus_monitor` component runs automations for the requests and responses that a [Modbus](https://esphome.io/components/modbus/) hub handles. On a hub with the `server` role, that is each request the hub receives and the reply to it, sent by this hub or another device. On a hub with the `client` role, that is each request the hub sends and the reply to it.","category":"misc","docs_url":"https://esphome.io/components/modbus_monitor/","image_url":"https://esphome.io/images/modbus.png","dependencies":["modbus"],"multi_conf":true,"config_entries":[{"key":"modbus_id","type":"id","label":"Modbus ID","description":"The Modbus hub to watch. Automatically assigned when a single hub is configured.","display_format":null,"references_component":"modbus","help_link":"https://esphome.io/components/modbus_monitor/#configuration-variables"}],"required_groups":[{"kind":"at_least_one","keys":["on_request","on_response"]}]} diff --git a/esphome_device_builder/definitions/components/modem.json b/esphome_device_builder/definitions/components/modem.json index bade665ad8..57662c3d36 100644 --- a/esphome_device_builder/definitions/components/modem.json +++ b/esphome_device_builder/definitions/components/modem.json @@ -1 +1 @@ -{"id":"modem","name":"Modem Component","description":"The `modem` component connects an ESP32 to the internet through a cellular modem attached to a UART. The modem carries the traffic over PPP, so the [API](https://esphome.io/components/api/), [MQTT](https://esphome.io/components/mqtt/) and OTA updates work as they do over Wi-Fi or Ethernet.","category":"misc","dependencies":["esp32"],"supported_platforms":["esp32"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the [Modem Sensor](https://esphome.io/components/sensor/modem/) and the `network_type` [Modem Text Sensor](https://esphome.io/components/text_sensor/modem/) query the modem while it is connected, at least `10s`. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The modem model, one of `BG96`, `SIM800`, `SIM7000`, `SIM7070`, `SIM7080`, `SIM7600`, `SIM7670` or `GENERIC`. `GENERIC` drives a modem that is not listed with the standard AT commands. Every modem, `GENERIC` included, must support CMUX (3GPP TS 27.010), which the component uses to keep AT commands working while the data link is up.","required":true,"options":[{"label":"BG96","value":"BG96"},{"label":"SIM800","value":"SIM800"},{"label":"SIM7000","value":"SIM7000"},{"label":"SIM7070","value":"SIM7070"},{"label":"SIM7080","value":"SIM7080"},{"label":"SIM7600","value":"SIM7600"},{"label":"SIM7670","value":"SIM7670"},{"label":"GENERIC","value":"GENERIC"}],"display_format":null},{"key":"apn","type":"string","label":"Apn","description":"The Access Point Name (APN) of your cellular operator.","required":true,"display_format":null},{"key":"cts_pin","type":"pin","label":"Cts Pin","description":"**Set together — all of these must be set, or all left blank:** `rts_pin`, `cts_pin`.\n\nThe `CTS` pin for hardware flow control. Must be set together with `rts_pin`.","display_format":null,"pin_mode":"input","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"rts_pin","type":"pin","label":"Rts Pin","description":"**Set together — all of these must be set, or all left blank:** `rts_pin`, `cts_pin`.\n\nThe `RTS` pin for hardware flow control. Must be set together with `cts_pin`.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"rx_pin","type":"pin","label":"RX Pin","description":"The pin that receives data from the modem, connected to the modem's `TX` pin.","required":true,"display_format":null,"pin_mode":"input","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"tx_pin","type":"pin","label":"TX Pin","description":"The pin that sends data to the modem, connected to the modem's `RX` pin.","required":true,"display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"baud_rate","type":"integer","label":"Baud Rate","description":"The baud rate to run the link at. The component first finds the rate the modem answers at (the last rate that worked, this one, then `115200`), then asks the modem to switch to `baud_rate`. Defaults to the rate the modem answers at.","display_format":null,"advanced":true},{"key":"dte_buffer_size","type":"integer","label":"Dte Buffer Size","description":"The size of the modem library's command buffer in bytes. Increase it if the log shows `CMUX: Failed to defragment longer payload`. Defaults to `1024`.","default_value":"1024","range":[256,65535],"display_format":null,"advanced":true},{"key":"enable_on_boot","type":"boolean","label":"Enable On Boot","description":"Whether to connect the modem when the device starts. Set this to `false` when the modem has to be powered on first, then use the `modem.enable` action. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"init_at","type":"string","label":"Init At","description":"AT commands to send once the modem answers, before it attaches to the network, each up to 127 characters. Each result is logged, and a failed command is shown in the component's status, also while connected, until a later attempt runs it without failure.","display_format":null,"multi_value":true,"advanced":true},{"key":"pin_code","type":"secure_string","label":"Pin Code","description":"The PIN of the SIM card, 4 to 8 digits. It is sent at most twice, counted across reboots, without the SIM reporting that it is unlocked, so a wrong PIN stops the modem instead of locking the SIM. A PIN the SIM refuses uses up both sends at once. Once the SIM reports that it is unlocked, the count starts again from zero. A changed `pin_code` also starts from zero. To clear the count for the same PIN, remove `pin_code`, flash once, and add it back.","display_format":null,"advanced":true},{"key":"reboot_timeout","type":"time_period","label":"Reboot Timeout","description":"How long the device may stay without a connection before it reboots. Set to `0s` to never reboot. Defaults to `10min`.","default_value":"10min","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"rx_buffer_size","type":"integer","label":"RX Buffer Size","description":"The size of the UART receive buffer in bytes, from `129` to `65535`. Defaults to `1024`.","default_value":"1024","range":[129,65535],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"tx_buffer_size","type":"integer","label":"TX Buffer Size","description":"The size of the UART transmit buffer in bytes, from `129` to `65535`. Defaults to `1024`.","default_value":"1024","range":[129,65535],"display_format":null,"advanced":true},{"key":"use_address","type":"string","label":"Use Address","description":"The address the ESPHome tools use to reach the device, for example for OTA updates and logs. Defaults to `.local`.","display_format":null,"advanced":true}],"required_groups":[{"kind":"none_or_all","keys":["rts_pin","cts_pin"]}]} +{"id":"modem","name":"Modem Component","description":"The `modem` component connects an ESP32 to the internet through a cellular modem attached to a UART. The modem carries the traffic over PPP, so the [API](https://esphome.io/components/api/), [MQTT](https://esphome.io/components/mqtt/) and OTA updates work as they do over Wi-Fi or Ethernet.","category":"misc","docs_url":"https://esphome.io/components/modem/","image_url":"https://esphome.io/images/modem.svg","dependencies":["esp32"],"supported_platforms":["esp32"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the [Modem Sensor](https://esphome.io/components/sensor/modem/) and the `network_type` [Modem Text Sensor](https://esphome.io/components/text_sensor/modem/) query the modem while it is connected, at least `10s`. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/modem/#configuration-variables","duration_min_unit":"ms"},{"key":"model","type":"string","label":"Model","description":"The modem model, one of `BG96`, `SIM800`, `SIM7000`, `SIM7070`, `SIM7080`, `SIM7600`, `SIM7670` or `GENERIC`. `GENERIC` drives a modem that is not listed with the standard AT commands. Every modem, `GENERIC` included, must support CMUX (3GPP TS 27.010), which the component uses to keep AT commands working while the data link is up.","required":true,"options":[{"label":"BG96","value":"BG96"},{"label":"SIM800","value":"SIM800"},{"label":"SIM7000","value":"SIM7000"},{"label":"SIM7070","value":"SIM7070"},{"label":"SIM7080","value":"SIM7080"},{"label":"SIM7600","value":"SIM7600"},{"label":"SIM7670","value":"SIM7670"},{"label":"GENERIC","value":"GENERIC"}],"display_format":null,"help_link":"https://esphome.io/components/modem/#configuration-variables"},{"key":"apn","type":"string","label":"Apn","description":"The Access Point Name (APN) of your cellular operator.","required":true,"display_format":null,"help_link":"https://esphome.io/components/modem/#configuration-variables"},{"key":"cts_pin","type":"pin","label":"Cts Pin","description":"**Set together — all of these must be set, or all left blank:** `rts_pin`, `cts_pin`.\n\nThe `CTS` pin for hardware flow control. Must be set together with `rts_pin`.","display_format":null,"pin_mode":"input","help_link":"https://esphome.io/components/modem/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"rts_pin","type":"pin","label":"Rts Pin","description":"**Set together — all of these must be set, or all left blank:** `rts_pin`, `cts_pin`.\n\nThe `RTS` pin for hardware flow control. Must be set together with `cts_pin`.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/modem/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"rx_pin","type":"pin","label":"RX Pin","description":"The pin that receives data from the modem, connected to the modem's `TX` pin.","required":true,"display_format":null,"pin_mode":"input","help_link":"https://esphome.io/components/modem/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"tx_pin","type":"pin","label":"TX Pin","description":"The pin that sends data to the modem, connected to the modem's `RX` pin.","required":true,"display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/modem/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/modem/#configuration-variables"},{"key":"baud_rate","type":"integer","label":"Baud Rate","description":"The baud rate to run the link at. The component first finds the rate the modem answers at (the last rate that worked, this one, then `115200`), then asks the modem to switch to `baud_rate`. Defaults to the rate the modem answers at.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#configuration-variables"},{"key":"dte_buffer_size","type":"integer","label":"Dte Buffer Size","description":"The size of the modem library's command buffer in bytes. Increase it if the log shows `CMUX: Failed to defragment longer payload`. Defaults to `1024`.","default_value":"1024","range":[256,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#advanced-options"},{"key":"enable_on_boot","type":"boolean","label":"Enable On Boot","description":"Whether to connect the modem when the device starts. Set this to `false` when the modem has to be powered on first, then use the `modem.enable` action. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#configuration-variables"},{"key":"init_at","type":"string","label":"Init At","description":"AT commands to send once the modem answers, before it attaches to the network, each up to 127 characters. Each result is logged, and a failed command is shown in the component's status, also while connected, until a later attempt runs it without failure.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/modem/#configuration-variables"},{"key":"pin_code","type":"secure_string","label":"Pin Code","description":"The PIN of the SIM card, 4 to 8 digits. It is sent at most twice, counted across reboots, without the SIM reporting that it is unlocked, so a wrong PIN stops the modem instead of locking the SIM. A PIN the SIM refuses uses up both sends at once. Once the SIM reports that it is unlocked, the count starts again from zero. A changed `pin_code` also starts from zero. To clear the count for the same PIN, remove `pin_code`, flash once, and add it back.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#configuration-variables"},{"key":"reboot_timeout","type":"time_period","label":"Reboot Timeout","description":"How long the device may stay without a connection before it reboots. Set to `0s` to never reboot. Defaults to `10min`.","default_value":"10min","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#configuration-variables","duration_min_unit":"ms"},{"key":"rx_buffer_size","type":"integer","label":"RX Buffer Size","description":"The size of the UART receive buffer in bytes, from `129` to `65535`. Defaults to `1024`.","default_value":"1024","range":[129,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#advanced-options"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"tx_buffer_size","type":"integer","label":"TX Buffer Size","description":"The size of the UART transmit buffer in bytes, from `129` to `65535`. Defaults to `1024`.","default_value":"1024","range":[129,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#advanced-options"},{"key":"use_address","type":"string","label":"Use Address","description":"The address the ESPHome tools use to reach the device, for example for OTA updates and logs. Defaults to `.local`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/modem/#configuration-variables"}],"required_groups":[{"kind":"none_or_all","keys":["rts_pin","cts_pin"]}]} diff --git a/esphome_device_builder/definitions/components/motion.icm20689.json b/esphome_device_builder/definitions/components/motion.icm20689.json index 73f5a17a40..bf0e8dbf2e 100644 --- a/esphome_device_builder/definitions/components/motion.icm20689.json +++ b/esphome_device_builder/definitions/components/motion.icm20689.json @@ -1 +1 @@ -{"id":"motion.icm20689","name":"ICM-20689 Accelerometer/Gyroscope Sensor","description":"The `icm20689` motion platform allows you to use your TDK InvenSense ICM-20689 Accelerometer/Gyroscope sensors with ESPHome. The [SPI Bus](https://esphome.io/components/spi/) is required to be set up in your configuration for this sensor to work.","category":"motion","dependencies":["spi"],"multi_conf":true,"provides":["icm20689"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval at which sensor data is read. Defaults to `250ms`.","default_value":"250ms","display_format":null,"help_link":"https://esphome.io/components/motion/#base-configuration","duration_min_unit":"ms"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The CS pin of the sensor.","required":true,"display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"accelerometer_range","type":"string","label":"Accelerometer Range","description":"The full-scale range of the accelerometer. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G`.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true},{"key":"axis_map","type":"nested","label":"Axis Map","description":"Remap or invert the physical axes of the sensor to match your board orientation. Each key (`x`, `y`, `z`) maps to the physical axis it should read from, optionally prefixed with `-` to invert. All three axes must be present and each physical axis may only appear once. Mutually exclusive with `transform_matrix`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration","config_entries":[{"key":"x","type":"string","label":"X","required":true,"display_format":null,"advanced":true},{"key":"y","type":"string","label":"Y","required":true,"display_format":null,"advanced":true},{"key":"z","type":"string","label":"Z","required":true,"display_format":null,"advanced":true}]},{"key":"data_rate","type":"string","label":"Data Rate","default_value":"1MHz","display_format":null,"advanced":true},{"key":"gyroscope_range","type":"string","label":"Gyroscope Range","description":"The full-scale range of the gyroscope. One of `250DPS`, `500DPS`, `1000DPS`, `2000DPS`. Defaults to `250DPS`.","default_value":"250DPS","options":[{"label":"250DPS","value":"250DPS"},{"label":"500DPS","value":"500DPS"},{"label":"1000DPS","value":"1000DPS"},{"label":"2000DPS","value":"2000DPS"}],"display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","default_value":"MODE0","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true},{"key":"transform_matrix","type":"string","label":"Transform Matrix","description":"A 3×3 transformation matrix applied to raw accelerometer and gyroscope readings. This allows arbitrary calibration beyond simple axis remapping. Can be specified as a flat list of 9 values (row-major order) or as a 3×3 nested list. Mutually exclusive with `axis_map`. The matrix can be obtained from the runtime calibration actions described below — after calibration the computed matrix is logged in a format that can be copied directly into your configuration for persistent use.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration"}]} +{"id":"motion.icm20689","name":"ICM-20689 Accelerometer/Gyroscope Sensor","description":"The `icm20689` motion platform allows you to use your TDK InvenSense ICM-20689 Accelerometer/Gyroscope sensors with ESPHome. The [SPI Bus](https://esphome.io/components/spi/) is required to be set up in your configuration for this sensor to work.","category":"motion","docs_url":"https://esphome.io/components/motion/icm20689/","image_url":"https://esphome.io/images/imu.svg","dependencies":["spi"],"multi_conf":true,"provides":["icm20689"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval at which sensor data is read. Defaults to `250ms`.","default_value":"250ms","display_format":null,"help_link":"https://esphome.io/components/motion/#base-configuration","duration_min_unit":"ms"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The CS pin of the sensor.","required":true,"display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/motion/icm20689/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"accelerometer_range","type":"string","label":"Accelerometer Range","description":"The full-scale range of the accelerometer. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G`.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/icm20689/#configuration-variables"},{"key":"axis_map","type":"nested","label":"Axis Map","description":"Remap or invert the physical axes of the sensor to match your board orientation. Each key (`x`, `y`, `z`) maps to the physical axis it should read from, optionally prefixed with `-` to invert. All three axes must be present and each physical axis may only appear once. Mutually exclusive with `transform_matrix`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration","config_entries":[{"key":"x","type":"string","label":"X","required":true,"display_format":null,"advanced":true},{"key":"y","type":"string","label":"Y","required":true,"display_format":null,"advanced":true},{"key":"z","type":"string","label":"Z","required":true,"display_format":null,"advanced":true}]},{"key":"data_rate","type":"string","label":"Data Rate","default_value":"1MHz","display_format":null,"advanced":true},{"key":"gyroscope_range","type":"string","label":"Gyroscope Range","description":"The full-scale range of the gyroscope. One of `250DPS`, `500DPS`, `1000DPS`, `2000DPS`. Defaults to `250DPS`.","default_value":"250DPS","options":[{"label":"250DPS","value":"250DPS"},{"label":"500DPS","value":"500DPS"},{"label":"1000DPS","value":"1000DPS"},{"label":"2000DPS","value":"2000DPS"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/icm20689/#configuration-variables"},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","default_value":"MODE0","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true},{"key":"transform_matrix","type":"string","label":"Transform Matrix","description":"A 3×3 transformation matrix applied to raw accelerometer and gyroscope readings. This allows arbitrary calibration beyond simple axis remapping. Can be specified as a flat list of 9 values (row-major order) or as a 3×3 nested list. Mutually exclusive with `axis_map`. The matrix can be obtained from the runtime calibration actions described below — after calibration the computed matrix is logged in a format that can be copied directly into your configuration for persistent use.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration"}]} diff --git a/esphome_device_builder/definitions/components/motion.lis3dh.json b/esphome_device_builder/definitions/components/motion.lis3dh.json index c0f2fec97e..8a45e977b5 100644 --- a/esphome_device_builder/definitions/components/motion.lis3dh.json +++ b/esphome_device_builder/definitions/components/motion.lis3dh.json @@ -1 +1 @@ -{"id":"motion.lis3dh","name":"LIS3DH Accelerometer","description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","category":"motion","dependencies":["i2c"],"multi_conf":true,"provides":["lis3dh"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the sensor. Defaults to `0x18`; on boards where the SDO/SA0 pin is tied high it is `0x19`.","default_value":"24","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval at which sensor data is read. Defaults to `250ms`.","default_value":"250ms","display_format":null,"help_link":"https://esphome.io/components/motion/#base-configuration","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"accelerometer_odr","type":"string","label":"Accelerometer Odr","description":"The output data rate of the accelerometer. One of `1HZ`, `10HZ`, `25HZ`, `50HZ`, `100HZ`, `200HZ`, `400HZ`, `1620HZ`, `1344HZ`. Defaults to `100HZ`. `1620HZ` needs `operating_mode: LOW_POWER`, and `1344HZ` is rejected in that mode because the chip would then run at 5376 Hz.","default_value":"100HZ","options":[{"label":"1HZ","value":"1HZ"},{"label":"10HZ","value":"10HZ"},{"label":"25HZ","value":"25HZ"},{"label":"50HZ","value":"50HZ"},{"label":"100HZ","value":"100HZ"},{"label":"200HZ","value":"200HZ"},{"label":"400HZ","value":"400HZ"},{"label":"1620HZ","value":"1620HZ"},{"label":"1344HZ","value":"1344HZ"}],"display_format":null,"advanced":true},{"key":"accelerometer_range","type":"string","label":"Accelerometer Range","description":"The full-scale range of the accelerometer. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G`. A smaller range gives finer resolution; a larger range measures stronger accelerations.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true},{"key":"axis_map","type":"nested","label":"Axis Map","description":"Remap or invert the physical axes of the sensor to match your board orientation. Each key (`x`, `y`, `z`) maps to the physical axis it should read from, optionally prefixed with `-` to invert. All three axes must be present and each physical axis may only appear once. Mutually exclusive with `transform_matrix`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration","config_entries":[{"key":"x","type":"string","label":"X","required":true,"display_format":null,"advanced":true},{"key":"y","type":"string","label":"Y","required":true,"display_format":null,"advanced":true},{"key":"z","type":"string","label":"Z","required":true,"display_format":null,"advanced":true}]},{"key":"interrupt","type":"nested","label":"Interrupt","description":"Configure the on-chip motion (activity) interrupt. When present, the LIS3DH drives one of its physical INT pads whenever the acceleration crosses the threshold. See [Motion Wake-Up](https://esphome.io/components/motion/lis3dh/#motion-wake-up) below.","display_format":null,"advanced":true,"config_entries":[{"key":"pin","type":"string","label":"Pin","description":"Which physical interrupt pad to drive, `INT1` or `INT2`. Defaults to `INT1`.","default_value":"INT1","options":[{"label":"INT1","value":"INT1"},{"label":"INT2","value":"INT2"}],"display_format":null,"advanced":true},{"key":"active_high","type":"boolean","label":"Active High","description":"The polarity of the interrupt pad. `true` = the pad goes high when the interrupt is active, `false` = it goes low. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"axes","type":"string","label":"Axes","description":"Which axes may trigger the interrupt, any of `x`, `y`, `z`. Defaults to all three.","default_value":"['x', 'y', 'z']","display_format":null,"advanced":true},{"key":"duration","type":"time_period","label":"Duration","description":"How long the threshold must be exceeded before the interrupt fires. It is rounded to whole samples at the selected `accelerometer_odr` and can be at most 127 samples (for example `1270ms` at `100HZ`). Defaults to `0ms`.","default_value":"0ms","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"high_pass_filter","type":"boolean","label":"High Pass Filter","description":"Apply the high-pass filter to the interrupt so the standing gravity component is removed from the threshold comparison, letting you use a small threshold (the change in acceleration). The reported acceleration values are not affected. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"latched","type":"boolean","label":"Latched","description":"If `true`, the interrupt stays asserted until the interrupt source register is read (which happens automatically on the next boot). If `false`, the pad follows the motion. Defaults to `true`. For deep-sleep wake-up, `false` is often preferable so the device can return to sleep once movement stops.","default_value":true,"display_format":null,"advanced":true},{"key":"threshold","type":"float_with_unit","label":"Threshold","description":"The acceleration above which the interrupt fires. Defaults to `1.1g`. Each enabled axis is compared separately against this value. At rest the axis aligned with gravity reads about 1 g, so with all axes enabled the threshold should stay above `1g`; a value of `1g` or less without `high_pass_filter` is accepted but logs a warning, since gravity alone may then keep the interrupt asserted. Enable `high_pass_filter` to compare against the *change* in acceleration instead, which allows much smaller values. The value cannot exceed what the selected `accelerometer_range` can represent (about `2g` at `2G`, `4g` at `4G`, `7.9g` at `8G` and `23.6g` at `16G`).","default_value":"1.1g","display_format":null,"advanced":true,"platform_type":"motion","unit_options":["G","nG","µG","mG","kG","MG","GG"]}]},{"key":"operating_mode","type":"string","label":"Operating Mode","description":"Selects the resolution, which also affects power usage. One of `LOW_POWER` (8-bit), `NORMAL` (10-bit), `HIGH_RESOLUTION` (12-bit). Defaults to `HIGH_RESOLUTION`.","default_value":"HIGH_RESOLUTION","options":[{"label":"LOW_POWER","value":"LOW_POWER"},{"label":"NORMAL","value":"NORMAL"},{"label":"HIGH_RESOLUTION","value":"HIGH_RESOLUTION"}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"transform_matrix","type":"string","label":"Transform Matrix","description":"A 3×3 transformation matrix applied to raw accelerometer and gyroscope readings. This allows arbitrary calibration beyond simple axis remapping. Can be specified as a flat list of 9 values (row-major order) or as a 3×3 nested list. Mutually exclusive with `axis_map`. The matrix can be obtained from the runtime calibration actions described below — after calibration the computed matrix is logged in a format that can be copied directly into your configuration for persistent use.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration"}]} +{"id":"motion.lis3dh","name":"LIS3DH Accelerometer","description":"The `lis3dh` motion platform allows you to use your LIS3DH 3-axis accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this sensor to work.","category":"motion","docs_url":"https://esphome.io/components/motion/lis3dh/","image_url":"https://esphome.io/images/imu.svg","dependencies":["i2c"],"multi_conf":true,"provides":["lis3dh"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the sensor. Defaults to `0x18`; on boards where the SDO/SA0 pin is tied high it is `0x19`.","default_value":"24","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval at which sensor data is read. Defaults to `250ms`.","default_value":"250ms","display_format":null,"help_link":"https://esphome.io/components/motion/#base-configuration","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"accelerometer_odr","type":"string","label":"Accelerometer Odr","description":"The output data rate of the accelerometer. One of `1HZ`, `10HZ`, `25HZ`, `50HZ`, `100HZ`, `200HZ`, `400HZ`, `1620HZ`, `1344HZ`. Defaults to `100HZ`. `1620HZ` needs `operating_mode: LOW_POWER`, and `1344HZ` is rejected in that mode because the chip would then run at 5376 Hz.","default_value":"100HZ","options":[{"label":"1HZ","value":"1HZ"},{"label":"10HZ","value":"10HZ"},{"label":"25HZ","value":"25HZ"},{"label":"50HZ","value":"50HZ"},{"label":"100HZ","value":"100HZ"},{"label":"200HZ","value":"200HZ"},{"label":"400HZ","value":"400HZ"},{"label":"1620HZ","value":"1620HZ"},{"label":"1344HZ","value":"1344HZ"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"accelerometer_range","type":"string","label":"Accelerometer Range","description":"The full-scale range of the accelerometer. One of `2G`, `4G`, `8G`, `16G`. Defaults to `2G`. A smaller range gives finer resolution; a larger range measures stronger accelerations.","default_value":"2G","options":[{"label":"2G","value":"2G"},{"label":"4G","value":"4G"},{"label":"8G","value":"8G"},{"label":"16G","value":"16G"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"axis_map","type":"nested","label":"Axis Map","description":"Remap or invert the physical axes of the sensor to match your board orientation. Each key (`x`, `y`, `z`) maps to the physical axis it should read from, optionally prefixed with `-` to invert. All three axes must be present and each physical axis may only appear once. Mutually exclusive with `transform_matrix`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration","config_entries":[{"key":"x","type":"string","label":"X","required":true,"display_format":null,"advanced":true},{"key":"y","type":"string","label":"Y","required":true,"display_format":null,"advanced":true},{"key":"z","type":"string","label":"Z","required":true,"display_format":null,"advanced":true}]},{"key":"interrupt","type":"nested","label":"Interrupt","description":"Configure the on-chip motion (activity) interrupt. When present, the LIS3DH drives one of its physical INT pads whenever the acceleration crosses the threshold. See [Motion Wake-Up](https://esphome.io/components/motion/lis3dh/#motion-wake-up) below.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables","config_entries":[{"key":"pin","type":"string","label":"Pin","description":"Which physical interrupt pad to drive, `INT1` or `INT2`. Defaults to `INT1`.","default_value":"INT1","options":[{"label":"INT1","value":"INT1"},{"label":"INT2","value":"INT2"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"active_high","type":"boolean","label":"Active High","description":"The polarity of the interrupt pad. `true` = the pad goes high when the interrupt is active, `false` = it goes low. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"axes","type":"string","label":"Axes","description":"Which axes may trigger the interrupt, any of `x`, `y`, `z`. Defaults to all three.","default_value":"['x', 'y', 'z']","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"duration","type":"time_period","label":"Duration","description":"How long the threshold must be exceeded before the interrupt fires. It is rounded to whole samples at the selected `accelerometer_odr` and can be at most 127 samples (for example `1270ms` at `100HZ`). Defaults to `0ms`.","default_value":"0ms","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables","duration_min_unit":"ms"},{"key":"high_pass_filter","type":"boolean","label":"High Pass Filter","description":"Apply the high-pass filter to the interrupt so the standing gravity component is removed from the threshold comparison, letting you use a small threshold (the change in acceleration). The reported acceleration values are not affected. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"latched","type":"boolean","label":"Latched","description":"If `true`, the interrupt stays asserted until the interrupt source register is read (which happens automatically on the next boot). If `false`, the pad follows the motion. Defaults to `true`. For deep-sleep wake-up, `false` is often preferable so the device can return to sleep once movement stops.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"threshold","type":"float_with_unit","label":"Threshold","description":"The acceleration above which the interrupt fires. Defaults to `1.1g`. Each enabled axis is compared separately against this value. At rest the axis aligned with gravity reads about 1 g, so with all axes enabled the threshold should stay above `1g`; a value of `1g` or less without `high_pass_filter` is accepted but logs a warning, since gravity alone may then keep the interrupt asserted. Enable `high_pass_filter` to compare against the *change* in acceleration instead, which allows much smaller values. The value cannot exceed what the selected `accelerometer_range` can represent (about `2g` at `2G`, `4g` at `4G`, `7.9g` at `8G` and `23.6g` at `16G`).","default_value":"1.1g","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables","platform_type":"motion","unit_options":["G","nG","µG","mG","kG","MG","GG"]}]},{"key":"operating_mode","type":"string","label":"Operating Mode","description":"Selects the resolution, which also affects power usage. One of `LOW_POWER` (8-bit), `NORMAL` (10-bit), `HIGH_RESOLUTION` (12-bit). Defaults to `HIGH_RESOLUTION`.","default_value":"HIGH_RESOLUTION","options":[{"label":"LOW_POWER","value":"LOW_POWER"},{"label":"NORMAL","value":"NORMAL"},{"label":"HIGH_RESOLUTION","value":"HIGH_RESOLUTION"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/lis3dh/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"transform_matrix","type":"string","label":"Transform Matrix","description":"A 3×3 transformation matrix applied to raw accelerometer and gyroscope readings. This allows arbitrary calibration beyond simple axis remapping. Can be specified as a flat list of 9 values (row-major order) or as a 3×3 nested list. Mutually exclusive with `axis_map`. The matrix can be obtained from the runtime calibration actions described below — after calibration the computed matrix is logged in a format that can be copied directly into your configuration for persistent use.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/motion/#base-configuration"}]} diff --git a/esphome_device_builder/definitions/components/mt6701_i2c.json b/esphome_device_builder/definitions/components/mt6701_i2c.json index 210b99bac9..1bd3393762 100644 --- a/esphome_device_builder/definitions/components/mt6701_i2c.json +++ b/esphome_device_builder/definitions/components/mt6701_i2c.json @@ -1 +1 @@ -{"id":"mt6701_i2c","name":"Mt6701 I²C","description":"","category":"misc","dependencies":["i2c"],"multi_conf":true,"provides":["mt6701"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x06`. The chip can be programmed to the alternate address `0x46`.","default_value":"6","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"abz","type":"nested","label":"Abz","description":"ABZ incremental output settings.","display_format":null,"advanced":true,"config_entries":[{"key":"pulses_per_revolution","type":"integer","label":"Pulses Per Revolution","description":"AB pulses per turn, `1`-`1024`.","range":[1,1024],"display_format":null,"advanced":true},{"key":"z_pulse_width","type":"string","label":"Z Pulse Width","description":"Width of the Z index pulse. One of `1lsb`, `2lsb`, `4lsb`, `8lsb`, `12lsb`, `16lsb`, `180deg`.","options":[{"label":"1LSB","value":"1LSB"},{"label":"2LSB","value":"2LSB"},{"label":"4LSB","value":"4LSB"},{"label":"8LSB","value":"8LSB"},{"label":"12LSB","value":"12LSB"},{"label":"16LSB","value":"16LSB"},{"label":"180DEG","value":"180DEG"}],"display_format":null,"advanced":true}]},{"key":"direction","type":"string","label":"Direction","description":"The rotation direction in which the angle increases. Follows the datasheet's `DIR` bit (`clockwise` writes `DIR = 1`). If your encoder counts the wrong way, flip this. Not written unless specified.","options":[{"label":"CLOCKWISE","value":"CLOCKWISE"},{"label":"COUNTERCLOCKWISE","value":"COUNTERCLOCKWISE"}],"display_format":null,"advanced":true},{"key":"hysteresis","type":"float","label":"Hysteresis","description":"Output hysteresis window in LSBs of the 12-bit output. One of `0` (off), `0.25`, `0.5`, `1`, `2`, `4`, `8`.","display_format":null,"advanced":true},{"key":"out_pin","type":"nested","label":"Out Pin","description":"Analog / PWM output pin settings.","display_format":null,"advanced":true,"config_entries":[{"key":"mode","type":"string","label":"Mode","description":"Output-pin mode, `analog` or `pwm`.","required":true,"options":[{"label":"ANALOG","value":"ANALOG"},{"label":"PWM","value":"PWM"}],"display_format":null,"advanced":true},{"key":"analog_start","type":"string","label":"Analog Start","description":"Start angle of the analog or PWM output range (12-bit, same units as **zero_offset**).","display_format":null,"advanced":true},{"key":"analog_stop","type":"string","label":"Analog Stop","description":"Stop angle of the analog or PWM output range (12-bit, same units as **zero_offset**).","display_format":null,"advanced":true},{"key":"pwm_frequency","type":"string","label":"PWM Frequency","description":"`994.4hz` or `497.2hz`.","options":[{"label":"994.4HZ","value":"994.4HZ"},{"label":"497.2HZ","value":"497.2HZ"}],"display_format":null,"advanced":true},{"key":"pwm_polarity","type":"string","label":"PWM Polarity","description":"`high` or `low`.","options":[{"label":"HIGH","value":"HIGH"},{"label":"LOW","value":"LOW"}],"display_format":null,"advanced":true}]},{"key":"output_mode","type":"string","label":"Output Mode","description":"Selects the incremental output format on the shared output pins.","options":[{"label":"ABZ","value":"ABZ"},{"label":"UVW","value":"UVW"}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"uvw","type":"nested","label":"Uvw","description":"UVW output settings.","display_format":null,"advanced":true,"config_entries":[{"key":"pole_pairs","type":"integer","label":"Pole Pairs","description":"Emulated motor pole pairs, `1`-`16`.","required":true,"range":[1,16],"display_format":null,"advanced":true}]},{"key":"zero_offset","type":"string","label":"Zero Offset","description":"The angle reported as `0`. Accepts a raw 12-bit count (`0`-`4095`), an angle (`45deg`, `90°`) or a percentage of a full turn (`12.5%`).","display_format":null,"advanced":true}]} +{"id":"mt6701_i2c","name":"Mt6701 I²C","description":"","category":"misc","docs_url":"https://esphome.io/components/sensor/mt6701#i2c-hub","dependencies":["i2c"],"multi_conf":true,"provides":["mt6701"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x06`. The chip can be programmed to the alternate address `0x46`.","default_value":"6","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"abz","type":"nested","label":"Abz","description":"ABZ incremental output settings.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables","config_entries":[{"key":"pulses_per_revolution","type":"integer","label":"Pulses Per Revolution","description":"AB pulses per turn, `1`-`1024`.","range":[1,1024],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"z_pulse_width","type":"string","label":"Z Pulse Width","description":"Width of the Z index pulse. One of `1lsb`, `2lsb`, `4lsb`, `8lsb`, `12lsb`, `16lsb`, `180deg`.","options":[{"label":"1LSB","value":"1LSB"},{"label":"2LSB","value":"2LSB"},{"label":"4LSB","value":"4LSB"},{"label":"8LSB","value":"8LSB"},{"label":"12LSB","value":"12LSB"},{"label":"16LSB","value":"16LSB"},{"label":"180DEG","value":"180DEG"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"}]},{"key":"direction","type":"string","label":"Direction","description":"The rotation direction in which the angle increases. Follows the datasheet's `DIR` bit (`clockwise` writes `DIR = 1`). If your encoder counts the wrong way, flip this. Not written unless specified.","options":[{"label":"CLOCKWISE","value":"CLOCKWISE"},{"label":"COUNTERCLOCKWISE","value":"COUNTERCLOCKWISE"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"hysteresis","type":"float","label":"Hysteresis","description":"Output hysteresis window in LSBs of the 12-bit output. One of `0` (off), `0.25`, `0.5`, `1`, `2`, `4`, `8`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"out_pin","type":"nested","label":"Out Pin","description":"Analog / PWM output pin settings.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables","config_entries":[{"key":"mode","type":"string","label":"Mode","description":"Output-pin mode, `analog` or `pwm`.","required":true,"options":[{"label":"ANALOG","value":"ANALOG"},{"label":"PWM","value":"PWM"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"analog_start","type":"string","label":"Analog Start","description":"Start angle of the analog or PWM output range (12-bit, same units as **zero_offset**).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"analog_stop","type":"string","label":"Analog Stop","description":"Stop angle of the analog or PWM output range (12-bit, same units as **zero_offset**).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"pwm_frequency","type":"string","label":"PWM Frequency","description":"`994.4hz` or `497.2hz`.","options":[{"label":"994.4HZ","value":"994.4HZ"},{"label":"497.2HZ","value":"497.2HZ"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"pwm_polarity","type":"string","label":"PWM Polarity","description":"`high` or `low`.","options":[{"label":"HIGH","value":"HIGH"},{"label":"LOW","value":"LOW"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"}]},{"key":"output_mode","type":"string","label":"Output Mode","description":"Selects the incremental output format on the shared output pins.","options":[{"label":"ABZ","value":"ABZ"},{"label":"UVW","value":"UVW"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"uvw","type":"nested","label":"Uvw","description":"UVW output settings.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables","config_entries":[{"key":"pole_pairs","type":"integer","label":"Pole Pairs","description":"Emulated motor pole pairs, `1`-`16`.","required":true,"range":[1,16],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"}]},{"key":"zero_offset","type":"string","label":"Zero Offset","description":"The angle reported as `0`. Accepts a raw 12-bit count (`0`-`4095`), an angle (`45deg`, `90°`) or a percentage of a full turn (`12.5%`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables"}]} diff --git a/esphome_device_builder/definitions/components/mt6701_spi.json b/esphome_device_builder/definitions/components/mt6701_spi.json index a3b991cf41..4b01ff739a 100644 --- a/esphome_device_builder/definitions/components/mt6701_spi.json +++ b/esphome_device_builder/definitions/components/mt6701_spi.json @@ -1 +1 @@ -{"id":"mt6701_spi","name":"Mt6701 SPI","description":"","category":"misc","dependencies":["spi"],"multi_conf":true,"bus_constraints":{"spi":{"require_miso":true}},"provides":["mt6701"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip-select (CSN) pin.","required":true,"display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"data_rate","type":"string","label":"Data Rate","default_value":"1000000","display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","default_value":"MODE1","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true}]} +{"id":"mt6701_spi","name":"Mt6701 SPI","description":"","category":"misc","docs_url":"https://esphome.io/components/sensor/mt6701#ssispi-hub","dependencies":["spi"],"multi_conf":true,"bus_constraints":{"spi":{"require_miso":true}},"provides":["mt6701"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The chip-select (CSN) pin.","required":true,"display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-1","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"data_rate","type":"string","label":"Data Rate","default_value":"1000000","display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","default_value":"MODE1","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true}]} diff --git a/esphome_device_builder/definitions/components/number.delta_wallbox.json b/esphome_device_builder/definitions/components/number.delta_wallbox.json index 7972c2237d..5a18ef55bf 100644 --- a/esphome_device_builder/definitions/components/number.delta_wallbox.json +++ b/esphome_device_builder/definitions/components/number.delta_wallbox.json @@ -1 +1 @@ -{"id":"number.delta_wallbox","name":"Delta Wallbox","description":"","category":"number","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["number"],"config_entries":[{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox"},{"key":"max_current","type":"nested","label":"Max Current","description":"Sets the maximum charging current in amperes (A), from 6 to 32 A. The charger's configured maximum (set by its DIP switches) is an additional upper limit: requests above it are reduced to that value. The number has no value until the charger has been read after connecting. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:flash","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["max_current","id"]]}} +{"id":"number.delta_wallbox","name":"Delta AC Wallbox","description":"A Delta AC wallbox over Bluetooth in ESPHome.","category":"number","docs_url":"https://esphome.io/components/delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["number"],"config_entries":[{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox","help_link":"https://esphome.io/components/delta_wallbox/#number"},{"key":"max_current","type":"nested","label":"Max Current","description":"Sets the maximum charging current in amperes (A), from 6 to 32 A. The charger's configured maximum (set by its DIP switches) is an additional upper limit: requests above it are reduced to that value. The number has no value until the charger has been read after connecting. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/delta_wallbox/#number","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:flash","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["max_current","id"]]}} diff --git a/esphome_device_builder/definitions/components/number.dfrobot_sen0609.json b/esphome_device_builder/definitions/components/number.dfrobot_sen0609.json index e72d08a80e..d191ed29ff 100644 --- a/esphome_device_builder/definitions/components/number.dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/number.dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"number.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"number","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"hold_sensitivity","type":"nested","label":"Hold Sensitivity","description":"The sensitivity, from 0 to 9, used to hold presence once it is triggered. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"inhibit_time","type":"nested","label":"Inhibit Time","description":"How long detection is suppressed after presence ends, from 0.1 to 60 seconds. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:timelapse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_range","type":"nested","label":"Max Range","description":"The longest distance at which a target is detected, from 0.6 m to the longest range of the `model`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:ruler","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"min_range","type":"nested","label":"Min Range","description":"The shortest distance at which a target is detected, from 0.6 m to the longest range of the `model`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:ruler","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"off_latency","type":"nested","label":"Off Latency","description":"How long presence is held after the target is gone, from 2 to 1500 seconds. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:timelapse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"threshold_factor","type":"nested","label":"Threshold Factor","description":"The detection threshold, from 0 to 65535. Higher values need a stronger reflection to detect a target. Only in `speed_and_distance` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"trigger_range","type":"nested","label":"Trigger Range","description":"The distance within which a target must come to trigger presence, from 0.6 m to the longest range of the `model`. Once triggered, presence is held up to `max_range`. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"trigger_sensitivity","type":"nested","label":"Trigger Sensitivity","description":"The sensitivity, from 0 to 9, used to trigger presence. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["hold_sensitivity","id"],["inhibit_time","id"],["max_range","id"],["min_range","id"],["off_latency","id"],["on_latency","id"],["threshold_factor","id"],["trigger_range","id"],["trigger_sensitivity","id"]]}} +{"id":"number.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"number","docs_url":"https://esphome.io/components/dfrobot_sen0609/","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"hold_sensitivity","type":"nested","label":"Hold Sensitivity","description":"The sensitivity, from 0 to 9, used to hold presence once it is triggered. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"inhibit_time","type":"nested","label":"Inhibit Time","description":"How long detection is suppressed after presence ends, from 0.1 to 60 seconds. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:timelapse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_range","type":"nested","label":"Max Range","description":"The longest distance at which a target is detected, from 0.6 m to the longest range of the `model`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:ruler","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"min_range","type":"nested","label":"Min Range","description":"The shortest distance at which a target is detected, from 0.6 m to the longest range of the `model`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:ruler","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"off_latency","type":"nested","label":"Off Latency","description":"How long presence is held after the target is gone, from 2 to 1500 seconds. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:timelapse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"threshold_factor","type":"nested","label":"Threshold Factor","description":"The detection threshold, from 0 to 65535. Higher values need a stronger reflection to detect a target. Only in `speed_and_distance` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"trigger_range","type":"nested","label":"Trigger Range","description":"The distance within which a target must come to trigger presence, from 0.6 m to the longest range of the `model`. Once triggered, presence is held up to `max_range`. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"trigger_sensitivity","type":"nested","label":"Trigger Sensitivity","description":"The sensitivity, from 0 to 9, used to trigger presence. Only in `presence` mode. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["hold_sensitivity","id"],["inhibit_time","id"],["max_range","id"],["min_range","id"],["off_latency","id"],["on_latency","id"],["threshold_factor","id"],["trigger_range","id"],["trigger_sensitivity","id"]]}} diff --git a/esphome_device_builder/definitions/components/number.duco.json b/esphome_device_builder/definitions/components/number.duco.json index 46e234da4d..65372f2af2 100644 --- a/esphome_device_builder/definitions/components/number.duco.json +++ b/esphome_device_builder/definitions/components/number.duco.json @@ -1 +1 @@ -{"id":"number.duco","name":"Duco Ventilation","description":"The number shows and changes the comfort temperature of the box, from 10.0 °C to 25.5 °C in steps of 0.1 °C.","category":"number","dependencies":["duco"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the temperature is read. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"number.duco","name":"Duco Ventilation","description":"The number shows and changes the comfort temperature of the box, from 10.0 °C to 25.5 °C in steps of 0.1 °C.","category":"number","docs_url":"https://esphome.io/components/duco/","image_url":"https://esphome.io/images/duco.svg","dependencies":["duco"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the temperature is read. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-2","duration_min_unit":"ms"},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco","help_link":"https://esphome.io/components/duco/#configuration-variables-2"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/number.ecocomfort2.json b/esphome_device_builder/definitions/components/number.ecocomfort2.json index 4abaab5ea1..a3238259c6 100644 --- a/esphome_device_builder/definitions/components/number.ecocomfort2.json +++ b/esphome_device_builder/definitions/components/number.ecocomfort2.json @@ -1 +1 @@ -{"id":"number.ecocomfort2","name":"Ecocomfort2","description":"","category":"number","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["number"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2"},{"key":"humidity_offset","type":"nested","label":"Humidity Offset","description":"A correction added to the unit's humidity reading, from `-5` to `5` % in steps of `1`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:water-percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"humidity_threshold","type":"nested","label":"Humidity Threshold","description":"How strongly the unit reacts to humidity, from `0` (off) to `3`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:water-percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"luminosity_threshold","type":"nested","label":"Luminosity Threshold","description":"How strongly the unit reacts to light, from `0` (off) to `3`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:brightness-5","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_offset","type":"nested","label":"Temperature Offset","description":"A correction added to the unit's temperature reading, from `-5` to `5` °C in steps of `0.1`. It stays in °C even when Home Assistant shows temperatures in °F. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voc_threshold","type":"nested","label":"VOC Threshold","description":"How strongly the unit reacts to volatile organic compounds, from `0` (off) to `3`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:air-filter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"number":[["humidity_offset","id"],["humidity_threshold","id"],["luminosity_threshold","id"],["temperature_offset","id"],["voc_threshold","id"]]}} +{"id":"number.ecocomfort2","name":"Ecocomfort2","description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","category":"number","docs_url":"https://esphome.io/components/ecocomfort2","image_url":"https://esphome.io/images/fan.svg","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["number"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-5"},{"key":"humidity_offset","type":"nested","label":"Humidity Offset","description":"A correction added to the unit's humidity reading, from `-5` to `5` % in steps of `1`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-5","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:water-percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"humidity_threshold","type":"nested","label":"Humidity Threshold","description":"How strongly the unit reacts to humidity, from `0` (off) to `3`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-5","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:water-percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"luminosity_threshold","type":"nested","label":"Luminosity Threshold","description":"How strongly the unit reacts to light, from `0` (off) to `3`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-5","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:brightness-5","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_offset","type":"nested","label":"Temperature Offset","description":"A correction added to the unit's temperature reading, from `-5` to `5` °C in steps of `0.1`. It stays in °C even when Home Assistant shows temperatures in °F. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-5","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voc_threshold","type":"nested","label":"VOC Threshold","description":"How strongly the unit reacts to volatile organic compounds, from `0` (off) to `3`. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-5","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:air-filter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"number":[["humidity_offset","id"],["humidity_threshold","id"],["luminosity_threshold","id"],["temperature_offset","id"],["voc_threshold","id"]]}} diff --git a/esphome_device_builder/definitions/components/number.espectre.json b/esphome_device_builder/definitions/components/number.espectre.json index a4701ff92c..ae8b585665 100644 --- a/esphome_device_builder/definitions/components/number.espectre.json +++ b/esphome_device_builder/definitions/components/number.espectre.json @@ -1 +1 @@ -{"id":"number.espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The numbers change detection settings at runtime. They are configuration entities. All keys are optional, but configure at least one per platform entry.","category":"number","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["espectre"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["number"],"config_entries":[{"key":"espectre_id","type":"id","label":"Espectre ID","description":"ID of the ESPectre component. Automatically selected when omitted.","display_format":null,"references_component":"espectre","help_link":"https://esphome.io/components/espectre/"},{"key":"motion_off_hits","type":"nested","label":"Motion Off Hits","description":"Runtime value of [`motion_off_hits`](https://esphome.io/components/espectre/#configuration-variables). Range 1 to 20.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-pause-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"motion_on_hits","type":"nested","label":"Motion On Hits","description":"Runtime value of [`motion_on_hits`](https://esphome.io/components/espectre/#configuration-variables). Range 1 to 20.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-play-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"threshold","type":"nested","label":"Threshold","description":"The movement score above which an evaluation counts toward motion. Range 0 to 1, step 0.01. As with the [movement score](https://esphome.io/components/espectre/#movement-score), each algorithm has its own scale.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:pulse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}],"provides_id_paths":{"number":[["motion_off_hits","id"],["motion_on_hits","id"],["threshold","id"]]}} +{"id":"number.espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The numbers change detection settings at runtime. They are configuration entities. All keys are optional, but configure at least one per platform entry.","category":"number","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["espectre"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["number"],"config_entries":[{"key":"espectre_id","type":"id","label":"Espectre ID","description":"ID of the ESPectre component. Automatically selected when omitted.","display_format":null,"references_component":"espectre","help_link":"https://esphome.io/components/espectre/#numbers"},{"key":"motion_off_hits","type":"nested","label":"Motion Off Hits","description":"Runtime value of [`motion_off_hits`](https://esphome.io/components/espectre/#configuration-variables). Range 1 to 20.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#numbers","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-pause-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"motion_on_hits","type":"nested","label":"Motion On Hits","description":"Runtime value of [`motion_on_hits`](https://esphome.io/components/espectre/#configuration-variables). Range 1 to 20.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#numbers","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:motion-play-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"threshold","type":"nested","label":"Threshold","description":"The movement score above which an evaluation counts toward motion. Range 0 to 1, step 0.01. As with the [movement score](https://esphome.io/components/espectre/#movement-score), each algorithm has its own scale.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#numbers","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:pulse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}],"provides_id_paths":{"number":[["motion_off_hits","id"],["motion_on_hits","id"],["threshold","id"]]}} diff --git a/esphome_device_builder/definitions/components/number.ld2410s.json b/esphome_device_builder/definitions/components/number.ld2410s.json index 3bff9995a2..02b9760351 100644 --- a/esphome_device_builder/definitions/components/number.ld2410s.json +++ b/esphome_device_builder/definitions/components/number.ld2410s.json @@ -1 +1 @@ -{"id":"number.ld2410s","name":"LD2410S Sensor","description":"The module's settings are read at start and written back whenever one of them is changed.","category":"number","dependencies":["ld2410s"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s"},{"key":"distance_reporting_frequency","type":"nested","label":"Distance Reporting Frequency","description":"How often the module reports the distance, from `0.5` to `8` Hz. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:pulse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_distance","type":"nested","label":"Max Distance","description":"The farthest distance at which a target is detected, in steps of `0.7` m up to `11.2` m. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:arrow-collapse-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"min_distance","type":"nested","label":"Min Distance","description":"The nearest distance at which a target is detected, in steps of `0.7` m. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:arrow-collapse-left","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"no_delay","type":"nested","label":"No Delay","description":"How long the module keeps reporting a target after it left, from `1` to `120` s. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:timelapse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"status_reporting_frequency","type":"nested","label":"Status Reporting Frequency","description":"How often the module reports presence, from `0.5` to `8` Hz. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:pulse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["distance_reporting_frequency","id"],["max_distance","id"],["min_distance","id"],["no_delay","id"],["status_reporting_frequency","id"]]}} +{"id":"number.ld2410s","name":"LD2410S Sensor","description":"The module's settings are read at start and written back whenever one of them is changed.","category":"number","docs_url":"https://esphome.io/components/sensor/ld2410s/","image_url":"https://esphome.io/images/badges/ld2410s.svg","dependencies":["ld2410s"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s","help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-4"},{"key":"distance_reporting_frequency","type":"nested","label":"Distance Reporting Frequency","description":"How often the module reports the distance, from `0.5` to `8` Hz. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:pulse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_distance","type":"nested","label":"Max Distance","description":"The farthest distance at which a target is detected, in steps of `0.7` m up to `11.2` m. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:arrow-collapse-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"min_distance","type":"nested","label":"Min Distance","description":"The nearest distance at which a target is detected, in steps of `0.7` m. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:arrow-collapse-left","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"no_delay","type":"nested","label":"No Delay","description":"How long the module keeps reporting a target after it left, from `1` to `120` s. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:timelapse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"status_reporting_frequency","type":"nested","label":"Status Reporting Frequency","description":"How often the module reports presence, from `0.5` to `8` Hz. All options from [Number](https://esphome.io/components/number/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:pulse","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["distance_reporting_frequency","id"],["max_distance","id"],["min_distance","id"],["no_delay","id"],["status_reporting_frequency","id"]]}} diff --git a/esphome_device_builder/definitions/components/number.ld6004.json b/esphome_device_builder/definitions/components/number.ld6004.json index b59daf8318..083496a1c0 100644 --- a/esphome_device_builder/definitions/components/number.ld6004.json +++ b/esphome_device_builder/definitions/components/number.ld6004.json @@ -1 +1 @@ -{"id":"number.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` number platform lets you configure timing and area coordinates.","category":"number","dependencies":["ld6004"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004"},{"key":"area_config","type":"nested","label":"Area Config","description":"Coordinate values (`x_min`/`x_max`/`y_min`/`y_max`/`z_min`/`z_max`, each range `-10` to `10` m, step `0.1`) for the selected area ID. **Requires** both a `select.area_id` and a `button.apply_area` on the same `ld6004` (enforced at compile time). Set the values, then press **Apply Area** to send them. A minimum above its matching maximum is rejected with a warning instead of being written.","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","description":"Maximum X coordinate in meters.","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","description":"Minimum X coordinate in meters.","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","description":"Maximum Y coordinate in meters.","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","description":"Minimum Y coordinate in meters.","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_lifetime","type":"nested","label":"Dwell Lifetime","description":"Raw dwell counter. The counter decreases by 20 per second, so set it to the desired time in seconds multiplied by 20. The module default is `300` (15 seconds). This sets the dwell-area lifetime independently of `hold_delay`. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hold_delay","type":"nested","label":"Hold Delay","description":"Time to maintain presence after detection, in seconds. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"low_power_sleep_time","type":"nested","label":"Low Power Sleep Time","description":"Low power sleep time in milliseconds. When low-power mode is enabled and the area is unattended, the module sleeps for this interval between scans. Higher values reduce idle power but increase detection latency. The manual recommends no more than 500 ms. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"ms","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"output_interval","type":"nested","label":"Output Interval","description":"Report every Nth radar frame. Each frame takes 50 ms. The module default is `1` (50 ms), and `10` gives 500 ms. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","description":"Maximum Z coordinate in meters.","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","description":"Minimum Z coordinate in meters.","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["area_config","x_max","id"],["area_config","x_min","id"],["area_config","y_max","id"],["area_config","y_min","id"],["area_config","z_max","id"],["area_config","z_min","id"],["dwell_lifetime","id"],["hold_delay","id"],["low_power_sleep_time","id"],["output_interval","id"],["z_max","id"],["z_min","id"]]}} +{"id":"number.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` number platform lets you configure timing and area coordinates.","category":"number","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["ld6004"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4"},{"key":"area_config","type":"nested","label":"Area Config","description":"Coordinate values (`x_min`/`x_max`/`y_min`/`y_max`/`z_min`/`z_max`, each range `-10` to `10` m, step `0.1`) for the selected area ID. **Requires** both a `select.area_id` and a `button.apply_area` on the same `ld6004` (enforced at compile time). Set the values, then press **Apply Area** to send them. A minimum above its matching maximum is rejected with a warning instead of being written.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","config_entries":[{"key":"x_max","type":"nested","label":"X Max","description":"Maximum X coordinate in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","description":"Minimum X coordinate in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","description":"Maximum Y coordinate in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","description":"Minimum Y coordinate in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_lifetime","type":"nested","label":"Dwell Lifetime","description":"Raw dwell counter. The counter decreases by 20 per second, so set it to the desired time in seconds multiplied by 20. The module default is `300` (15 seconds). This sets the dwell-area lifetime independently of `hold_delay`. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hold_delay","type":"nested","label":"Hold Delay","description":"Time to maintain presence after detection, in seconds. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"low_power_sleep_time","type":"nested","label":"Low Power Sleep Time","description":"Low power sleep time in milliseconds. When low-power mode is enabled and the area is unattended, the module sleeps for this interval between scans. Higher values reduce idle power but increase detection latency. The manual recommends no more than 500 ms. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"ms","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"output_interval","type":"nested","label":"Output Interval","description":"Report every Nth radar frame. Each frame takes 50 ms. The module default is `1` (50 ms), and `10` gives 500 ms. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","description":"Maximum Z coordinate in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","description":"Minimum Z coordinate in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-4","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["area_config","x_max","id"],["area_config","x_min","id"],["area_config","y_max","id"],["area_config","y_min","id"],["area_config","z_max","id"],["area_config","z_min","id"],["dwell_lifetime","id"],["hold_delay","id"],["low_power_sleep_time","id"],["output_interval","id"],["z_max","id"],["z_min","id"]]}} diff --git a/esphome_device_builder/definitions/components/number.m5stack_unit_bldc.json b/esphome_device_builder/definitions/components/number.m5stack_unit_bldc.json index 0cd2c05466..5bc7935969 100644 --- a/esphome_device_builder/definitions/components/number.m5stack_unit_bldc.json +++ b/esphome_device_builder/definitions/components/number.m5stack_unit_bldc.json @@ -1 +1 @@ -{"id":"number.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` number platform controls the motor speed. Use `pwm` when the hub's `mode` is `open_loop` and `target_rpm` when it is `closed_loop`; the other one is rejected when the configuration is validated.","category":"number","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc"},{"key":"pwm","type":"nested","label":"PWM","description":"The PWM duty cycle, `0` to `2047`. Requires `mode: open_loop`. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_rpm","type":"nested","label":"Target Rpm","description":"The target RPM, `0` to `20000`. Requires `mode: closed_loop`. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["pwm","id"],["target_rpm","id"]]}} +{"id":"number.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` number platform controls the motor speed. Use `pwm` when the hub's `mode` is `open_loop` and `target_rpm` when it is `closed_loop`; the other one is rejected when the configuration is validated.","category":"number","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","image_url":"https://esphome.io/images/motor.png","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc","help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-1"},{"key":"pwm","type":"nested","label":"PWM","description":"The PWM duty cycle, `0` to `2047`. Requires `mode: open_loop`. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-1","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_rpm","type":"nested","label":"Target Rpm","description":"The target RPM, `0` to `20000`. Requires `mode: closed_loop`. All options from [Number](https://esphome.io/components/number/#config-number).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-1","platform_type":"number","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"number":[["pwm","id"],["target_rpm","id"]]}} diff --git a/esphome_device_builder/definitions/components/number.tmp102.json b/esphome_device_builder/definitions/components/number.tmp102.json index 68c1556ce8..cd4be20400 100644 --- a/esphome_device_builder/definitions/components/number.tmp102.json +++ b/esphome_device_builder/definitions/components/number.tmp102.json @@ -1 +1 @@ -{"id":"number.tmp102","name":"TMP102 Temperature Sensor","description":"TMP102 temperature sensors.","category":"number","docs_url":"https://esphome.io/components/sensor/tmp102","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["tmp102"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"temperature_high","type":"nested","label":"Temperature High","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.","display_format":null,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_value","type":"boolean","label":"Restore Value","default_value":true,"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_low","type":"nested","label":"Temperature Low","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.","display_format":null,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_value","type":"boolean","label":"Restore Value","default_value":true,"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"tmp102_id","type":"id","label":"Tmp102 ID","display_format":null,"references_component":"tmp102"}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}],"provides_id_paths":{"number":[["temperature_high","id"],["temperature_low","id"]]}} +{"id":"number.tmp102","name":"TMP102 Temperature Sensor","description":"TMP102 temperature, thermostat, alert, and threshold-status configuration.","category":"number","docs_url":"https://esphome.io/components/sensor/tmp102","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["tmp102"],"multi_conf":true,"provides":["number"],"config_entries":[{"key":"temperature_high","type":"nested","label":"Temperature High","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.","display_format":null,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_value","type":"boolean","label":"Restore Value","default_value":true,"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_low","type":"nested","label":"Temperature Low","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.","display_format":null,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the number. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"zigbee_number","type":"id","label":"Zigbee Number","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the number in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the number. See [https://www.home-assistant.io/integrations/number/#device-class](https://www.home-assistant.io/integrations/number/#device-class) for a list of available options.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement for the number.","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"mode","type":"string","label":"Mode","description":"Defines how the number should be displayed in the frontend. See [https://developers.home-assistant.io/docs/core/entity/number/#properties](https://developers.home-assistant.io/docs/core/entity/number/#properties) for a list of available options. Defaults to `\"auto\"`.","default_value":"AUTO","options":[{"label":"AUTO","value":"AUTO"},{"label":"BOX","value":"BOX"},{"label":"SLIDER","value":"SLIDER"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/number/#base-number-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_value","type":"boolean","label":"Restore Value","default_value":true,"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"tmp102_id","type":"id","label":"Tmp102 ID","display_format":null,"references_component":"tmp102"}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}],"provides_id_paths":{"number":[["temperature_high","id"],["temperature_low","id"]]}} diff --git a/esphome_device_builder/definitions/components/openthread.json b/esphome_device_builder/definitions/components/openthread.json index b95d55766c..01c965cc78 100644 --- a/esphome_device_builder/definitions/components/openthread.json +++ b/esphome_device_builder/definitions/components/openthread.json @@ -1 +1 @@ -{"id":"openthread","name":"OpenThread Component","description":"[Thread](https://www.threadgroup.org) is a low-power mesh networking standard for IoT devices. The low-power aspect is important for battery-powered smart home devices. However, it’s also low-bandwidth, making it ideal for applications that don’t send a lot of data, like switches or motion sensors.","category":"misc","docs_url":"https://esphome.io/components/openthread/","image_url":"https://esphome.io/images/openthread.png","config_entries":[{"key":"network_key","type":"secure_string","label":"Network Key","description":"**Required — set exactly one of:** `network_key`, `tlv`.\n\nOpenThread network key.","display_format":null,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"tlv","type":"secure_string","label":"Tlv","description":"**Required — set exactly one of:** `network_key`, `tlv`.\n\nThe Thread dataset as a hex-encoded TLV string, taken from the Thread information in Home Assistant. **Required** on nRF52840.","display_format":null,"help_link":"https://esphome.io/components/openthread/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"border_router","type":"string","label":"Border Router","description":"Enables Border Router mode.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/"},{"key":"channel","type":"integer","label":"Channel","description":"Channel number from 11 to 26.","range":[11,26],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"core_options","type":"map","label":"Core Options","description":"OpenThread compile-time options to set. See [OpenThread Core Options](https://esphome.io/components/openthread/#openthread-core-options-esp32).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true}],"supported_platforms":["esp32"]},{"key":"device_type","type":"string","label":"Device Type","description":"OpenThread Device Type, either `FTD` or `MTD`. Defaults to `FTD`. On nRF52840 this selects the matching Nordic prebuilt OpenThread library.","default_value":"FTD","options":[{"label":"FTD","value":"FTD"},{"label":"MTD","value":"MTD"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#configuration-variables"},{"key":"ext_pan_id","type":"integer","label":"Ext Pan ID","description":"8-byte Extended Personal Area Network ID (XPAN ID).","display_format":"hex","advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"force_dataset","type":"boolean","label":"Force Dataset","description":"Forces ESPHome to override any OpenThread network dataset previously stored on the device, ensuring the configured dataset is applied at startup. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#configuration-variables"},{"key":"mdns_id","type":"id","label":"Mdns ID","display_format":null,"references_component":"mdns","advanced":true},{"key":"mesh_local_prefix","type":"string","label":"Mesh Local Prefix","description":"Used to build Mesh-Local IPv6 addresses (ML-EIDs), which are unique to each Thread device within the network partition.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"network_name","type":"string","label":"Network Name","description":"A human-readable Network Name.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"output_power","type":"float_with_unit","label":"Output Power","description":"The amount of TX power for the Thread 802.15.4 radio in dBm. Range depends on the chip variant: ESP32-C5/C6 from `-15dBm` to `20dBm`, ESP32-H2 from `-24dBm` to `20dBm`. Defaults to the platform default (typically `0dBm`). Ensure the configured value complies with local regulatory limits.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables","unit_options":["dB","dBm"]},{"key":"pan_id","type":"integer","label":"Pan ID","description":"2-byte Personal Area Network ID (PAN ID).","display_format":"hex","advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"poll_period","type":"time_period","label":"Poll Period","description":"When set on an MTD device, the parent router enqueues any messages and waits for the child to submit a poll data request.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables","duration_min_unit":"ms"},{"key":"pskc","type":"secure_string","label":"Pskc","description":"PSKc is used to authenticate an external Thread Commissioner to a Thread network.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"srp_id","type":"id","label":"Srp ID","advanced":true},{"key":"use_address","type":"string","label":"Use Address","description":"Manually override the address used to connect to the device. Defaults to an auto-generated value.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#configuration-variables"}],"required_groups":[{"kind":"exactly_one","keys":["network_key","tlv"]}]} +{"id":"openthread","name":"OpenThread Component","description":"[Thread](https://www.threadgroup.org) is a low-power mesh networking standard for IoT devices. The low-power aspect is important for battery-powered smart home devices. However, it’s also low-bandwidth, making it ideal for applications that don’t send a lot of data, like switches or motion sensors.","category":"misc","docs_url":"https://esphome.io/components/openthread/","image_url":"https://esphome.io/images/openthread.png","config_entries":[{"key":"network_key","type":"secure_string","label":"Network Key","description":"**Required — set exactly one of:** `network_key`, `tlv`.\n\nOpenThread network key.","display_format":null,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"tlv","type":"secure_string","label":"Tlv","description":"**Required — set exactly one of:** `network_key`, `tlv`.\n\nThe Thread dataset as a hex-encoded TLV string, taken from the Thread information in Home Assistant. **Required** on nRF52840.","display_format":null,"help_link":"https://esphome.io/components/openthread/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"border_router","type":"string","label":"Border Router","description":"Enables Border Router mode.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#configuration-variables-2"},{"key":"channel","type":"integer","label":"Channel","description":"Channel number from 11 to 26.","range":[11,26],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"core_options","type":"map","label":"Core Options","description":"OpenThread compile-time options to set. See [OpenThread Core Options](https://esphome.io/components/openthread/#openthread-core-options-esp32).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"advanced":true}],"supported_platforms":["esp32"]},{"key":"device_type","type":"string","label":"Device Type","description":"OpenThread Device Type, either `FTD` or `MTD`. Defaults to `FTD`. On nRF52840 this selects the matching Nordic prebuilt OpenThread library.","default_value":"FTD","options":[{"label":"FTD","value":"FTD"},{"label":"MTD","value":"MTD"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#configuration-variables"},{"key":"ext_pan_id","type":"integer","label":"Ext Pan ID","description":"8-byte Extended Personal Area Network ID (XPAN ID).","display_format":"hex","advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"force_dataset","type":"boolean","label":"Force Dataset","description":"Forces ESPHome to override any OpenThread network dataset previously stored on the device, ensuring the configured dataset is applied at startup. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#configuration-variables"},{"key":"mdns_id","type":"id","label":"Mdns ID","display_format":null,"references_component":"mdns","advanced":true},{"key":"mesh_local_prefix","type":"string","label":"Mesh Local Prefix","description":"Used to build Mesh-Local IPv6 addresses (ML-EIDs), which are unique to each Thread device within the network partition.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"network_name","type":"string","label":"Network Name","description":"A human-readable Network Name.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"output_power","type":"float_with_unit","label":"Output Power","description":"The amount of TX power for the Thread 802.15.4 radio in dBm. Range depends on the chip variant: ESP32-C5/C6 from `-15dBm` to `20dBm`, ESP32-H2 from `-24dBm` to `20dBm`. Defaults to the platform default (typically `0dBm`). Ensure the configured value complies with local regulatory limits.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables","unit_options":["dB","dBm"]},{"key":"pan_id","type":"integer","label":"Pan ID","description":"2-byte Personal Area Network ID (PAN ID).","display_format":"hex","advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"poll_period","type":"time_period","label":"Poll Period","description":"When set on an MTD device, the parent router enqueues any messages and waits for the child to submit a poll data request.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables","duration_min_unit":"ms"},{"key":"pskc","type":"secure_string","label":"Pskc","description":"PSKc is used to authenticate an external Thread Commissioner to a Thread network.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#esp32-configuration-variables"},{"key":"srp_id","type":"id","label":"Srp ID","advanced":true},{"key":"use_address","type":"string","label":"Use Address","description":"Manually override the address used to connect to the device. Defaults to an auto-generated value.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/openthread/#configuration-variables"}],"required_groups":[{"kind":"exactly_one","keys":["network_key","tlv"]}]} diff --git a/esphome_device_builder/definitions/components/ota.adafruit_ble.json b/esphome_device_builder/definitions/components/ota.adafruit_ble.json index 5814ce1115..2863f95800 100644 --- a/esphome_device_builder/definitions/components/ota.adafruit_ble.json +++ b/esphome_device_builder/definitions/components/ota.adafruit_ble.json @@ -1 +1 @@ -{"id":"ota.adafruit_ble","name":"nRF52 Adafruit Bootloader BLE Updates","description":"The `adafruit_ble` OTA platform updates [nRF52](https://esphome.io/components/nrf52/) boards that run the [Adafruit nRF52 Bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader), such as the nice!nano, the ItsyBitsy nRF52840 and the Feather nRF52840, over Bluetooth Low Energy (BLE) with `esphome upload`. For boards with MCUboot, use [zephyr_mcumgr](https://esphome.io/components/ota/zephyr_mcumgr/) instead.","category":"ota","dependencies":["zephyr","zephyr_ble_server"],"multi_conf":true,"config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"ota.adafruit_ble","name":"nRF52 Adafruit Bootloader BLE Updates","description":"The `adafruit_ble` OTA platform updates [nRF52](https://esphome.io/components/nrf52/) boards that run the [Adafruit nRF52 Bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader), such as the nice!nano, the ItsyBitsy nRF52840 and the Feather nRF52840, over Bluetooth Low Energy (BLE) with `esphome upload`. For boards with MCUboot, use [zephyr_mcumgr](https://esphome.io/components/ota/zephyr_mcumgr/) instead.","category":"ota","docs_url":"https://esphome.io/components/ota/adafruit_ble/","image_url":"https://esphome.io/images/system-update.svg","dependencies":["zephyr","zephyr_ble_server"],"multi_conf":true,"config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/ota/adafruit_ble/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/output.bh1745.json b/esphome_device_builder/definitions/components/output.bh1745.json index 5cd92e86a0..6cd6c60590 100644 --- a/esphome_device_builder/definitions/components/output.bh1745.json +++ b/esphome_device_builder/definitions/components/output.bh1745.json @@ -1 +1 @@ -{"id":"output.bh1745","name":"BH1745 RGB Color Sensor","description":"The Pimoroni breakout board has two white LEDs that light up the object in front of the sensor. They are connected to the `INT` pin of the BH1745, so they can not be switched with a GPIO of your board. The `bh1745` output platform is a [binary output](https://esphome.io/components/output/) that switches the `INT` pin, and with it the LEDs. The component does not use the interrupt feature of the chip for anything else.","category":"output","dependencies":["bh1745"],"multi_conf":true,"config_entries":[{"key":"inverted","type":"boolean","label":"Inverted","description":"If the output should be treated as inverted. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"bh1745_id","type":"id","label":"Bh1745 ID","description":"The ID of the `bh1745` hub. Only needed when you have more than one hub.","display_format":null,"references_component":"bh1745"},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [power supply](https://esphome.io/components/power_supply/) to connect to this output. When the output is enabled, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"id","type":"id","label":"ID","description":"The ID of the output, used to control it.","advanced":true}],"id_classes":["output::ApplyBinaryOutput","output::BinaryOutput"]} +{"id":"output.bh1745","name":"BH1745 RGB Color Sensor","description":"The Pimoroni breakout board has two white LEDs that light up the object in front of the sensor. They are connected to the `INT` pin of the BH1745, so they can not be switched with a GPIO of your board. The `bh1745` output platform is a [binary output](https://esphome.io/components/output/) that switches the `INT` pin, and with it the LEDs. The component does not use the interrupt feature of the chip for anything else.","category":"output","docs_url":"https://esphome.io/components/sensor/bh1745/","image_url":"https://esphome.io/images/bh1745.jpg","dependencies":["bh1745"],"multi_conf":true,"config_entries":[{"key":"inverted","type":"boolean","label":"Inverted","description":"If the output should be treated as inverted. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"bh1745_id","type":"id","label":"Bh1745 ID","description":"The ID of the `bh1745` hub. Only needed when you have more than one hub.","display_format":null,"references_component":"bh1745","help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-2"},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [power supply](https://esphome.io/components/power_supply/) to connect to this output. When the output is enabled, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"id","type":"id","label":"ID","description":"The ID of the output, used to control it.","advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-2"}],"id_classes":["output::ApplyBinaryOutput","output::BinaryOutput"]} diff --git a/esphome_device_builder/definitions/components/output.lp5562.json b/esphome_device_builder/definitions/components/output.lp5562.json index 2e8f6eac7a..ba974b6ea4 100644 --- a/esphome_device_builder/definitions/components/output.lp5562.json +++ b/esphome_device_builder/definitions/components/output.lp5562.json @@ -1 +1 @@ -{"id":"output.lp5562","name":"LP5562","description":"The LP5562 output component exposes an LP5562 PWM channel of a global [LP5562 chip](https://esphome.io/components/output/lp5562/#componenthub) as a float output.","category":"output","dependencies":["lp5562"],"multi_conf":true,"config_entries":[{"key":"inverted","type":"boolean","label":"Inverted","description":"If the output should be treated as inverted. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"id","type":"id","label":"ID","description":"The id to use for this output component.","required":true},{"key":"channel","type":"string","label":"Channel","description":"Choose the channel of the LP5562 for this output component. One of `red`, `green`, `blue`, `white`.","required":true,"options":[{"label":"blue","value":"blue"},{"label":"green","value":"green"},{"label":"red","value":"red"},{"label":"white","value":"white"}],"display_format":null},{"key":"lp5562_id","type":"id","label":"Lp5562 ID","description":"Manually specify the ID of the [LP5562 chip](https://esphome.io/components/output/lp5562/#componenthub). Use this if you have multiple LP5562s you want to use at the same time.","display_format":null,"references_component":"lp5562"},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [power supply](https://esphome.io/components/power_supply/) to connect to this output. When the output is enabled, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"current","type":"float_with_unit","label":"Current","description":"The maximum LED current of this channel at full brightness, from `0mA` to `25.5mA` in steps of `0.1mA`. Check the LED's rating before raising it. Defaults to `17.5mA`.","default_value":"17.5mA","display_format":null,"advanced":true,"unit_options":["A","nA","µA","mA","kA","MA","GA"]},{"key":"max_power","type":"float","label":"Max Power","description":"Sets the maximum output value of this output platform. Must be in range from min_power to 1. Defaults to `1`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"min_power","type":"float","label":"Min Power","description":"Sets the minimum output value of this output platform. Must be in range from 0 to max_power. Defaults to `0`. If zero_means_zero is `false` this will be output value when the entity is turned off.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"zero_means_zero","type":"boolean","label":"Zero Means Zero","description":"Sets the output to use actual 0 instead of `min_power`. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/#base-output-configuration"}]} +{"id":"output.lp5562","name":"LP5562","description":"The LP5562 output component exposes an LP5562 PWM channel of a global [LP5562 chip](https://esphome.io/components/output/lp5562/#componenthub) as a float output.","category":"output","docs_url":"https://esphome.io/components/output/lp5562/","image_url":"https://esphome.io/images/badges/lp5562.svg","dependencies":["lp5562"],"multi_conf":true,"config_entries":[{"key":"inverted","type":"boolean","label":"Inverted","description":"If the output should be treated as inverted. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"id","type":"id","label":"ID","description":"The id to use for this output component.","required":true,"help_link":"https://esphome.io/components/output/lp5562/#configuration-variables-1"},{"key":"channel","type":"string","label":"Channel","description":"Choose the channel of the LP5562 for this output component. One of `red`, `green`, `blue`, `white`.","required":true,"options":[{"label":"blue","value":"blue"},{"label":"green","value":"green"},{"label":"red","value":"red"},{"label":"white","value":"white"}],"display_format":null,"help_link":"https://esphome.io/components/output/lp5562/#configuration-variables-1"},{"key":"lp5562_id","type":"id","label":"Lp5562 ID","description":"Manually specify the ID of the [LP5562 chip](https://esphome.io/components/output/lp5562/#componenthub). Use this if you have multiple LP5562s you want to use at the same time.","display_format":null,"references_component":"lp5562","help_link":"https://esphome.io/components/output/lp5562/#configuration-variables-1"},{"key":"power_supply","type":"id","label":"Power Supply","description":"The [power supply](https://esphome.io/components/power_supply/) to connect to this output. When the output is enabled, the power supply will automatically be switched on too.","display_format":null,"references_component":"power_supply","help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"current","type":"float_with_unit","label":"Current","description":"The maximum LED current of this channel at full brightness, from `0mA` to `25.5mA` in steps of `0.1mA`. Check the LED's rating before raising it. Defaults to `17.5mA`.","default_value":"17.5mA","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/lp5562/#configuration-variables-1","unit_options":["A","nA","µA","mA","kA","MA","GA"]},{"key":"max_power","type":"float","label":"Max Power","description":"Sets the maximum output value of this output platform. Must be in range from min_power to 1. Defaults to `1`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"min_power","type":"float","label":"Min Power","description":"Sets the minimum output value of this output platform. Must be in range from 0 to max_power. Defaults to `0`. If zero_means_zero is `false` this will be output value when the entity is turned off.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/#base-output-configuration"},{"key":"zero_means_zero","type":"boolean","label":"Zero Means Zero","description":"Sets the output to use actual 0 instead of `min_power`. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/output/#base-output-configuration"}]} diff --git a/esphome_device_builder/definitions/components/pca9505.json b/esphome_device_builder/definitions/components/pca9505.json index 29ae257805..a3d2c9338a 100644 --- a/esphome_device_builder/definitions/components/pca9505.json +++ b/esphome_device_builder/definitions/components/pca9505.json @@ -1 +1 @@ -{"id":"pca9505","name":"PCA9505 I/O Expander","description":"The PCA9505 component lets you use the NXP **PCA9505** and **PCA9506** I/O expanders in ESPHome using the [I²C Bus](https://esphome.io/components/i2c/) for communication. Both chips provide **40** I/O pins and share the same command interface, so either can be used with this component.","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the expander. Defaults to `0x20`.","default_value":"32","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","description":"The id to use for this `pca9505` component.","required":true},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The pin connected to the INT output of the expander. When configured, the component only reads the chip after a pin actually changes, instead of polling it on every loop, which cuts I²C traffic considerably. INT is active low and open drain, so a pull-up resistor is required. Must be an internal GPIO pin, not another expander pin.","display_format":null,"config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"pca9505","name":"PCA9505 I/O Expander","description":"The PCA9505 component lets you use the NXP **PCA9505** and **PCA9506** I/O expanders in ESPHome using the [I²C Bus](https://esphome.io/components/i2c/) for communication. Both chips provide **40** I/O pins and share the same command interface, so either can be used with this component.","category":"misc","docs_url":"https://esphome.io/components/pca9505/","image_url":"https://esphome.io/images/badges/pca9505.svg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the expander. Defaults to `0x20`.","default_value":"32","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/pca9505/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","description":"The id to use for this `pca9505` component.","required":true,"help_link":"https://esphome.io/components/pca9505/#configuration-variables"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The pin connected to the INT output of the expander. When configured, the component only reads the chip after a pin actually changes, instead of polling it on every loop, which cuts I²C traffic considerably. INT is active low and open drain, so a pull-up resistor is required. Must be an internal GPIO pin, not another expander pin.","display_format":null,"help_link":"https://esphome.io/components/pca9505/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/power_management.esp32_power_management.json b/esphome_device_builder/definitions/components/power_management.esp32_power_management.json index 6b014ae924..86f88802be 100644 --- a/esphome_device_builder/definitions/components/power_management.esp32_power_management.json +++ b/esphome_device_builder/definitions/components/power_management.esp32_power_management.json @@ -1 +1 @@ -{"id":"power_management.esp32_power_management","name":"ESP32 Power Management","description":"The `esp32_power_management` platform turns on ESP-IDF power management. It scales the CPU frequency between a minimum and a maximum depending on what the running components need, and it can put the chip into automatic light sleep whenever nothing is scheduled to run. Both work on the ESP-IDF and the Arduino framework.","category":"power_management","dependencies":["esp32"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"enable_light_sleep","type":"boolean","label":"Enable Light Sleep","description":"Enter light sleep automatically whenever no task is runnable, which also stops the periodic tick interrupt while idle. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"idle_time_before_sleep","type":"integer","label":"Idle Time Before Sleep","description":"How many FreeRTOS ticks (1 ms each, as ESPHome runs the ESP32 tick at 1 kHz) the system must stay idle before it enters light sleep. Minimum `2`. Defaults to `3`.","default_value":"3","range":[2,4294967295],"display_format":null,"advanced":true},{"key":"max_frequency","type":"string","label":"Max Frequency","description":"The CPU frequency used while a component holds a CPU lock. Must be one of the frequencies the chip supports (for example `80MHz`, `160MHz` or `240MHz` on the ESP32, and `16MHz`, `32MHz`, `48MHz`, `64MHz` or `96MHz` on the ESP32-H2). Defaults to the `cpu_frequency` of the [`esp32`](https://esphome.io/components/esp32/) component. A different value is accepted; validation logs that the CPU will be clocked down to it, or warns that it may run above the boot frequency under load.","display_format":null,"advanced":true},{"key":"min_frequency","type":"string","label":"Min Frequency","description":"The CPU frequency used while no CPU lock is held. Must divide the crystal frequency (`40MHz` on most variants, `32MHz` on the ESP32-H2) or be one of the CPU frequencies, be at least `10MHz` on the ESP32 and `2MHz` on the other variants, and be no higher than the maximum. Defaults to the crystal frequency, limited to the maximum.","display_format":null,"advanced":true},{"key":"power_down_flash","type":"boolean","label":"Power Down Flash","description":"Power down the flash chip during light sleep. Requires `enable_light_sleep` and is rejected when the device has PSRAM. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"power_down_peripherals","type":"boolean","label":"Power Down Peripherals","description":"Save and restore the peripheral registers around light sleep so the peripherals themselves can be powered down. Only available on chips with a TOP power domain (ESP32-C5, C6, C61, H2, H4, H21, P4 and S31), where it defaults to `true` when light sleep is enabled. Requires `enable_light_sleep`.","display_format":null,"advanced":true},{"key":"profiling","type":"boolean","label":"Profiling","description":"Record how long each power management lock is held and how much time the chip spends in each power state, for the lock dump described below. It costs some runtime overhead, so leave it off in production. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"trace","type":"boolean","label":"Trace","description":"Signal power management events (ticks, frequency changes, entering and leaving idle) on a set of GPIOs, as listed in ESP-IDF's [`pm_trace.c`](https://github.com/espressif/esp-idf/blob/master/components/esp_pm/pm_trace.c). Those pins are taken over, so this is for analysing the behaviour on a bench only. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true}]} +{"id":"power_management.esp32_power_management","name":"ESP32 Power Management","description":"The `esp32_power_management` platform turns on ESP-IDF power management. It scales the CPU frequency between a minimum and a maximum depending on what the running components need, and it can put the chip into automatic light sleep whenever nothing is scheduled to run. Both work on the ESP-IDF and the Arduino framework.","category":"power_management","docs_url":"https://esphome.io/components/power_management/esp32_power_management/","image_url":"https://esphome.io/images/badges/esp32.svg","dependencies":["esp32"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"enable_light_sleep","type":"boolean","label":"Enable Light Sleep","description":"Enter light sleep automatically whenever no task is runnable, which also stops the periodic tick interrupt while idle. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"},{"key":"idle_time_before_sleep","type":"integer","label":"Idle Time Before Sleep","description":"How many FreeRTOS ticks (1 ms each, as ESPHome runs the ESP32 tick at 1 kHz) the system must stay idle before it enters light sleep. Minimum `2`. Defaults to `3`.","default_value":"3","range":[2,4294967295],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"},{"key":"max_frequency","type":"string","label":"Max Frequency","description":"The CPU frequency used while a component holds a CPU lock. Must be one of the frequencies the chip supports (for example `80MHz`, `160MHz` or `240MHz` on the ESP32, and `16MHz`, `32MHz`, `48MHz`, `64MHz` or `96MHz` on the ESP32-H2). Defaults to the `cpu_frequency` of the [`esp32`](https://esphome.io/components/esp32/) component. A different value is accepted; validation logs that the CPU will be clocked down to it, or warns that it may run above the boot frequency under load.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"},{"key":"min_frequency","type":"string","label":"Min Frequency","description":"The CPU frequency used while no CPU lock is held. Must divide the crystal frequency (`40MHz` on most variants, `32MHz` on the ESP32-H2) or be one of the CPU frequencies, be at least `10MHz` on the ESP32 and `2MHz` on the other variants, and be no higher than the maximum. Defaults to the crystal frequency, limited to the maximum.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"},{"key":"power_down_flash","type":"boolean","label":"Power Down Flash","description":"Power down the flash chip during light sleep. Requires `enable_light_sleep` and is rejected when the device has PSRAM. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"},{"key":"power_down_peripherals","type":"boolean","label":"Power Down Peripherals","description":"Save and restore the peripheral registers around light sleep so the peripherals themselves can be powered down. Only available on chips with a TOP power domain (ESP32-C5, C6, C61, H2, H4, H21, P4 and S31), where it defaults to `true` when light sleep is enabled. Requires `enable_light_sleep`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"},{"key":"profiling","type":"boolean","label":"Profiling","description":"Record how long each power management lock is held and how much time the chip spends in each power state, for the lock dump described below. It costs some runtime overhead, so leave it off in production. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"trace","type":"boolean","label":"Trace","description":"Signal power management events (ticks, frequency changes, entering and leaving idle) on a set of GPIOs, as listed in ESP-IDF's [`pm_trace.c`](https://github.com/espressif/esp-idf/blob/master/components/esp_pm/pm_trace.c). Those pins are taken over, so this is for analysing the behaviour on a bench only. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"hidden":true,"help_link":"https://esphome.io/components/power_management/esp32_power_management/#configuration-variables"}]} diff --git a/esphome_device_builder/definitions/components/renogy_inverter_ble.json b/esphome_device_builder/definitions/components/renogy_inverter_ble.json index 19352f9fb4..197684a910 100644 --- a/esphome_device_builder/definitions/components/renogy_inverter_ble.json +++ b/esphome_device_builder/definitions/components/renogy_inverter_ble.json @@ -1 +1 @@ -{"id":"renogy_inverter_ble","name":"Renogy Inverter BLE Sensor","description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","category":"misc","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to poll the inverter. Defaults to `30s`.","default_value":"30s","display_format":null,"duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The ID of the [BLE Client](https://esphome.io/components/ble_client/) to read from.","display_format":null,"references_component":"ble_client"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"renogy_inverter_ble","name":"Renogy Inverter BLE Sensor","description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","category":"misc","docs_url":"https://esphome.io/components/sensor/renogy_inverter_ble/","image_url":"https://esphome.io/images/bluetooth.svg","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to poll the inverter. Defaults to `30s`.","default_value":"30s","display_format":null,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#hub-configuration-variables","duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"The ID of the [BLE Client](https://esphome.io/components/ble_client/) to read from.","display_format":null,"references_component":"ble_client","help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#hub-configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#hub-configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/rtsp_server.json b/esphome_device_builder/definitions/components/rtsp_server.json index 9f580d3b91..ceb6dd6e50 100644 --- a/esphome_device_builder/definitions/components/rtsp_server.json +++ b/esphome_device_builder/definitions/components/rtsp_server.json @@ -1 +1 @@ -{"id":"rtsp_server","name":"RTSP Server Component","description":"The `rtsp_server` component streams video from an [ESP32 Camera](https://esphome.io/components/esp32_camera/) over RTSP, the standard protocol used by video players and surveillance software. This allows tools like VLC, ffplay, go2rtc or Frigate to consume the camera feed directly, without any ESPHome-specific integration.","category":"misc","config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"allowed_ips","type":"string","label":"Allowed Ips","description":"Only peers from these networks may connect; others are refused at accept time. Each entry is a single address (`192.168.1.50`) or an `address/prefix` network (`192.168.1.0/24`). When omitted, every host that can reach the port is accepted.","display_format":null,"multi_value":true,"advanced":true},{"key":"max_connections","type":"integer","label":"Max Connections","description":"The maximum number of clients that can stream at the same time, from `1` to `4`. Each connection reserves about 900 bytes of memory and a socket for the whole run, so keep this low on memory-constrained boards. Defaults to `2`.","default_value":"2","range":[1,4],"display_format":null,"advanced":true},{"key":"port","type":"integer","label":"Port","description":"The port the RTSP server listens on. Defaults to `554`, the standard RTSP port.","default_value":"554","range":[1,65535],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"rtsp_server","name":"RTSP Server Component","description":"The `rtsp_server` component streams video from an [ESP32 Camera](https://esphome.io/components/esp32_camera/) over RTSP, the standard protocol used by video players and surveillance software. This allows tools like VLC, ffplay, go2rtc or Frigate to consume the camera feed directly, without any ESPHome-specific integration.","category":"misc","docs_url":"https://esphome.io/components/rtsp_server/","image_url":"https://esphome.io/images/camera.svg","config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"allowed_ips","type":"string","label":"Allowed Ips","description":"Only peers from these networks may connect; others are refused at accept time. Each entry is a single address (`192.168.1.50`) or an `address/prefix` network (`192.168.1.0/24`). When omitted, every host that can reach the port is accepted.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/rtsp_server/#configuration-variables"},{"key":"max_connections","type":"integer","label":"Max Connections","description":"The maximum number of clients that can stream at the same time, from `1` to `4`. Each connection reserves about 900 bytes of memory and a socket for the whole run, so keep this low on memory-constrained boards. Defaults to `2`.","default_value":"2","range":[1,4],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/rtsp_server/#configuration-variables"},{"key":"port","type":"integer","label":"Port","description":"The port the RTSP server listens on. Defaults to `554`, the standard RTSP port.","default_value":"554","range":[1,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/rtsp_server/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/seeed_multi_channel_relay.json b/esphome_device_builder/definitions/components/seeed_multi_channel_relay.json index c31f363e6f..421d8b2b8d 100644 --- a/esphome_device_builder/definitions/components/seeed_multi_channel_relay.json +++ b/esphome_device_builder/definitions/components/seeed_multi_channel_relay.json @@ -1 +1 @@ -{"id":"seeed_multi_channel_relay","name":"Seeed Studio Multi-Channel Relay Switch","description":"The `seeed_multi_channel_relay` component controls the relays of the Seeed Studio Grove multi-channel relay boards over [I²C](https://esphome.io/components/i2c/): the [Grove 4-Channel SPDT Relay](https://wiki.seeedstudio.com/Grove-4-Channel_SPDT_Relay/) and the [Grove 8-Channel Solid State Relay](https://wiki.seeedstudio.com/Grove-8-Channel_Solid_State_Relay/).","category":"misc","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the board. Defaults to `0x11`.","default_value":"17","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The [I²C](https://esphome.io/components/i2c/) bus to use. Required with more than one bus.","display_format":null,"references_component":"i2c"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"seeed_multi_channel_relay","name":"Seeed Studio Multi-Channel Relay Switch","description":"The `seeed_multi_channel_relay` component controls the relays of the Seeed Studio Grove multi-channel relay boards over [I²C](https://esphome.io/components/i2c/): the [Grove 4-Channel SPDT Relay](https://wiki.seeedstudio.com/Grove-4-Channel_SPDT_Relay/) and the [Grove 8-Channel Solid State Relay](https://wiki.seeedstudio.com/Grove-8-Channel_Solid_State_Relay/).","category":"misc","docs_url":"https://esphome.io/components/switch/seeed_multi_channel_relay/","image_url":"https://esphome.io/images/seeed_multi_channel_relay.webp","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the board. Defaults to `0x11`.","default_value":"17","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/switch/seeed_multi_channel_relay/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The [I²C](https://esphome.io/components/i2c/) bus to use. Required with more than one bus.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/switch/seeed_multi_channel_relay/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/switch/seeed_multi_channel_relay/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/select.dfrobot_sen0609.json b/esphome_device_builder/definitions/components/select.dfrobot_sen0609.json index 965bc23b9e..9057600af5 100644 --- a/esphome_device_builder/definitions/components/select.dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/select.dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"select.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"select","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"out_pin_level","type":"nested","label":"Out Pin Level","description":"The level of the module's OUT pin while a target is detected, `low` or `high`. All options from [Select](https://esphome.io/components/select/).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:scale","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["out_pin_level","id"]]}} +{"id":"select.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"select","docs_url":"https://esphome.io/components/dfrobot_sen0609/","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-6"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"out_pin_level","type":"nested","label":"Out Pin Level","description":"The level of the module's OUT pin while a target is detected, `low` or `high`. All options from [Select](https://esphome.io/components/select/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-6","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:scale","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["out_pin_level","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.duco.json b/esphome_device_builder/definitions/components/select.duco.json index 6a546180d2..46dda744c5 100644 --- a/esphome_device_builder/definitions/components/select.duco.json +++ b/esphome_device_builder/definitions/components/select.duco.json @@ -1 +1 @@ -{"id":"select.duco","name":"Duco Ventilation","description":"The select shows and changes the ventilation mode.","category":"select","dependencies":["duco"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the mode is read. Defaults to `3s`.","default_value":"3s","display_format":null,"duration_min_unit":"ms"},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"select.duco","name":"Duco Ventilation","description":"The select shows and changes the ventilation mode.","category":"select","docs_url":"https://esphome.io/components/duco/","image_url":"https://esphome.io/images/duco.svg","dependencies":["duco"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the mode is read. Defaults to `3s`.","default_value":"3s","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-1","duration_min_unit":"ms"},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco","help_link":"https://esphome.io/components/duco/#configuration-variables-1"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/select.ecocomfort2.json b/esphome_device_builder/definitions/components/select.ecocomfort2.json index 3992d82638..eac22cdd2f 100644 --- a/esphome_device_builder/definitions/components/select.ecocomfort2.json +++ b/esphome_device_builder/definitions/components/select.ecocomfort2.json @@ -1 +1 @@ -{"id":"select.ecocomfort2","name":"Ecocomfort2","description":"","category":"select","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["select"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2"},{"key":"free_cooling","type":"nested","label":"Free Cooling","description":"Free cooling, which cools the home with outside air at night: `Off`, `Low`, `Medium` or `High`. The unit only runs free cooling in summer, so it shows `Off` in winter, and changing it in winter is refused with a warning in the log. The unit keeps the level and uses it again when the season returns to summer. All options from [Select](https://esphome.io/components/select/).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:snowflake","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"season","type":"nested","label":"Season","description":"The season the unit runs in, `Winter` or `Summer`. All options from [Select](https://esphome.io/components/select/).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:sun-snowflake-variant","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"select":[["free_cooling","id"],["season","id"]]}} +{"id":"select.ecocomfort2","name":"Ecocomfort2","description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","category":"select","docs_url":"https://esphome.io/components/ecocomfort2","image_url":"https://esphome.io/images/fan.svg","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["select"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-7"},{"key":"free_cooling","type":"nested","label":"Free Cooling","description":"Free cooling, which cools the home with outside air at night: `Off`, `Low`, `Medium` or `High`. The unit only runs free cooling in summer, so it shows `Off` in winter, and changing it in winter is refused with a warning in the log. The unit keeps the level and uses it again when the season returns to summer. All options from [Select](https://esphome.io/components/select/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-7","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:snowflake","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"season","type":"nested","label":"Season","description":"The season the unit runs in, `Winter` or `Summer`. All options from [Select](https://esphome.io/components/select/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-7","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:sun-snowflake-variant","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"select":[["free_cooling","id"],["season","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.espectre.json b/esphome_device_builder/definitions/components/select.espectre.json index de31b1f741..779110189f 100644 --- a/esphome_device_builder/definitions/components/select.espectre.json +++ b/esphome_device_builder/definitions/components/select.espectre.json @@ -1 +1 @@ -{"id":"select.espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The selects change the traffic source, the detection algorithm, and the CSI sample spacing at runtime. They are configuration entities. All keys are optional, but configure at least one per platform entry.","category":"select","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["espectre"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["select"],"config_entries":[{"key":"espectre_id","type":"id","label":"Espectre ID","description":"ID of the ESPectre component. Automatically selected when omitted.","display_format":null,"references_component":"espectre","help_link":"https://esphome.io/components/espectre/"},{"key":"csi_sample_spacing","type":"nested","label":"Csi Sample Spacing","description":"Options `half_slot` and `distinct`. See [`csi_sample_spacing`](https://esphome.io/components/espectre/#configuration-variables).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_algorithm","type":"nested","label":"Detection Algorithm","description":"Options `lightweight` and `high_accuracy`. The threshold changes to the default of the new algorithm. Switching to `lightweight` starts a calibration, so keep the room still until it finishes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"traffic_generator_mode","type":"nested","label":"Traffic Generator Mode","description":"Options `ping`, `dns`, `dns_tcp`, `wifi_raw`, and `external`. See [Traffic Sources](https://esphome.io/components/espectre/#traffic-sources). `wifi_raw` is not offered on ESP32-C6 or with `csi_capture_profile: ht_vht`. `traffic_generator_target_ip` applies only to `ping`, `dns`, and `dns_tcp`. Changing the mode restarts Lightweight calibration. High Accuracy keeps its threshold.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}],"provides_id_paths":{"select":[["csi_sample_spacing","id"],["detection_algorithm","id"],["traffic_generator_mode","id"]]}} +{"id":"select.espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The selects change the traffic source, the detection algorithm, and the CSI sample spacing at runtime. They are configuration entities. All keys are optional, but configure at least one per platform entry.","category":"select","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["espectre"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["select"],"config_entries":[{"key":"espectre_id","type":"id","label":"Espectre ID","description":"ID of the ESPectre component. Automatically selected when omitted.","display_format":null,"references_component":"espectre","help_link":"https://esphome.io/components/espectre/#selects"},{"key":"csi_sample_spacing","type":"nested","label":"Csi Sample Spacing","description":"Options `half_slot` and `distinct`. See [`csi_sample_spacing`](https://esphome.io/components/espectre/#configuration-variables).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#selects","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_algorithm","type":"nested","label":"Detection Algorithm","description":"Options `lightweight` and `high_accuracy`. The threshold changes to the default of the new algorithm. Switching to `lightweight` starts a calibration, so keep the room still until it finishes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#selects","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"traffic_generator_mode","type":"nested","label":"Traffic Generator Mode","description":"Options `ping`, `dns`, `dns_tcp`, `wifi_raw`, and `external`. See [Traffic Sources](https://esphome.io/components/espectre/#traffic-sources). `wifi_raw` is not offered on ESP32-C6 or with `csi_capture_profile: ht_vht`. `traffic_generator_target_ip` applies only to `ping`, `dns`, and `dns_tcp`. Changing the mode restarts Lightweight calibration. High Accuracy keeps its threshold.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#selects","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}],"provides_id_paths":{"select":[["csi_sample_spacing","id"],["detection_algorithm","id"],["traffic_generator_mode","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.haier.json b/esphome_device_builder/definitions/components/select.haier.json index cdec8f6ccf..06529f2663 100644 --- a/esphome_device_builder/definitions/components/select.haier.json +++ b/esphome_device_builder/definitions/components/select.haier.json @@ -1 +1 @@ -{"id":"select.haier","name":"Haier Climate Select","description":"The `haier` select platform adds a vertical and a horizontal airflow direction select to a [Haier Climate](https://esphome.io/components/climate/haier/) that uses the hOn protocol.","category":"select","image_url":"https://esphome.io/images/haier.svg","dependencies":["haier"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"haier_id","type":"id","label":"Haier ID","description":"The ID of the hOn [Haier Climate](https://esphome.io/components/climate/haier/). Only needed with more than one climate.","display_format":null,"references_component":"haier"},{"key":"horizontal_airflow","type":"nested","label":"Horizontal Airflow","description":"The horizontal airflow direction. Options are `Max Left`, `Left`, `Center`, `Right` and `Max Right`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:arrow-expand-horizontal","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vertical_airflow","type":"nested","label":"Vertical Airflow","description":"The vertical airflow direction. Options are `Health Up`, `Max Up`, `Up`, `Center`, `Down`, `Max Down` and `Health Down`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:arrow-expand-vertical","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["horizontal_airflow","id"],["vertical_airflow","id"]]}} +{"id":"select.haier","name":"Haier Climate Select","description":"The `haier` select platform adds a vertical and a horizontal airflow direction select to a [Haier Climate](https://esphome.io/components/climate/haier/) that uses the hOn protocol.","category":"select","docs_url":"https://esphome.io/components/select/haier/","image_url":"https://esphome.io/images/haier.svg","dependencies":["haier"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"haier_id","type":"id","label":"Haier ID","description":"The ID of the hOn [Haier Climate](https://esphome.io/components/climate/haier/). Only needed with more than one climate.","display_format":null,"references_component":"haier","help_link":"https://esphome.io/components/select/haier/#configuration-variables"},{"key":"horizontal_airflow","type":"nested","label":"Horizontal Airflow","description":"The horizontal airflow direction. Options are `Max Left`, `Left`, `Center`, `Right` and `Max Right`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/haier/#configuration-variables","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:arrow-expand-horizontal","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vertical_airflow","type":"nested","label":"Vertical Airflow","description":"The vertical airflow direction. Options are `Health Up`, `Max Up`, `Up`, `Center`, `Down`, `Max Down` and `Health Down`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/haier/#configuration-variables","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:arrow-expand-vertical","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["horizontal_airflow","id"],["vertical_airflow","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.ld2410s.json b/esphome_device_builder/definitions/components/select.ld2410s.json index 7a35f06c89..cfaa58b352 100644 --- a/esphome_device_builder/definitions/components/select.ld2410s.json +++ b/esphome_device_builder/definitions/components/select.ld2410s.json @@ -1 +1 @@ -{"id":"select.ld2410s","name":"Ld2410S","description":"","category":"select","dependencies":["ld2410s"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s"},{"key":"response_speed","type":"nested","label":"Response Speed","description":"How quickly the module reacts to a change, `Normal` or `Fast`. All options from [Select](https://esphome.io/components/select/).","required":true,"display_format":null,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:speedometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["response_speed","id"]]}} +{"id":"select.ld2410s","name":"LD2410S Sensor","description":"HI-LINK LD2410S presence radar with ESPHome.","category":"select","docs_url":"https://esphome.io/components/sensor/ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","dependencies":["ld2410s"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s","help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-5"},{"key":"response_speed","type":"nested","label":"Response Speed","description":"How quickly the module reacts to a change, `Normal` or `Fast`. All options from [Select](https://esphome.io/components/select/).","required":true,"display_format":null,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-5","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:speedometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["response_speed","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.ld2450.json b/esphome_device_builder/definitions/components/select.ld2450.json index 5106d5f5c0..3c12234461 100644 --- a/esphome_device_builder/definitions/components/select.ld2450.json +++ b/esphome_device_builder/definitions/components/select.ld2450.json @@ -1 +1 @@ -{"id":"select.ld2450","name":"LD2450 Sensor","description":"The `ld2450` select allows you to control `baud rate` and `zone type` of your [Ld2450](https://esphome.io/components/sensor/ld2450/).","category":"select","docs_url":"https://esphome.io/components/sensor/ld2450/","image_url":"https://esphome.io/images/ld2450.png","dependencies":["ld2450"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"ld2450_id","type":"id","label":"Ld2450 ID","description":"Manually specify the ID for the [Ld2450](https://esphome.io/components/sensor/ld2450/) component.","display_format":null,"references_component":"ld2450","help_link":"https://esphome.io/components/sensor/ld2450/"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"baud_rate","type":"nested","label":"Baud Rate","description":"Set the baud rate of the radar. Options are `9600`, `19200`, `38400`, `57600`, `115200`, `230400`, `256000` and `460800`. The select shows the `baud_rate` set in the [UART Component](https://esphome.io/components/uart) configuration. Picking an option sends the new rate to the radar and restarts it. It does not change the UART of the ESP, so the sensors stop working until you set the same `baud_rate` in the UART configuration and install it. Radar firmware `2.14.25112412` resets the radar to 9600 baud. If the sensors are silent on that firmware, set `baud_rate: 9600` in the UART configuration and install it. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2450/","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"zone_type","type":"nested","label":"Zone Type","description":"Control the zone detection modes. It can be set to `Disabled`, `Detection` or `Filter`. Selecting the `Disabled` option will disable zone area detection. `Detection` mode is used to detect only targets in the specified area, while `Filter` mode can be used to exclude an area from detection. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2450/","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["baud_rate","id"],["zone_type","id"]]}} +{"id":"select.ld2450","name":"LD2450 Sensor","description":"The `ld2450` select allows you to control `baud rate` and `zone type` of your [Ld2450](https://esphome.io/components/sensor/ld2450/).","category":"select","docs_url":"https://esphome.io/components/sensor/ld2450/","image_url":"https://esphome.io/images/ld2450.png","dependencies":["ld2450"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"ld2450_id","type":"id","label":"Ld2450 ID","description":"Manually specify the ID for the [Ld2450](https://esphome.io/components/sensor/ld2450/) component.","display_format":null,"references_component":"ld2450","help_link":"https://esphome.io/components/sensor/ld2450/#configuration-variables-8"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"baud_rate","type":"nested","label":"Baud Rate","description":"Set the baud rate of the radar. Options are `9600`, `19200`, `38400`, `57600`, `115200`, `230400`, `256000` and `460800`. The select shows the `baud_rate` set in the [UART Component](https://esphome.io/components/uart) configuration. Picking an option sends the new rate to the radar and restarts it. It does not change the UART of the ESP, so the sensors stop working until you set the same `baud_rate` in the UART configuration and install it. Radar firmware `2.14.25112412` resets the radar to 9600 baud. If the sensors are silent on that firmware, set `baud_rate: 9600` in the UART configuration and install it. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2450/#configuration-variables-8","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"zone_type","type":"nested","label":"Zone Type","description":"Control the zone detection modes. It can be set to `Disabled`, `Detection` or `Filter`. Selecting the `Disabled` option will disable zone area detection. `Detection` mode is used to detect only targets in the specified area, while `Filter` mode can be used to exclude an area from detection. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2450/#configuration-variables-8","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["baud_rate","id"],["zone_type","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.ld6004.json b/esphome_device_builder/definitions/components/select.ld6004.json index a3ae917c05..705b1321e3 100644 --- a/esphome_device_builder/definitions/components/select.ld6004.json +++ b/esphome_device_builder/definitions/components/select.ld6004.json @@ -1 +1 @@ -{"id":"select.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` select platform configures sensitivity, trigger speed, installation mode, the active area ID, work mode, and OUT / P20 behavior.","category":"select","dependencies":["ld6004"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004"},{"key":"area_id","type":"nested","label":"Area ID","description":"Area to edit with `area_config`. Options are `interference_area_0` through `interference_area_3`, `detection_area_0` through `detection_area_3`, and `dwell_area_0` through `dwell_area_3` (twelve options mapped internally to IDs 0 to 11). All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"installation_mode","type":"nested","label":"Installation Mode","description":"`top` or `side`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"p20_mode","type":"nested","label":"P20 Mode","description":"Configure the module's OUT / P20 pin. Options are `presence_high`, `presence_low`, `constant_low`, `constant_high`, `pulse_low`, and `pulse_high`. The presence modes select the active level, the constant modes hold a fixed level, and the pulse modes emit a 500 ms pulse on a presence transition. The module default is `presence_high`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"sensitivity","type":"nested","label":"Sensitivity","description":"`low`, `medium`, or `high`. `low` only detects motion. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"trigger_speed","type":"nested","label":"Trigger Speed","description":"`fast` (0.5 s), `medium` (1 s), or `slow` (5 s), the time from detecting a person to triggering. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"work_mode","type":"nested","label":"Work Mode","description":"`normal`, `low_power`, `radar_off_p20_high`, `radar_off_p20_low`, or `high_reflectivity`. The radar-off modes disable the radar and hold P20 high or low. When the module reports a radar-off mode, the component clears all presence and target states and ignores target and area presence reports until the module reports another mode. In `low_power`, an unoccupied room uses 1T1R with about 2.5 mA average current. Movement switches the radar to 2T2R to detect stationary targets. Use `high_reflectivity` in rooms with a lot of metal. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["area_id","id"],["installation_mode","id"],["p20_mode","id"],["sensitivity","id"],["trigger_speed","id"],["work_mode","id"]]}} +{"id":"select.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` select platform configures sensitivity, trigger speed, installation mode, the active area ID, work mode, and OUT / P20 behavior.","category":"select","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["ld6004"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-5"},{"key":"area_id","type":"nested","label":"Area ID","description":"Area to edit with `area_config`. Options are `interference_area_0` through `interference_area_3`, `detection_area_0` through `detection_area_3`, and `dwell_area_0` through `dwell_area_3` (twelve options mapped internally to IDs 0 to 11). All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-5","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"installation_mode","type":"nested","label":"Installation Mode","description":"`top` or `side`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-5","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"p20_mode","type":"nested","label":"P20 Mode","description":"Configure the module's OUT / P20 pin. Options are `presence_high`, `presence_low`, `constant_low`, `constant_high`, `pulse_low`, and `pulse_high`. The presence modes select the active level, the constant modes hold a fixed level, and the pulse modes emit a 500 ms pulse on a presence transition. The module default is `presence_high`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-5","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"sensitivity","type":"nested","label":"Sensitivity","description":"`low`, `medium`, or `high`. `low` only detects motion. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-5","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"trigger_speed","type":"nested","label":"Trigger Speed","description":"`fast` (0.5 s), `medium` (1 s), or `slow` (5 s), the time from detecting a person to triggering. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-5","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"work_mode","type":"nested","label":"Work Mode","description":"`normal`, `low_power`, `radar_off_p20_high`, `radar_off_p20_low`, or `high_reflectivity`. The radar-off modes disable the radar and hold P20 high or low. When the module reports a radar-off mode, the component clears all presence and target states and ignores target and area presence reports until the module reports another mode. In `low_power`, an unoccupied room uses 1T1R with about 2.5 mA average current. Movement switches the radar to 2T2R to detect stationary targets. Use `high_reflectivity` in rooms with a lot of metal. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-5","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["area_id","id"],["installation_mode","id"],["p20_mode","id"],["sensitivity","id"],["trigger_speed","id"],["work_mode","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.m5stack_unit_bldc.json b/esphome_device_builder/definitions/components/select.m5stack_unit_bldc.json index de5337f970..358c33a731 100644 --- a/esphome_device_builder/definitions/components/select.m5stack_unit_bldc.json +++ b/esphome_device_builder/definitions/components/select.m5stack_unit_bldc.json @@ -1 +1 @@ -{"id":"select.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` select platform sets the motor's rotation direction.","category":"select","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc"},{"key":"direction","type":"nested","label":"Direction","description":"A select with two options, `Forward` and `Backward`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["direction","id"]]}} +{"id":"select.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` select platform sets the motor's rotation direction.","category":"select","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","image_url":"https://esphome.io/images/motor.png","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc","help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-2"},{"key":"direction","type":"nested","label":"Direction","description":"A select with two options, `Forward` and `Backward`. All options from [Select](https://esphome.io/components/select/#config-select).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-2","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["direction","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.panasonic_ir.json b/esphome_device_builder/definitions/components/select.panasonic_ir.json index 0bbfdf5048..689e246f81 100644 --- a/esphome_device_builder/definitions/components/select.panasonic_ir.json +++ b/esphome_device_builder/definitions/components/select.panasonic_ir.json @@ -1 +1 @@ -{"id":"select.panasonic_ir","name":"Panasonic Ir","description":"","category":"select","dependencies":["climate.panasonic_ir","panasonic_ir"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"panasonic_ir_id","type":"id","label":"Panasonic IR ID","display_format":null,"references_component":"panasonic_ir"},{"key":"vane_position","type":"nested","label":"Vane Position","required":true,"display_format":null,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:arrow-expand-vertical","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["vane_position","id"]]}} +{"id":"select.panasonic_ir","name":"Panasonic Ir","description":"","category":"select","docs_url":"https://esphome.io/components/climate/climate_ir#panasonic_ir","dependencies":["climate.panasonic_ir","panasonic_ir"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"panasonic_ir_id","type":"id","label":"Panasonic IR ID","display_format":null,"references_component":"panasonic_ir"},{"key":"vane_position","type":"nested","label":"Vane Position","required":true,"display_format":null,"platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:arrow-expand-vertical","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["vane_position","id"]]}} diff --git a/esphome_device_builder/definitions/components/select.tas58xx.json b/esphome_device_builder/definitions/components/select.tas58xx.json index 06948fee70..e65c426602 100644 --- a/esphome_device_builder/definitions/components/select.tas58xx.json +++ b/esphome_device_builder/definitions/components/select.tas58xx.json @@ -1 +1 @@ -{"id":"select.tas58xx","name":"TAS58xx","description":"The `tas58xx` select platform changes the mixer mode while the device is running.","category":"select","docs_url":"https://esphome.io/components/audio_dac/tas58xx/","image_url":"https://esphome.io/images/badges/tas5805m.svg","dependencies":["tas58xx"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"tas58xx_id","type":"id","label":"Tas58Xx ID","description":"The ID of the `tas58xx` platform. Required when more than one amplifier is configured.","display_format":null,"references_component":"tas58xx","help_link":"https://esphome.io/components/audio_dac/tas58xx/"},{"key":"mixer_mode","type":"nested","label":"Mixer Mode","description":"A select for the input mixer, with the options `Stereo`, `Stereo inverse`, `Mono`, `Left` and `Right`, as described for `mixer_mode` above. With `dac_mode: pbtl` only `Mono`, `Left` and `Right` are available. All options from [Select](https://esphome.io/components/select/). Defaults to the `config` entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/tas58xx/","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:speaker-multiple","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["mixer_mode","id"]]}} +{"id":"select.tas58xx","name":"TAS58xx","description":"The `tas58xx` select platform changes the mixer mode while the device is running.","category":"select","docs_url":"https://esphome.io/components/audio_dac/tas58xx/","image_url":"https://esphome.io/images/badges/tas5805m.svg","dependencies":["tas58xx"],"multi_conf":true,"provides":["select"],"config_entries":[{"key":"tas58xx_id","type":"id","label":"Tas58Xx ID","description":"The ID of the `tas58xx` platform. Required when more than one amplifier is configured.","display_format":null,"references_component":"tas58xx","help_link":"https://esphome.io/components/audio_dac/tas58xx/#select-configuration-variables"},{"key":"mixer_mode","type":"nested","label":"Mixer Mode","description":"A select for the input mixer, with the options `Stereo`, `Stereo inverse`, `Mono`, `Left` and `Right`, as described for `mixer_mode` above. With `dac_mode: pbtl` only `Mono`, `Left` and `Right` are available. All options from [Select](https://esphome.io/components/select/). Defaults to the `config` entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/tas58xx/#select-configuration-variables","platform_type":"select","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the select. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the select in the frontend.","default_value":"mdi:speaker-multiple","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/select/#base-select-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"select":[["mixer_mode","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.airton_serial.json b/esphome_device_builder/definitions/components/sensor.airton_serial.json index 8714a79fb0..00069a7873 100644 --- a/esphome_device_builder/definitions/components/sensor.airton_serial.json +++ b/esphome_device_builder/definitions/components/sensor.airton_serial.json @@ -1 +1 @@ -{"id":"sensor.airton_serial","name":"Airton Serial Climate","description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","category":"sensor","dependencies":["uart","airton_serial"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"airton_serial_id","type":"id","label":"Airton Serial ID","description":"The ID of the `airton_serial` climate. Only needed when more than one is configured.","display_format":null,"references_component":"airton_serial"},{"key":"revision","type":"nested","label":"Revision","description":"The board's protocol revision counter. This is a diagnostic value. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"total_usage_time","type":"nested","label":"Total Usage Time","description":"Total usage time in hours, read from the board's poll response. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["revision","id"],["total_usage_time","id"]]}} +{"id":"sensor.airton_serial","name":"Airton Serial Climate","description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","category":"sensor","docs_url":"https://esphome.io/components/climate/airton_serial/","image_url":"https://esphome.io/images/air-conditioner.svg","dependencies":["uart","airton_serial"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"airton_serial_id","type":"id","label":"Airton Serial ID","description":"The ID of the `airton_serial` climate. Only needed when more than one is configured.","display_format":null,"references_component":"airton_serial","help_link":"https://esphome.io/components/climate/airton_serial/#sensors"},{"key":"revision","type":"nested","label":"Revision","description":"The board's protocol revision counter. This is a diagnostic value. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/climate/airton_serial/#sensors","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"total_usage_time","type":"nested","label":"Total Usage Time","description":"Total usage time in hours, read from the board's poll response. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/climate/airton_serial/#sensors","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["revision","id"],["total_usage_time","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.apc1.json b/esphome_device_builder/definitions/components/sensor.apc1.json index 730e412f0f..38d36e0b0b 100644 --- a/esphome_device_builder/definitions/components/sensor.apc1.json +++ b/esphome_device_builder/definitions/components/sensor.apc1.json @@ -1 +1 @@ -{"id":"sensor.apc1","name":"APC1 Air Quality Combo Sensor","description":"The `apc1` sensor platform allows you to use the [ScioSense APC1 air quality sensor](https://www.sciosense.com/apc1-air-quality-combo-sensor/) with ESPHome. This sensor reports particulates, total volatile organic compounds (TVOC), estimated carbon dioxide (eCO2), air quality index (AQI), temperature, and relative humidity.","category":"sensor","dependencies":["uart"],"multi_conf":true,"provides":["apc1","sensor"],"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) if multiple UART buses are configured.","display_format":null,"references_component":"uart"},{"key":"aqi","type":"nested","label":"Aqi","description":"Air Quality Index (AQI 1–5). Reports `NAN` while the gas sensor is warming up. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"aqi","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"eco2","type":"nested","label":"Eco2","description":"Equivalent Carbon Dioxide (eCO2) concentration in ppm calculated by the sensor. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule-co2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_dioxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"error_code","type":"nested","label":"Error Code","description":"Hardware diagnostic error code bitmask reported by the sensor. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alert-circle-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_10_0","type":"nested","label":"PM 10 0","description":"The concentration of particulates of size less than 10.0µm in µg per cubic meter calibrated for atmospheric air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm10","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_10_0_std","type":"nested","label":"PM 10 0 Std","description":"The concentration of particulates of size less than 10.0µm in µg per cubic meter calibrated for standard particle conditions. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm10","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_1_0","type":"nested","label":"PM 1 0","description":"The concentration of particulates of size less than 1.0µm in µg per cubic meter calibrated for atmospheric air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm1","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_1_0_std","type":"nested","label":"PM 1 0 Std","description":"The concentration of particulates of size less than 1.0µm in µg per cubic meter calibrated for standard particle conditions. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm1","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_2_5","type":"nested","label":"PM 2 5","description":"The concentration of particulates of size less than 2.5µm in µg per cubic meter calibrated for atmospheric air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm25","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_2_5_std","type":"nested","label":"PM 2 5 Std","description":"The concentration of particulates of size less than 2.5µm in µg per cubic meter calibrated for standard particle conditions. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm25","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"Pin connected to the RESET pin of the sensor. Pulling LOW resets the sensor.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"set_pin","type":"pin","label":"Set Pin","description":"Pin connected to the SET pin of the sensor. Pulling HIGH enables normal operating mode; pulling LOW puts the sensor into low-power sleep mode.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"tvoc","type":"nested","label":"TVOC","description":"Total Volatile Organic Compounds (TVOC) concentration in ppb. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radiator","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"volatile_organic_compounds_parts","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppb","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this APC1 component instance (useful when targeting the sensor with [actions](https://esphome.io/components/sensor/apc1/#actions)).","advanced":true},{"key":"humidity","type":"nested","label":"Humidity","description":"Compensated relative humidity value in %. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_0_3um","type":"nested","label":"PM 0 3Um","description":"The number of particles with diameter >= 0.3 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_0_5um","type":"nested","label":"PM 0 5Um","description":"The number of particles with diameter >= 0.5 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_10_0um","type":"nested","label":"PM 10 0Um","description":"The number of particles with diameter >= 10.0 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_1_0um","type":"nested","label":"PM 1 0Um","description":"The number of particles with diameter >= 1.0 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_2_5um","type":"nested","label":"PM 2 5Um","description":"The number of particles with diameter >= 2.5 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_5_0um","type":"nested","label":"PM 5 0Um","description":"The number of particles with diameter >= 5.0 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"raw_humidity","type":"nested","label":"Raw Humidity","description":"Raw uncompensated relative humidity value in %. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"raw_temperature","type":"nested","label":"Raw Temperature","description":"Raw uncompensated temperature value in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs0","type":"nested","label":"Rs0","description":"Raw resistance of the MOX gas sensor RS0 element in Ω. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:omega","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Ω","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs2","type":"nested","label":"Rs2","description":"Raw resistance of the MOX gas sensor RS2 element in Ω. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:omega","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Ω","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs3","type":"nested","label":"Rs3","description":"Raw resistance of the MOX gas sensor RS3 element in Ω. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:omega","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Ω","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"temperature","type":"nested","label":"Temperature","description":"Compensated temperature value in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["aqi","id"],["eco2","id"],["error_code","id"],["humidity","id"],["pm_0_3um","id"],["pm_0_5um","id"],["pm_10_0","id"],["pm_10_0_std","id"],["pm_10_0um","id"],["pm_1_0","id"],["pm_1_0_std","id"],["pm_1_0um","id"],["pm_2_5","id"],["pm_2_5_std","id"],["pm_2_5um","id"],["pm_5_0um","id"],["raw_humidity","id"],["raw_temperature","id"],["rs0","id"],["rs2","id"],["rs3","id"],["temperature","id"],["tvoc","id"]]}} +{"id":"sensor.apc1","name":"APC1 Air Quality Combo Sensor","description":"The `apc1` sensor platform allows you to use the [ScioSense APC1 air quality sensor](https://www.sciosense.com/apc1-air-quality-combo-sensor/) with ESPHome. This sensor reports particulates, total volatile organic compounds (TVOC), estimated carbon dioxide (eCO2), air quality index (AQI), temperature, and relative humidity.","category":"sensor","docs_url":"https://esphome.io/components/sensor/apc1/","image_url":"https://esphome.io/images/apc1.webp","dependencies":["uart"],"multi_conf":true,"provides":["apc1","sensor"],"config_entries":[{"key":"uart_id","type":"id","label":"UART ID","description":"Manually specify the ID of the [UART Component](https://esphome.io/components/uart/) if multiple UART buses are configured.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables"},{"key":"aqi","type":"nested","label":"Aqi","description":"Air Quality Index (AQI 1–5). Reports `NAN` while the gas sensor is warming up. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"aqi","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"eco2","type":"nested","label":"Eco2","description":"Equivalent Carbon Dioxide (eCO2) concentration in ppm calculated by the sensor. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule-co2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_dioxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"error_code","type":"nested","label":"Error Code","description":"Hardware diagnostic error code bitmask reported by the sensor. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alert-circle-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_10_0","type":"nested","label":"PM 10 0","description":"The concentration of particulates of size less than 10.0µm in µg per cubic meter calibrated for atmospheric air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm10","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_10_0_std","type":"nested","label":"PM 10 0 Std","description":"The concentration of particulates of size less than 10.0µm in µg per cubic meter calibrated for standard particle conditions. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm10","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_1_0","type":"nested","label":"PM 1 0","description":"The concentration of particulates of size less than 1.0µm in µg per cubic meter calibrated for atmospheric air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm1","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_1_0_std","type":"nested","label":"PM 1 0 Std","description":"The concentration of particulates of size less than 1.0µm in µg per cubic meter calibrated for standard particle conditions. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm1","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_2_5","type":"nested","label":"PM 2 5","description":"The concentration of particulates of size less than 2.5µm in µg per cubic meter calibrated for atmospheric air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm25","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_2_5_std","type":"nested","label":"PM 2 5 Std","description":"The concentration of particulates of size less than 2.5µm in µg per cubic meter calibrated for standard particle conditions. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pm25","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µg/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"Pin connected to the RESET pin of the sensor. Pulling LOW resets the sensor.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"set_pin","type":"pin","label":"Set Pin","description":"Pin connected to the SET pin of the sensor. Pulling HIGH enables normal operating mode; pulling LOW puts the sensor into low-power sleep mode.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"tvoc","type":"nested","label":"TVOC","description":"Total Volatile Organic Compounds (TVOC) concentration in ppb. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radiator","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"volatile_organic_compounds_parts","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppb","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this APC1 component instance (useful when targeting the sensor with [actions](https://esphome.io/components/sensor/apc1/#actions)).","advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables"},{"key":"humidity","type":"nested","label":"Humidity","description":"Compensated relative humidity value in %. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_0_3um","type":"nested","label":"PM 0 3Um","description":"The number of particles with diameter >= 0.3 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_0_5um","type":"nested","label":"PM 0 5Um","description":"The number of particles with diameter >= 0.5 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_10_0um","type":"nested","label":"PM 10 0Um","description":"The number of particles with diameter >= 10.0 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_1_0um","type":"nested","label":"PM 1 0Um","description":"The number of particles with diameter >= 1.0 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_2_5um","type":"nested","label":"PM 2 5Um","description":"The number of particles with diameter >= 2.5 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pm_5_0um","type":"nested","label":"PM 5 0Um","description":"The number of particles with diameter >= 5.0 µm in 0.1L of air. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chemical-weapon","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"/dL","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"raw_humidity","type":"nested","label":"Raw Humidity","description":"Raw uncompensated relative humidity value in %. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"raw_temperature","type":"nested","label":"Raw Temperature","description":"Raw uncompensated temperature value in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs0","type":"nested","label":"Rs0","description":"Raw resistance of the MOX gas sensor RS0 element in Ω. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:omega","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Ω","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs2","type":"nested","label":"Rs2","description":"Raw resistance of the MOX gas sensor RS2 element in Ω. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:omega","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Ω","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs3","type":"nested","label":"Rs3","description":"Raw resistance of the MOX gas sensor RS3 element in Ω. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:omega","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Ω","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"temperature","type":"nested","label":"Temperature","description":"Compensated temperature value in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apc1/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["aqi","id"],["eco2","id"],["error_code","id"],["humidity","id"],["pm_0_3um","id"],["pm_0_5um","id"],["pm_10_0","id"],["pm_10_0_std","id"],["pm_10_0um","id"],["pm_1_0","id"],["pm_1_0_std","id"],["pm_1_0um","id"],["pm_2_5","id"],["pm_2_5_std","id"],["pm_2_5um","id"],["pm_5_0um","id"],["raw_humidity","id"],["raw_temperature","id"],["rs0","id"],["rs2","id"],["rs3","id"],["temperature","id"],["tvoc","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.apds9930.json b/esphome_device_builder/definitions/components/sensor.apds9930.json index 37822a78c9..66f3347519 100644 --- a/esphome_device_builder/definitions/components/sensor.apds9930.json +++ b/esphome_device_builder/definitions/components/sensor.apds9930.json @@ -1 +1 @@ -{"id":"sensor.apds9930","name":"APDS9930 Sensor","description":"The `apds9930` sensor platform allows you to use the Broadcom APDS9930 ambient light and proximity sensor ([datasheet](https://docs.broadcom.com/doc/AV02-3190EN)) with ESPHome. The [I²C](https://esphome.io/components/i2c/) bus is required to be set up in your configuration for this sensor to work.","category":"sensor","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x39`.","default_value":"57","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"illuminance","type":"nested","label":"Illuminance","description":"The ambient light level in lux, computed from the visible and infrared channels with infrared compensation. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"proximity","type":"nested","label":"Proximity","description":"The reflected infrared light as a raw count from `0` to `1023`. A larger count means a closer object; the scale depends on the LED current, the gain, the cover glass and how reflective the object is, so pick thresholds for your own setup. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"ambient_light_gain","type":"string","label":"Ambient Light Gain","description":"The ambient light gain. One of `1x`, `8x`, `16x` or `120x`. Pick a higher gain for dim rooms; a gain that is too high saturates in bright light. Defaults to `1x`.","default_value":"1x","options":[{"label":"1x","value":"1x"},{"label":"8x","value":"8x"},{"label":"16x","value":"16x"},{"label":"120x","value":"120x"}],"display_format":null,"advanced":true},{"key":"led_drive","type":"string","label":"LED Drive","description":"The infrared LED current used for proximity detection. One of `100ma`, `50ma`, `25ma` or `12.5ma`. More current gives more range and uses more power. Defaults to `100ma`.","default_value":"100ma","options":[{"label":"100ma","value":"100ma"},{"label":"50ma","value":"50ma"},{"label":"25ma","value":"25ma"},{"label":"12.5ma","value":"12.5ma"}],"display_format":null,"advanced":true},{"key":"proximity_gain","type":"string","label":"Proximity Gain","description":"The proximity detector gain. One of `1x`, `2x`, `4x` or `8x`. Defaults to `8x`.","default_value":"8x","options":[{"label":"1x","value":"1x"},{"label":"2x","value":"2x"},{"label":"4x","value":"4x"},{"label":"8x","value":"8x"}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["illuminance","id"],["proximity","id"]]}} +{"id":"sensor.apds9930","name":"APDS9930 Sensor","description":"The `apds9930` sensor platform allows you to use the Broadcom APDS9930 ambient light and proximity sensor ([datasheet](https://docs.broadcom.com/doc/AV02-3190EN)) with ESPHome. The [I²C](https://esphome.io/components/i2c/) bus is required to be set up in your configuration for this sensor to work.","category":"sensor","docs_url":"https://esphome.io/components/sensor/apds9930/","image_url":"https://esphome.io/images/apds9930.jpg","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x39`.","default_value":"57","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/apds9930/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/apds9930/#configuration-variables","duration_min_unit":"ms"},{"key":"illuminance","type":"nested","label":"Illuminance","description":"The ambient light level in lux, computed from the visible and infrared channels with infrared compensation. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apds9930/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"proximity","type":"nested","label":"Proximity","description":"The reflected infrared light as a raw count from `0` to `1023`. A larger count means a closer object; the scale depends on the LED current, the gain, the cover glass and how reflective the object is, so pick thresholds for your own setup. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/apds9930/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"ambient_light_gain","type":"string","label":"Ambient Light Gain","description":"The ambient light gain. One of `1x`, `8x`, `16x` or `120x`. Pick a higher gain for dim rooms; a gain that is too high saturates in bright light. Defaults to `1x`.","default_value":"1x","options":[{"label":"1x","value":"1x"},{"label":"8x","value":"8x"},{"label":"16x","value":"16x"},{"label":"120x","value":"120x"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apds9930/#configuration-variables"},{"key":"led_drive","type":"string","label":"LED Drive","description":"The infrared LED current used for proximity detection. One of `100ma`, `50ma`, `25ma` or `12.5ma`. More current gives more range and uses more power. Defaults to `100ma`.","default_value":"100ma","options":[{"label":"100ma","value":"100ma"},{"label":"50ma","value":"50ma"},{"label":"25ma","value":"25ma"},{"label":"12.5ma","value":"12.5ma"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apds9930/#configuration-variables"},{"key":"proximity_gain","type":"string","label":"Proximity Gain","description":"The proximity detector gain. One of `1x`, `2x`, `4x` or `8x`. Defaults to `8x`.","default_value":"8x","options":[{"label":"1x","value":"1x"},{"label":"2x","value":"2x"},{"label":"4x","value":"4x"},{"label":"8x","value":"8x"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/apds9930/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["illuminance","id"],["proximity","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.aranet.json b/esphome_device_builder/definitions/components/sensor.aranet.json index 3cc0c9c94f..e8cb102348 100644 --- a/esphome_device_builder/definitions/components/sensor.aranet.json +++ b/esphome_device_builder/definitions/components/sensor.aranet.json @@ -1 +1 @@ -{"id":"sensor.aranet","name":"Aranet BLE Sensors","description":"The `aranet` sensor platform reads advertisements from Aranet Bluetooth Low Energy devices. It supports Aranet4, Aranet2, Aranet Radiation, Aranet Radon Plus, and Aranet Radon One devices. The platform listens passively and does not connect to the device.","category":"sensor","multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"battery_level","type":"nested","label":"Battery Level","description":"The device battery level in percent. Reported by all supported models.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ble_hub_id","type":"id","label":"BLE Hub ID","display_format":null,"references_component":"ble_device_base"},{"key":"co2","type":"nested","label":"CO2","description":"The carbon dioxide concentration reported by an Aranet4.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_dioxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"humidity","type":"nested","label":"Humidity","description":"The relative humidity reported by an Aranet4, Aranet2, or Aranet Radon Plus.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"mac_address","type":"mac_address","label":"MAC Address","description":"The MAC address of the Aranet device.","required":true,"display_format":null},{"key":"pressure","type":"nested","label":"Pressure","description":"The atmospheric pressure reported by an Aranet4, Aranet Radon Plus, or Aranet Radon One.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pressure","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"hPa","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radiation_duration","type":"nested","label":"Radiation Duration","description":"The duration in seconds over which the accumulated dose was measured by an Aranet Radiation.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radiation_rate","type":"nested","label":"Radiation Rate","description":"The radiation dose rate in µSv/h reported by an Aranet Radiation.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µSv/h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radiation_total","type":"nested","label":"Radiation Total","description":"The accumulated radiation dose in nSv reported by an Aranet Radiation.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"nSv","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radon","type":"nested","label":"Radon","description":"The radon concentration in Bq/m³ reported by an Aranet Radon Plus or Aranet Radon One.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"radon","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Bq/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"signal_strength","type":"nested","label":"Signal Strength","description":"The RSSI of the received advertisement in dBm.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"signal_strength","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"dBm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"The temperature reported by an Aranet4, Aranet2, or Aranet Radon Plus.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"measurement_age","type":"nested","label":"Measurement Age","description":"The time in seconds since the device took its most recent measurement. Reported by all supported models.","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"measurement_interval","type":"nested","label":"Measurement Interval","description":"The interval between device measurements in seconds. Reported by all supported models.","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["co2","id"],["humidity","id"],["measurement_age","id"],["measurement_interval","id"],["pressure","id"],["radiation_duration","id"],["radiation_rate","id"],["radiation_total","id"],["radon","id"],["signal_strength","id"],["temperature","id"]]}} +{"id":"sensor.aranet","name":"Aranet BLE Sensors","description":"The `aranet` sensor platform reads advertisements from Aranet Bluetooth Low Energy devices. It supports Aranet4, Aranet2, Aranet Radiation, Aranet Radon Plus, and Aranet Radon One devices. The platform listens passively and does not connect to the device.","category":"sensor","docs_url":"https://esphome.io/components/sensor/aranet/","image_url":"https://esphome.io/images/bluetooth.svg","multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"battery_level","type":"nested","label":"Battery Level","description":"The device battery level in percent. Reported by all supported models.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ble_hub_id","type":"id","label":"BLE Hub ID","display_format":null,"references_component":"ble_device_base"},{"key":"co2","type":"nested","label":"CO2","description":"The carbon dioxide concentration reported by an Aranet4.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_dioxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"humidity","type":"nested","label":"Humidity","description":"The relative humidity reported by an Aranet4, Aranet2, or Aranet Radon Plus.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"mac_address","type":"mac_address","label":"MAC Address","description":"The MAC address of the Aranet device.","required":true,"display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables"},{"key":"pressure","type":"nested","label":"Pressure","description":"The atmospheric pressure reported by an Aranet4, Aranet Radon Plus, or Aranet Radon One.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pressure","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"hPa","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radiation_duration","type":"nested","label":"Radiation Duration","description":"The duration in seconds over which the accumulated dose was measured by an Aranet Radiation.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radiation_rate","type":"nested","label":"Radiation Rate","description":"The radiation dose rate in µSv/h reported by an Aranet Radiation.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µSv/h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radiation_total","type":"nested","label":"Radiation Total","description":"The accumulated radiation dose in nSv reported by an Aranet Radiation.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"nSv","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radon","type":"nested","label":"Radon","description":"The radon concentration in Bq/m³ reported by an Aranet Radon Plus or Aranet Radon One.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"radon","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Bq/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"signal_strength","type":"nested","label":"Signal Strength","description":"The RSSI of the received advertisement in dBm.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"signal_strength","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"dBm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"The temperature reported by an Aranet4, Aranet2, or Aranet Radon Plus.","display_format":null,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"measurement_age","type":"nested","label":"Measurement Age","description":"The time in seconds since the device took its most recent measurement. Reported by all supported models.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"measurement_interval","type":"nested","label":"Measurement Interval","description":"The interval between device measurements in seconds. Reported by all supported models.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/aranet/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["co2","id"],["humidity","id"],["measurement_age","id"],["measurement_interval","id"],["pressure","id"],["radiation_duration","id"],["radiation_rate","id"],["radiation_total","id"],["radon","id"],["signal_strength","id"],["temperature","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.as734x.json b/esphome_device_builder/definitions/components/sensor.as734x.json index 70825ee740..f9567ceadb 100644 --- a/esphome_device_builder/definitions/components/sensor.as734x.json +++ b/esphome_device_builder/definitions/components/sensor.as734x.json @@ -1 +1 @@ -{"id":"sensor.as734x","name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","description":"The `as734x` sensor platform publishes the readings of an `as734x` component.","category":"sensor","dependencies":["as734x"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"as734x_id","type":"id","label":"As734X ID","description":"The ID of the `as734x` component to read from. Only needed when you have more than one `as734x` sensor.","display_format":null,"references_component":"as734x"},{"key":"color_temperature","type":"nested","label":"Color Temperature","description":"Correlated colour temperature of the light, in kelvin. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sun-thermometer-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"K","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Brightness as the human eye perceives it, in lux. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-sunny","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"irradiance_par","type":"nested","label":"Irradiance Par","description":"Radiant power over the 400nm to 700nm range plants use, in W/m². All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sprout","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"irradiance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W/m²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"irradiance_photopic","type":"nested","label":"Irradiance Photopic","description":"Radiant power weighted by the eye's response curve, in W/m². All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sun-wireless-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"irradiance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W/m²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ppfd","type":"nested","label":"Ppfd","description":"Photosynthetic photon flux density, the same 400nm to 700nm range counted as photons rather than power, in µmol/m²/s. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sprout-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µmol/m²/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"saturation_level","type":"nested","label":"Saturation Level","description":"The highest channel reading as a percentage of the full-scale count. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-sunny-alert","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"basic_counts","type":"nested","label":"Basic Counts","description":"The same channels as `counts`, but converted to basic counts, which are comparable across different `gain` and integration time settings. See [Basic Counts](https://esphome.io/components/sensor/as734x/#basic-counts) below. Each channel accepts all options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","default_value":"{}","display_format":null,"advanced":true,"config_entries":[{"key":"clear","type":"nested","label":"Clear","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f1","type":"nested","label":"F1","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f2","type":"nested","label":"F2","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f3","type":"nested","label":"F3","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f4","type":"nested","label":"F4","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f5","type":"nested","label":"F5","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f6","type":"nested","label":"F6","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f7","type":"nested","label":"F7","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f8","type":"nested","label":"F8","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fxl","type":"nested","label":"Fxl","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fy","type":"nested","label":"Fy","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fz","type":"nested","label":"Fz","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"nir","type":"nested","label":"Nir","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"counts","type":"nested","label":"Counts","description":"The raw per-band readings to publish, see [Raw Counts](https://esphome.io/components/sensor/as734x/#raw-counts). Each band is optional; only the bands you list are published. Each band accepts all options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","default_value":"{}","display_format":null,"advanced":true,"config_entries":[{"key":"clear","type":"nested","label":"Clear","description":"Clear, unfiltered wideband channel.","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f1","type":"nested","label":"F1","description":"Band F1 (415nm on the AS7341, 405nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f2","type":"nested","label":"F2","description":"Band F2 (445nm on the AS7341, 425nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f3","type":"nested","label":"F3","description":"Band F3 (480nm on the AS7341, 475nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f4","type":"nested","label":"F4","description":"Band F4 (515nm).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f5","type":"nested","label":"F5","description":"Band F5 (555nm on the AS7341, 550nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f6","type":"nested","label":"F6","description":"Band F6 (590nm on the AS7341, 640nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f7","type":"nested","label":"F7","description":"Band F7 (630nm on the AS7341, 690nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f8","type":"nested","label":"F8","description":"Band F8 (680nm on the AS7341, 745nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fxl","type":"nested","label":"Fxl","description":"Band FXL (600nm). `AS7343` and `TCS3448` only.","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fy","type":"nested","label":"Fy","description":"Band FY (555nm). `AS7343` and `TCS3448` only.","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fz","type":"nested","label":"Fz","description":"Band FZ (450nm). `AS7343` and `TCS3448` only.","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"nir","type":"nested","label":"Nir","description":"Near-infrared (910nm on the AS7341, 855nm on the AS7343).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]}],"provides_id_paths":{"sensor":[["basic_counts","clear","id"],["basic_counts","f1","id"],["basic_counts","f2","id"],["basic_counts","f3","id"],["basic_counts","f4","id"],["basic_counts","f5","id"],["basic_counts","f6","id"],["basic_counts","f7","id"],["basic_counts","f8","id"],["basic_counts","fxl","id"],["basic_counts","fy","id"],["basic_counts","fz","id"],["basic_counts","nir","id"],["color_temperature","id"],["counts","clear","id"],["counts","f1","id"],["counts","f2","id"],["counts","f3","id"],["counts","f4","id"],["counts","f5","id"],["counts","f6","id"],["counts","f7","id"],["counts","f8","id"],["counts","fxl","id"],["counts","fy","id"],["counts","fz","id"],["counts","nir","id"],["illuminance","id"],["irradiance_par","id"],["irradiance_photopic","id"],["ppfd","id"],["saturation_level","id"]]}} +{"id":"sensor.as734x","name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","description":"The `as734x` sensor platform publishes the readings of an `as734x` component.","category":"sensor","docs_url":"https://esphome.io/components/sensor/as734x/","image_url":"https://esphome.io/images/as7341.jpg","dependencies":["as734x"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"as734x_id","type":"id","label":"As734X ID","description":"The ID of the `as734x` component to read from. Only needed when you have more than one `as734x` sensor.","display_format":null,"references_component":"as734x","help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1"},{"key":"color_temperature","type":"nested","label":"Color Temperature","description":"Correlated colour temperature of the light, in kelvin. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sun-thermometer-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"K","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Brightness as the human eye perceives it, in lux. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-sunny","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"irradiance_par","type":"nested","label":"Irradiance Par","description":"Radiant power over the 400nm to 700nm range plants use, in W/m². All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sprout","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"irradiance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W/m²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"irradiance_photopic","type":"nested","label":"Irradiance Photopic","description":"Radiant power weighted by the eye's response curve, in W/m². All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sun-wireless-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"irradiance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W/m²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ppfd","type":"nested","label":"Ppfd","description":"Photosynthetic photon flux density, the same 400nm to 700nm range counted as photons rather than power, in µmol/m²/s. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sprout-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µmol/m²/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"saturation_level","type":"nested","label":"Saturation Level","description":"The highest channel reading as a percentage of the full-scale count. All options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-sunny-alert","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"basic_counts","type":"nested","label":"Basic Counts","description":"The same channels as `counts`, but converted to basic counts, which are comparable across different `gain` and integration time settings. See [Basic Counts](https://esphome.io/components/sensor/as734x/#basic-counts) below. Each channel accepts all options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"clear","type":"nested","label":"Clear","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f1","type":"nested","label":"F1","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f2","type":"nested","label":"F2","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f3","type":"nested","label":"F3","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f4","type":"nested","label":"F4","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f5","type":"nested","label":"F5","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f6","type":"nested","label":"F6","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f7","type":"nested","label":"F7","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f8","type":"nested","label":"F8","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fxl","type":"nested","label":"Fxl","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fy","type":"nested","label":"Fy","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fz","type":"nested","label":"Fz","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"nir","type":"nested","label":"Nir","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"6","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"counts","type":"nested","label":"Counts","description":"The raw per-band readings to publish, see [Raw Counts](https://esphome.io/components/sensor/as734x/#raw-counts). Each band is optional; only the bands you list are published. Each band accepts all options from [Sensor](https://esphome.io/components/sensor/), or just a name as a shorthand.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"clear","type":"nested","label":"Clear","description":"Clear, unfiltered wideband channel.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f1","type":"nested","label":"F1","description":"Band F1 (415nm on the AS7341, 405nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f2","type":"nested","label":"F2","description":"Band F2 (445nm on the AS7341, 425nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f3","type":"nested","label":"F3","description":"Band F3 (480nm on the AS7341, 475nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f4","type":"nested","label":"F4","description":"Band F4 (515nm).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f5","type":"nested","label":"F5","description":"Band F5 (555nm on the AS7341, 550nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f6","type":"nested","label":"F6","description":"Band F6 (590nm on the AS7341, 640nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f7","type":"nested","label":"F7","description":"Band F7 (630nm on the AS7341, 690nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"f8","type":"nested","label":"F8","description":"Band F8 (680nm on the AS7341, 745nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fxl","type":"nested","label":"Fxl","description":"Band FXL (600nm). `AS7343` and `TCS3448` only.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fy","type":"nested","label":"Fy","description":"Band FY (555nm). `AS7343` and `TCS3448` only.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fz","type":"nested","label":"Fz","description":"Band FZ (450nm). `AS7343` and `TCS3448` only.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"nir","type":"nested","label":"Nir","description":"Near-infrared (910nm on the AS7341, 855nm on the AS7343).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]}],"provides_id_paths":{"sensor":[["basic_counts","clear","id"],["basic_counts","f1","id"],["basic_counts","f2","id"],["basic_counts","f3","id"],["basic_counts","f4","id"],["basic_counts","f5","id"],["basic_counts","f6","id"],["basic_counts","f7","id"],["basic_counts","f8","id"],["basic_counts","fxl","id"],["basic_counts","fy","id"],["basic_counts","fz","id"],["basic_counts","nir","id"],["color_temperature","id"],["counts","clear","id"],["counts","f1","id"],["counts","f2","id"],["counts","f3","id"],["counts","f4","id"],["counts","f5","id"],["counts","f6","id"],["counts","f7","id"],["counts","f8","id"],["counts","fxl","id"],["counts","fy","id"],["counts","fz","id"],["counts","nir","id"],["illuminance","id"],["irradiance_par","id"],["irradiance_photopic","id"],["ppfd","id"],["saturation_level","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.bh1745.json b/esphome_device_builder/definitions/components/sensor.bh1745.json index 0be66c7574..77b2bc3002 100644 --- a/esphome_device_builder/definitions/components/sensor.bh1745.json +++ b/esphome_device_builder/definitions/components/sensor.bh1745.json @@ -1 +1 @@ -{"id":"sensor.bh1745","name":"BH1745 RGB Color Sensor","description":"Each configured sensor is reported on every `update_interval` of the hub.","category":"sensor","dependencies":["bh1745"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"bh1745_id","type":"id","label":"Bh1745 ID","description":"The ID of the `bh1745` hub. Only needed when you have more than one hub.","display_format":null,"references_component":"bh1745"},{"key":"color_temperature","type":"nested","label":"Color Temperature","description":"Calculated color temperature of the light, in K. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"K","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Calculated illuminance, in lx. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"blue_channel","type":"nested","label":"Blue Channel","description":"Raw reading of the blue color channel, in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"clear_channel","type":"nested","label":"Clear Channel","description":"Raw reading of the clear channel (no color filter), in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"green_channel","type":"nested","label":"Green Channel","description":"Raw reading of the green color channel, in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"red_channel","type":"nested","label":"Red Channel","description":"Raw reading of the red color channel, in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["blue_channel","id"],["clear_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"]]}} +{"id":"sensor.bh1745","name":"BH1745 RGB Color Sensor","description":"Each configured sensor is reported on every `update_interval` of the hub.","category":"sensor","docs_url":"https://esphome.io/components/sensor/bh1745/","image_url":"https://esphome.io/images/bh1745.jpg","dependencies":["bh1745"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"bh1745_id","type":"id","label":"Bh1745 ID","description":"The ID of the `bh1745` hub. Only needed when you have more than one hub.","display_format":null,"references_component":"bh1745","help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-1"},{"key":"color_temperature","type":"nested","label":"Color Temperature","description":"Calculated color temperature of the light, in K. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"K","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Calculated illuminance, in lx. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"blue_channel","type":"nested","label":"Blue Channel","description":"Raw reading of the blue color channel, in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"clear_channel","type":"nested","label":"Clear Channel","description":"Raw reading of the clear channel (no color filter), in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"green_channel","type":"nested","label":"Green Channel","description":"Raw reading of the green color channel, in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"red_channel","type":"nested","label":"Red Channel","description":"Raw reading of the red color channel, in counts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bh1745/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"#","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["blue_channel","id"],["clear_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.bmi270.json b/esphome_device_builder/definitions/components/sensor.bmi270.json index 7890c2ed56..cab2c6e9f2 100644 --- a/esphome_device_builder/definitions/components/sensor.bmi270.json +++ b/esphome_device_builder/definitions/components/sensor.bmi270.json @@ -1 +1 @@ -{"id":"sensor.bmi270","name":"BMI270 Temperature and Magnetic Field Sensor","description":"The `bmi270` sensor platform provides access to the on-chip temperature sensor in a BMI270 Accelerometer/Gyroscope ([datasheet](https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi270-ds000.pdf)) with ESPHome. This platform requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `bmi270` platform, which handles the accelerometer and gyroscope data processing and configures the device. See that component for more information.","category":"sensor","docs_url":"https://esphome.io/components/sensor/bmi270/","image_url":"https://esphome.io/images/imu.svg","dependencies":["bmi270"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","description":"Must be set to temperature, or simply omitted.","default_value":"temperature","options":[{"label":"magnetic_field_x","value":"magnetic_field_x"},{"label":"magnetic_field_y","value":"magnetic_field_y"},{"label":"magnetic_field_z","value":"magnetic_field_z"},{"label":"temperature","value":"temperature"}],"display_format":null,"help_link":"https://esphome.io/components/sensor/bmi270/#configuration-variables"},{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"bmi270_id","type":"id","label":"Bmi270 ID","display_format":null,"references_component":"bmi270"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:magnet","display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["magnetic_field_x","magnetic_field_y","magnetic_field_z"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["temperature"]},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["magnetic_field_x","magnetic_field_y","magnetic_field_z"]},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["temperature"]},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µT","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["magnetic_field_x","magnetic_field_y","magnetic_field_z"]},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["temperature"]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"sensor.bmi270","name":"BMI270 Temperature and Magnetic Field Sensor","description":"The `bmi270` sensor platform provides access to the on-chip temperature sensor in a BMI270 Accelerometer/Gyroscope ([datasheet](https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi270-ds000.pdf)) with ESPHome. This platform requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `bmi270` platform, which handles the accelerometer and gyroscope data processing and configures the device. See that component for more information.","category":"sensor","docs_url":"https://esphome.io/components/sensor/bmi270/","image_url":"https://esphome.io/images/imu.svg","dependencies":["bmi270"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","description":"One of temperature, magnetic_field_x, magnetic_field_y, magnetic_field_z. Defaults to temperature. The magnetic_field_* types report the field strength in microtesla (µT) and require the parent bmi270 platform's aux_device to be set to BMM150.","default_value":"temperature","options":[{"label":"magnetic_field_x","value":"magnetic_field_x"},{"label":"magnetic_field_y","value":"magnetic_field_y"},{"label":"magnetic_field_z","value":"magnetic_field_z"},{"label":"temperature","value":"temperature"}],"display_format":null,"help_link":"https://esphome.io/components/sensor/bmi270/#configuration-variables"},{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"bmi270_id","type":"id","label":"Bmi270 ID","display_format":null,"references_component":"bmi270"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:magnet","display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["magnetic_field_x","magnetic_field_y","magnetic_field_z"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["temperature"]},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["magnetic_field_x","magnetic_field_y","magnetic_field_z"]},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["temperature"]},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µT","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["magnetic_field_x","magnetic_field_y","magnetic_field_z"]},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"depends_on":"type","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","depends_on_value_any":["temperature"]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/sensor.bq27220.json b/esphome_device_builder/definitions/components/sensor.bq27220.json index 2d216b9f2b..ce7d03f8b0 100644 --- a/esphome_device_builder/definitions/components/sensor.bq27220.json +++ b/esphome_device_builder/definitions/components/sensor.bq27220.json @@ -1 +1 @@ -{"id":"sensor.bq27220","name":"Texas Instruments BQ27220 battery fuel gauge","description":"The `bq27220` platform allows you to use a BQ27220 single-cell Li-Ion battery fuel gauge ([datasheet](https://www.ti.com/lit/ds/symlink/bq27220.pdf), [Technical Reference Manual](https://www.ti.com/lit/ug/sluubd4a/sluubd4a.pdf)) in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication. The default I²C address is `0x55`.","category":"sensor","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x55`.","default_value":"85","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"battery_level","type":"nested","label":"Battery Level","description":"State of charge in percent (%).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Instantaneous current in amperes (A). Positive when charging, negative when discharging.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"full_charge_capacity","type":"nested","label":"Full Charge Capacity","description":"Full charge capacity in milliampere-hours (mAh).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:battery","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"mAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"remaining_capacity","type":"nested","label":"Remaining Capacity","description":"Remaining capacity in milliampere-hours (mAh).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:battery","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"mAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"state_of_health","type":"nested","label":"State Of Health","description":"Battery health as a percentage of original capacity (%).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:battery","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"Battery temperature in degrees Celsius (°C).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"time_to_empty","type":"nested","label":"Time To Empty","description":"Estimated time until the battery is empty, in minutes. Reports `unknown` when the battery is not discharging.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Battery voltage in volts (V).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["current","id"],["full_charge_capacity","id"],["remaining_capacity","id"],["state_of_health","id"],["temperature","id"],["time_to_empty","id"],["voltage","id"]]}} +{"id":"sensor.bq27220","name":"Texas Instruments BQ27220 battery fuel gauge","description":"The `bq27220` platform allows you to use a BQ27220 single-cell Li-Ion battery fuel gauge ([datasheet](https://www.ti.com/lit/ds/symlink/bq27220.pdf), [Technical Reference Manual](https://www.ti.com/lit/ug/sluubd4a/sluubd4a.pdf)) in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication. The default I²C address is `0x55`.","category":"sensor","docs_url":"https://esphome.io/components/sensor/bq27220/","image_url":"https://esphome.io/images/bq27220.jpg","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x55`.","default_value":"85","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","duration_min_unit":"ms"},{"key":"battery_level","type":"nested","label":"Battery Level","description":"State of charge in percent (%).","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Instantaneous current in amperes (A). Positive when charging, negative when discharging.","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"full_charge_capacity","type":"nested","label":"Full Charge Capacity","description":"Full charge capacity in milliampere-hours (mAh).","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:battery","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"mAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"remaining_capacity","type":"nested","label":"Remaining Capacity","description":"Remaining capacity in milliampere-hours (mAh).","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:battery","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"mAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"state_of_health","type":"nested","label":"State Of Health","description":"Battery health as a percentage of original capacity (%).","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:battery","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"Battery temperature in degrees Celsius (°C).","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"time_to_empty","type":"nested","label":"Time To Empty","description":"Estimated time until the battery is empty, in minutes. Reports `unknown` when the battery is not discharging.","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Battery voltage in volts (V).","display_format":null,"help_link":"https://esphome.io/components/sensor/bq27220/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["current","id"],["full_charge_capacity","id"],["remaining_capacity","id"],["state_of_health","id"],["temperature","id"],["time_to_empty","id"],["voltage","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.bq76972.json b/esphome_device_builder/definitions/components/sensor.bq76972.json index 041e000faf..2d001d9075 100644 --- a/esphome_device_builder/definitions/components/sensor.bq76972.json +++ b/esphome_device_builder/definitions/components/sensor.bq76972.json @@ -1 +1 @@ -{"id":"sensor.bq76972","name":"Texas Instruments BQ76972 Battery Monitor","description":"The measurements are exposed through the `bq76972` sensor platform.","category":"sensor","dependencies":["bq76972"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"bq76972_id","type":"id","label":"Bq76972 ID","description":"The ID of the `bq76972` component. Required when more than one `bq76972` is configured.","display_format":null,"references_component":"bq76972"},{"key":"alert_temperature","type":"nested","label":"Alert Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_10_voltage","type":"nested","label":"Cell 10 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_11_voltage","type":"nested","label":"Cell 11 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_12_voltage","type":"nested","label":"Cell 12 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_13_voltage","type":"nested","label":"Cell 13 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_14_voltage","type":"nested","label":"Cell 14 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_15_voltage","type":"nested","label":"Cell 15 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_16_voltage","type":"nested","label":"Cell 16 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_1_voltage","type":"nested","label":"Cell 1 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_2_voltage","type":"nested","label":"Cell 2 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_3_voltage","type":"nested","label":"Cell 3 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_4_voltage","type":"nested","label":"Cell 4 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_5_voltage","type":"nested","label":"Cell 5 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_6_voltage","type":"nested","label":"Cell 6 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_7_voltage","type":"nested","label":"Cell 7 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_8_voltage","type":"nested","label":"Cell 8 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_9_voltage","type":"nested","label":"Cell 9 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cfetoff_temperature","type":"nested","label":"Cfetoff Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dchg_temperature","type":"nested","label":"Dchg Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ddsg_temperature","type":"nested","label":"Ddsg Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dfetoff_temperature","type":"nested","label":"Dfetoff Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hdq_temperature","type":"nested","label":"Hdq Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"internal_temperature","type":"nested","label":"Internal Temperature","description":"The die temperature, in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"stack_voltage","type":"nested","label":"Stack Voltage","description":"The total stack voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts1_temperature","type":"nested","label":"Ts1 Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts2_temperature","type":"nested","label":"Ts2 Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts3_temperature","type":"nested","label":"Ts3 Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["alert_temperature","id"],["cell_10_voltage","id"],["cell_11_voltage","id"],["cell_12_voltage","id"],["cell_13_voltage","id"],["cell_14_voltage","id"],["cell_15_voltage","id"],["cell_16_voltage","id"],["cell_1_voltage","id"],["cell_2_voltage","id"],["cell_3_voltage","id"],["cell_4_voltage","id"],["cell_5_voltage","id"],["cell_6_voltage","id"],["cell_7_voltage","id"],["cell_8_voltage","id"],["cell_9_voltage","id"],["cfetoff_temperature","id"],["dchg_temperature","id"],["ddsg_temperature","id"],["dfetoff_temperature","id"],["hdq_temperature","id"],["internal_temperature","id"],["stack_voltage","id"],["ts1_temperature","id"],["ts2_temperature","id"],["ts3_temperature","id"]]}} +{"id":"sensor.bq76972","name":"Texas Instruments BQ76972 Battery Monitor","description":"The measurements are exposed through the `bq76972` sensor platform.","category":"sensor","docs_url":"https://esphome.io/components/sensor/bq76972/","image_url":"https://esphome.io/images/bq76972.jpg","dependencies":["bq76972"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"bq76972_id","type":"id","label":"Bq76972 ID","description":"The ID of the `bq76972` component. Required when more than one `bq76972` is configured.","display_format":null,"references_component":"bq76972","help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables-1"},{"key":"alert_temperature","type":"nested","label":"Alert Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_10_voltage","type":"nested","label":"Cell 10 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_11_voltage","type":"nested","label":"Cell 11 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_12_voltage","type":"nested","label":"Cell 12 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_13_voltage","type":"nested","label":"Cell 13 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_14_voltage","type":"nested","label":"Cell 14 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_15_voltage","type":"nested","label":"Cell 15 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_16_voltage","type":"nested","label":"Cell 16 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_1_voltage","type":"nested","label":"Cell 1 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_2_voltage","type":"nested","label":"Cell 2 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_3_voltage","type":"nested","label":"Cell 3 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_4_voltage","type":"nested","label":"Cell 4 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_5_voltage","type":"nested","label":"Cell 5 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_6_voltage","type":"nested","label":"Cell 6 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_7_voltage","type":"nested","label":"Cell 7 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_8_voltage","type":"nested","label":"Cell 8 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cell_9_voltage","type":"nested","label":"Cell 9 Voltage","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"cfetoff_temperature","type":"nested","label":"Cfetoff Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dchg_temperature","type":"nested","label":"Dchg Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ddsg_temperature","type":"nested","label":"Ddsg Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dfetoff_temperature","type":"nested","label":"Dfetoff Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hdq_temperature","type":"nested","label":"Hdq Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"internal_temperature","type":"nested","label":"Internal Temperature","description":"The die temperature, in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"stack_voltage","type":"nested","label":"Stack Voltage","description":"The total stack voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/bq76972/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts1_temperature","type":"nested","label":"Ts1 Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts2_temperature","type":"nested","label":"Ts2 Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts3_temperature","type":"nested","label":"Ts3 Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["alert_temperature","id"],["cell_10_voltage","id"],["cell_11_voltage","id"],["cell_12_voltage","id"],["cell_13_voltage","id"],["cell_14_voltage","id"],["cell_15_voltage","id"],["cell_16_voltage","id"],["cell_1_voltage","id"],["cell_2_voltage","id"],["cell_3_voltage","id"],["cell_4_voltage","id"],["cell_5_voltage","id"],["cell_6_voltage","id"],["cell_7_voltage","id"],["cell_8_voltage","id"],["cell_9_voltage","id"],["cfetoff_temperature","id"],["dchg_temperature","id"],["ddsg_temperature","id"],["dfetoff_temperature","id"],["hdq_temperature","id"],["internal_temperature","id"],["stack_voltage","id"],["ts1_temperature","id"],["ts2_temperature","id"],["ts3_temperature","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.cw2017.json b/esphome_device_builder/definitions/components/sensor.cw2017.json index 59e11ba730..c0beaa1be2 100644 --- a/esphome_device_builder/definitions/components/sensor.cw2017.json +++ b/esphome_device_builder/definitions/components/sensor.cw2017.json @@ -1 +1 @@ -{"id":"sensor.cw2017","name":"CellWise CW2017 battery fuel gauge","description":"The `cw2017` platform allows you to monitor the remaining capacity and voltage of a lithium-ion battery with a CellWise CW2017 fuel gauge in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"sensor","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x63`.","default_value":"99","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the gauge. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"battery_level","type":"nested","label":"Battery Level","description":"The state of charge in percent. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_profile","type":"integer","label":"Battery Profile","description":"The 80-byte battery profile for the cell.","required":true,"range":[0,255],"display_format":"hex","multi_value":true},{"key":"battery_voltage","type":"nested","label":"Battery Voltage","description":"The cell voltage in volts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"raw_data_id","type":"id","label":"Raw Data ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"]]}} +{"id":"sensor.cw2017","name":"CellWise CW2017 battery fuel gauge","description":"The `cw2017` platform allows you to monitor the remaining capacity and voltage of a lithium-ion battery with a CellWise CW2017 fuel gauge in ESPHome. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"sensor","docs_url":"https://esphome.io/components/sensor/cw2017/","image_url":"https://esphome.io/images/badges/cw2017.svg","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x63`.","default_value":"99","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/cw2017/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the gauge. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/cw2017/#configuration-variables","duration_min_unit":"ms"},{"key":"battery_level","type":"nested","label":"Battery Level","description":"The state of charge in percent. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/cw2017/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_profile","type":"integer","label":"Battery Profile","description":"The 80-byte battery profile for the cell.","required":true,"range":[0,255],"display_format":"hex","multi_value":true,"help_link":"https://esphome.io/components/sensor/cw2017/#configuration-variables"},{"key":"battery_voltage","type":"nested","label":"Battery Voltage","description":"The cell voltage in volts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/cw2017/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"raw_data_id","type":"id","label":"Raw Data ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.delta_wallbox.json b/esphome_device_builder/definitions/components/sensor.delta_wallbox.json index 424ec8347b..d502eca6ca 100644 --- a/esphome_device_builder/definitions/components/sensor.delta_wallbox.json +++ b/esphome_device_builder/definitions/components/sensor.delta_wallbox.json @@ -1 +1 @@ -{"id":"sensor.delta_wallbox","name":"Delta Wallbox","description":"","category":"sensor","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"charger_state","type":"nested","label":"Charger State","description":"The state byte the charger reports, as sent by the charger; the values are not decoded. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"charging_time","type":"nested","label":"Charging Time","description":"The length of the current session in minutes. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox"},{"key":"energy","type":"nested","label":"Energy","description":"The energy of the current session in kilowatt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_current","type":"nested","label":"Max Current","description":"The configured charging current limit in amperes. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power","type":"nested","label":"Power","description":"The charging power in kilowatts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kW","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["charger_state","id"],["charging_time","id"],["energy","id"],["max_current","id"],["power","id"]]}} +{"id":"sensor.delta_wallbox","name":"Delta AC Wallbox","description":"A Delta AC wallbox over Bluetooth in ESPHome.","category":"sensor","docs_url":"https://esphome.io/components/delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"charger_state","type":"nested","label":"Charger State","description":"The state byte the charger reports, as sent by the charger; the values are not decoded. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#sensor","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"charging_time","type":"nested","label":"Charging Time","description":"The length of the current session in minutes. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#sensor","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox","help_link":"https://esphome.io/components/delta_wallbox/#sensor"},{"key":"energy","type":"nested","label":"Energy","description":"The energy of the current session in kilowatt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#sensor","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_current","type":"nested","label":"Max Current","description":"The configured charging current limit in amperes. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#sensor","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power","type":"nested","label":"Power","description":"The charging power in kilowatts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/delta_wallbox/#sensor","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kW","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["charger_state","id"],["charging_time","id"],["energy","id"],["max_current","id"],["power","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_i2c.json b/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_i2c.json index 80c08ff1a8..eaee68da2e 100644 --- a/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_i2c.json +++ b/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_i2c.json @@ -1 +1 @@ -{"id":"sensor.dfrobot_sen0465_i2c","name":"DFRobot SEN0465 to SEN0476 Gas Sensors","description":"The `dfrobot_sen0465_i2c` and `dfrobot_sen0465_uart` sensor platforms allow you to use the DFRobot \"Factory Calibrated Electrochemical Gas Sensor\" series ([product page](https://www.dfrobot.com/product-2510.html)) with ESPHome. All boards of the series use the same protocol. They only differ in the gas probe that is fitted.","category":"sensor","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","required":true,"options":[{"label":"SEN0465","value":"SEN0465"},{"label":"SEN0466","value":"SEN0466"},{"label":"SEN0467","value":"SEN0467"},{"label":"SEN0468","value":"SEN0468"},{"label":"SEN0469","value":"SEN0469"},{"label":"SEN0470","value":"SEN0470"},{"label":"SEN0471","value":"SEN0471"},{"label":"SEN0472","value":"SEN0472"},{"label":"SEN0473","value":"SEN0473"},{"label":"SEN0474","value":"SEN0474"},{"label":"SEN0475","value":"SEN0475"},{"label":"SEN0476","value":"SEN0476"}],"display_format":null},{"key":"address","type":"integer","label":"Address","description":"_I²C only._ The I²C address of the sensor. Defaults to `0x77`. See the I²C address table below.","default_value":"119","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"_I²C only._ The ID of the [I²C bus](https://esphome.io/components/i2c/) to use.","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0465"]},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule-co","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_monoxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0466"]},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0467","SEN0469","SEN0473"]},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0468","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]},{"key":"temperature","type":"nested","label":"Temperature","description":"The temperature measured on the sensor board, in °C.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"alarm","type":"nested","label":"Alarm","description":"Set up the alarm output (**ALA** pin) of the board. See [Alarm Output](https://esphome.io/components/sensor/dfrobot_sen0465/#alarm-output).","display_format":null,"advanced":true,"config_entries":[{"key":"type","type":"string","label":"Type","description":"`high` triggers the alarm when the concentration rises above the threshold, `low` triggers it when the concentration falls below the threshold. Defaults to `high`.","default_value":"HIGH","options":[{"label":"LOW","value":"LOW"},{"label":"HIGH","value":"HIGH"}],"display_format":null,"advanced":true},{"key":"threshold","type":"float","label":"Threshold","description":"The concentration at which the alarm is triggered, in the unit of the concentration sensor.","required":true,"range":[0,6553.5],"display_format":null,"advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"temperature_compensation","type":"boolean","label":"Temperature Compensation","description":"Correct the concentration for the board temperature. See [Temperature Compensation](https://esphome.io/components/sensor/dfrobot_sen0465/#temperature-compensation). Not available for SEN0465 (O2) and SEN0473 (H2). Defaults to `false`.","default_value":false,"display_format":null,"depends_on":"model","advanced":true,"depends_on_value_any":["SEN0466","SEN0467","SEN0468","SEN0469","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]}],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}} +{"id":"sensor.dfrobot_sen0465_i2c","name":"DFRobot SEN0465 to SEN0476 Gas Sensors","description":"The `dfrobot_sen0465_i2c` and `dfrobot_sen0465_uart` sensor platforms allow you to use the DFRobot \"Factory Calibrated Electrochemical Gas Sensor\" series ([product page](https://www.dfrobot.com/product-2510.html)) with ESPHome. All boards of the series use the same protocol. They only differ in the gas probe that is fitted.","category":"sensor","docs_url":"https://esphome.io/components/sensor/dfrobot_sen0465/","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","required":true,"options":[{"label":"SEN0465","value":"SEN0465"},{"label":"SEN0466","value":"SEN0466"},{"label":"SEN0467","value":"SEN0467"},{"label":"SEN0468","value":"SEN0468"},{"label":"SEN0469","value":"SEN0469"},{"label":"SEN0470","value":"SEN0470"},{"label":"SEN0471","value":"SEN0471"},{"label":"SEN0472","value":"SEN0472"},{"label":"SEN0473","value":"SEN0473"},{"label":"SEN0474","value":"SEN0474"},{"label":"SEN0475","value":"SEN0475"},{"label":"SEN0476","value":"SEN0476"}],"display_format":null},{"key":"address","type":"integer","label":"Address","description":"_I²C only._ The I²C address of the sensor. Defaults to `0x77`. See the I²C address table below.","default_value":"119","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"_I²C only._ The ID of the [I²C bus](https://esphome.io/components/i2c/) to use.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","duration_min_unit":"ms"},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0465"]},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule-co","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_monoxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0466"]},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0467","SEN0469","SEN0473"]},{"key":"concentration","type":"nested","label":"Concentration","description":"The gas concentration. The unit is `%` for oxygen (SEN0465) and `ppm` for all other gases.","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0468","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]},{"key":"temperature","type":"nested","label":"Temperature","description":"The temperature measured on the sensor board, in °C.","display_format":null,"help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"alarm","type":"nested","label":"Alarm","description":"Set up the alarm output (**ALA** pin) of the board. See [Alarm Output](https://esphome.io/components/sensor/dfrobot_sen0465/#alarm-output).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","config_entries":[{"key":"type","type":"string","label":"Type","description":"`high` triggers the alarm when the concentration rises above the threshold, `low` triggers it when the concentration falls below the threshold. Defaults to `high`.","default_value":"HIGH","options":[{"label":"LOW","value":"LOW"},{"label":"HIGH","value":"HIGH"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables"},{"key":"threshold","type":"float","label":"Threshold","description":"The concentration at which the alarm is triggered, in the unit of the concentration sensor.","required":true,"range":[0,6553.5],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables"}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"temperature_compensation","type":"boolean","label":"Temperature Compensation","description":"Correct the concentration for the board temperature. See [Temperature Compensation](https://esphome.io/components/sensor/dfrobot_sen0465/#temperature-compensation). Not available for SEN0465 (O2) and SEN0473 (H2). Defaults to `false`.","default_value":false,"display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/dfrobot_sen0465/#configuration-variables","depends_on_value_any":["SEN0466","SEN0467","SEN0468","SEN0469","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]}],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_uart.json b/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_uart.json index c827e14c62..faec8e799d 100644 --- a/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_uart.json +++ b/esphome_device_builder/definitions/components/sensor.dfrobot_sen0465_uart.json @@ -1 +1 @@ -{"id":"sensor.dfrobot_sen0465_uart","name":"Dfrobot Sen0465 UART","description":"","category":"sensor","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"provides":["sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","required":true,"options":[{"label":"SEN0465","value":"SEN0465"},{"label":"SEN0466","value":"SEN0466"},{"label":"SEN0467","value":"SEN0467"},{"label":"SEN0468","value":"SEN0468"},{"label":"SEN0469","value":"SEN0469"},{"label":"SEN0470","value":"SEN0470"},{"label":"SEN0471","value":"SEN0471"},{"label":"SEN0472","value":"SEN0472"},{"label":"SEN0473","value":"SEN0473"},{"label":"SEN0474","value":"SEN0474"},{"label":"SEN0475","value":"SEN0475"},{"label":"SEN0476","value":"SEN0476"}],"display_format":null},{"key":"uart_id","type":"id","label":"UART ID","display_format":null,"references_component":"uart"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0465"]},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule-co","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_monoxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0466"]},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0467","SEN0469","SEN0473"]},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0468","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]},{"key":"temperature","type":"nested","label":"Temperature","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"alarm","type":"nested","label":"Alarm","display_format":null,"advanced":true,"config_entries":[{"key":"type","type":"string","label":"Type","default_value":"HIGH","options":[{"label":"LOW","value":"LOW"},{"label":"HIGH","value":"HIGH"}],"display_format":null,"advanced":true},{"key":"threshold","type":"float","label":"Threshold","required":true,"range":[0,6553.5],"display_format":null,"advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"temperature_compensation","type":"boolean","label":"Temperature Compensation","default_value":false,"display_format":null,"depends_on":"model","advanced":true,"depends_on_value_any":["SEN0466","SEN0467","SEN0468","SEN0469","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]}],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}} +{"id":"sensor.dfrobot_sen0465_uart","name":"Dfrobot Sen0465 UART","description":"","category":"sensor","docs_url":"https://esphome.io/components/sensor/dfrobot_sen0465","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_tx":true,"require_rx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"provides":["sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","required":true,"options":[{"label":"SEN0465","value":"SEN0465"},{"label":"SEN0466","value":"SEN0466"},{"label":"SEN0467","value":"SEN0467"},{"label":"SEN0468","value":"SEN0468"},{"label":"SEN0469","value":"SEN0469"},{"label":"SEN0470","value":"SEN0470"},{"label":"SEN0471","value":"SEN0471"},{"label":"SEN0472","value":"SEN0472"},{"label":"SEN0473","value":"SEN0473"},{"label":"SEN0474","value":"SEN0474"},{"label":"SEN0475","value":"SEN0475"},{"label":"SEN0476","value":"SEN0476"}],"display_format":null},{"key":"uart_id","type":"id","label":"UART ID","display_format":null,"references_component":"uart"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0465"]},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule-co","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_monoxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0466"]},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0467","SEN0469","SEN0473"]},{"key":"concentration","type":"nested","label":"Concentration","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-cylinder","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["SEN0468","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]},{"key":"temperature","type":"nested","label":"Temperature","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"alarm","type":"nested","label":"Alarm","display_format":null,"advanced":true,"config_entries":[{"key":"type","type":"string","label":"Type","default_value":"HIGH","options":[{"label":"LOW","value":"LOW"},{"label":"HIGH","value":"HIGH"}],"display_format":null,"advanced":true},{"key":"threshold","type":"float","label":"Threshold","required":true,"range":[0,6553.5],"display_format":null,"advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"temperature_compensation","type":"boolean","label":"Temperature Compensation","default_value":false,"display_format":null,"depends_on":"model","advanced":true,"depends_on_value_any":["SEN0466","SEN0467","SEN0468","SEN0469","SEN0470","SEN0471","SEN0472","SEN0474","SEN0475","SEN0476"]}],"provides_id_paths":{"sensor":[["concentration","id"],["temperature","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.dfrobot_sen0609.json b/esphome_device_builder/definitions/components/sensor.dfrobot_sen0609.json index e72d5f5fa6..804fd97b86 100644 --- a/esphome_device_builder/definitions/components/sensor.dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/sensor.dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"sensor.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The sensors need the hub `mode` to be `speed_and_distance`; configuration validation fails otherwise. When no target is detected, the sensors report an unknown state.","category":"sensor","dependencies":["dfrobot_sen0609"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609"},{"key":"target_distance","type":"nested","label":"Target Distance","description":"The distance to the target in metres. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_energy","type":"nested","label":"Target Energy","description":"The signal energy reflected by the target, without a unit. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal-distance-variant","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_speed","type":"nested","label":"Target Speed","description":"The speed of the target in metres per second. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"speed","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true}],"provides_id_paths":{"sensor":[["target_distance","id"],["target_energy","id"],["target_speed","id"]]}} +{"id":"sensor.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The sensors need the hub `mode` to be `speed_and_distance`; configuration validation fails otherwise. When no target is detected, the sensors report an unknown state.","category":"sensor","docs_url":"https://esphome.io/components/dfrobot_sen0609/","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["dfrobot_sen0609"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-2"},{"key":"target_distance","type":"nested","label":"Target Distance","description":"The distance to the target in metres. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_energy","type":"nested","label":"Target Energy","description":"The signal energy reflected by the target, without a unit. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal-distance-variant","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_speed","type":"nested","label":"Target Speed","description":"The speed of the target in metres per second. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"speed","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true}],"provides_id_paths":{"sensor":[["target_distance","id"],["target_energy","id"],["target_speed","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.ds3231.json b/esphome_device_builder/definitions/components/sensor.ds3231.json index 5531e9f4cd..519f9d9850 100644 --- a/esphome_device_builder/definitions/components/sensor.ds3231.json +++ b/esphome_device_builder/definitions/components/sensor.ds3231.json @@ -1 +1 @@ -{"id":"sensor.ds3231","name":"DS3231 Temperature Sensor","description":"The `ds3231` sensor platform reads the temperature measured by the [DS3231 real-time clock](https://esphome.io/components/ds3231/). The chip uses this reading internally to compensate its oscillator; it has 0.25 °C resolution.","category":"sensor","dependencies":["ds3231"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the temperature. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"ds3231_id","type":"id","label":"Ds3231 ID","description":"The ID of the [`ds3231`](https://esphome.io/components/ds3231/) hub to use when more than one is configured.","display_format":null,"references_component":"ds3231"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}]} +{"id":"sensor.ds3231","name":"DS3231 Temperature Sensor","description":"The `ds3231` sensor platform reads the temperature measured by the [DS3231 real-time clock](https://esphome.io/components/ds3231/). The chip uses this reading internally to compensate its oscillator; it has 0.25 °C resolution.","category":"sensor","docs_url":"https://esphome.io/components/sensor/ds3231/","image_url":"https://esphome.io/images/ds3231.jpg","dependencies":["ds3231"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the temperature. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/ds3231/#configuration-variables","duration_min_unit":"ms"},{"key":"ds3231_id","type":"id","label":"Ds3231 ID","description":"The ID of the [`ds3231`](https://esphome.io/components/ds3231/) hub to use when more than one is configured.","display_format":null,"references_component":"ds3231","help_link":"https://esphome.io/components/sensor/ds3231/#configuration-variables"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}]} diff --git a/esphome_device_builder/definitions/components/sensor.duco.json b/esphome_device_builder/definitions/components/sensor.duco.json index 77d653f7d3..74ffbaf99c 100644 --- a/esphome_device_builder/definitions/components/sensor.duco.json +++ b/esphome_device_builder/definitions/components/sensor.duco.json @@ -1 +1 @@ -{"id":"sensor.duco","name":"Duco Ventilation","description":"The sensors read the nodes connected to the box and the state of the box itself. CO2 and humidity nodes also measure temperature.","category":"sensor","dependencies":["duco"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"bypass","type":"nested","label":"Bypass","description":"The position of the bypass, in %.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"co2","type":"nested","label":"CO2","description":"A list of CO2 sensors, in ppm.","display_format":null,"multi_value":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","required":true,"range":[0,68],"display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","required":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_dioxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco"},{"key":"filter_remaining","type":"nested","label":"Filter Remaining","description":"Days until the filter should be replaced. `update_interval` defaults to `1200s`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"1200s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"d","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"flow_level","type":"nested","label":"Flow Level","description":"The current flow level, in %.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"humidity","type":"nested","label":"Humidity","description":"A list of humidity sensors, in %. Each entry of these lists takes:","display_format":null,"multi_value":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The address of the node, from 0 to 68.","required":true,"range":[0,68],"display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","required":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"A list of node temperature sensors, in °C.","display_format":null,"multi_value":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","required":true,"range":[0,68],"display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","required":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_eha","type":"nested","label":"Temperature Eha","description":"Temperature of the exhaust air going outside, in °C. Each of these takes:","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"Defaults to `60s`, except for `filter_remaining`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_eta","type":"nested","label":"Temperature Eta","description":"Temperature of the extract air coming from the rooms, in °C.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_oda","type":"nested","label":"Temperature Oda","description":"Temperature of the outdoor air coming into the box, in °C.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_sup","type":"nested","label":"Temperature Sup","description":"Temperature of the supply air going to the rooms, in °C.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"time_remaining","type":"nested","label":"Time Remaining","description":"Seconds left in the current timed mode.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["bypass","id"],["co2","id"],["filter_remaining","id"],["flow_level","id"],["humidity","id"],["temperature","id"],["temperature_eha","id"],["temperature_eta","id"],["temperature_oda","id"],["temperature_sup","id"],["time_remaining","id"]]}} +{"id":"sensor.duco","name":"Duco Ventilation","description":"The sensors read the nodes connected to the box and the state of the box itself. CO2 and humidity nodes also measure temperature.","category":"sensor","docs_url":"https://esphome.io/components/duco/","image_url":"https://esphome.io/images/duco.svg","dependencies":["duco"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"bypass","type":"nested","label":"Bypass","description":"The position of the bypass, in %.","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"co2","type":"nested","label":"CO2","description":"A list of CO2 sensors, in ppm.","display_format":null,"multi_value":true,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","required":true,"range":[0,68],"display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","required":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"carbon_dioxide","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco","help_link":"https://esphome.io/components/duco/#configuration-variables-4"},{"key":"filter_remaining","type":"nested","label":"Filter Remaining","description":"Days until the filter should be replaced. `update_interval` defaults to `1200s`.","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"1200s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"d","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"flow_level","type":"nested","label":"Flow Level","description":"The current flow level, in %.","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"humidity","type":"nested","label":"Humidity","description":"A list of humidity sensors, in %. Each entry of these lists takes:","display_format":null,"multi_value":true,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The address of the node, from 0 to 68.","required":true,"range":[0,68],"display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","required":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"A list of node temperature sensors, in °C.","display_format":null,"multi_value":true,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","required":true,"range":[0,68],"display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","required":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_id","type":"id","label":"Device ID","display_format":null},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_eha","type":"nested","label":"Temperature Eha","description":"Temperature of the exhaust air going outside, in °C. Each of these takes:","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"Defaults to `60s`, except for `filter_remaining`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_eta","type":"nested","label":"Temperature Eta","description":"Temperature of the extract air coming from the rooms, in °C.","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_oda","type":"nested","label":"Temperature Oda","description":"Temperature of the outdoor air coming into the box, in °C.","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature_sup","type":"nested","label":"Temperature Sup","description":"Temperature of the supply air going to the rooms, in °C.","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"time_remaining","type":"nested","label":"Time Remaining","description":"Seconds left in the current timed mode.","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-4","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["bypass","id"],["co2","id"],["filter_remaining","id"],["flow_level","id"],["humidity","id"],["temperature","id"],["temperature_eha","id"],["temperature_eta","id"],["temperature_oda","id"],["temperature_sup","id"],["time_remaining","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.ecocomfort2.json b/esphome_device_builder/definitions/components/sensor.ecocomfort2.json index 509d35c673..f90aad48c8 100644 --- a/esphome_device_builder/definitions/components/sensor.ecocomfort2.json +++ b/esphome_device_builder/definitions/components/sensor.ecocomfort2.json @@ -1 +1 @@ -{"id":"sensor.ecocomfort2","name":"Ecocomfort2","description":"","category":"sensor","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"direction","type":"nested","label":"Direction","description":"The air flow direction byte from the unit's status, passed through as the unit sends it; the component does not decode it. It shows the unit switching direction in the `In-Out` and `Sensor` presets. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2"},{"key":"humidity","type":"nested","label":"Humidity","description":"The relative humidity measured by the unit, in %. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"The air temperature measured by the unit, in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voc","type":"nested","label":"VOC","description":"The volatile organic compounds reading of the unit, in ppb. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"volatile_organic_compounds_parts","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppb","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"sensor":[["direction","id"],["humidity","id"],["temperature","id"],["voc","id"]]}} +{"id":"sensor.ecocomfort2","name":"Ecocomfort2","description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","category":"sensor","docs_url":"https://esphome.io/components/ecocomfort2","image_url":"https://esphome.io/images/fan.svg","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"direction","type":"nested","label":"Direction","description":"The air flow direction byte from the unit's status, passed through as the unit sends it; the component does not decode it. It shows the unit switching direction in the `In-Out` and `Sensor` presets. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-2"},{"key":"humidity","type":"nested","label":"Humidity","description":"The relative humidity measured by the unit, in %. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"The air temperature measured by the unit, in °C. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voc","type":"nested","label":"VOC","description":"The volatile organic compounds reading of the unit, in ppb. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"volatile_organic_compounds_parts","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppb","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"sensor":[["direction","id"],["humidity","id"],["temperature","id"],["voc","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.emontx.json b/esphome_device_builder/definitions/components/sensor.emontx.json index 5015c718aa..f3684884ac 100644 --- a/esphome_device_builder/definitions/components/sensor.emontx.json +++ b/esphome_device_builder/definitions/components/sensor.emontx.json @@ -1 +1 @@ -{"id":"sensor.emontx","name":"OpenEnergyMonitor EmonTx Sensors","description":"The EmonTx component provides several sensors that can be used to monitor various parameters:","category":"sensor","docs_url":"https://esphome.io/components/sensor/emontx/","image_url":"https://esphome.io/images/emontx5.jpg","dependencies":["emontx"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"emontx_id","type":"id","label":"Emontx ID","display_format":null,"references_component":"emontx"},{"key":"tag_name","type":"string","label":"Tag Name","description":"The JSON key name from the EmonTx data to map to this sensor. See [Sensor Indexing](https://esphome.io/components/sensor/emontx/#sensor-indexing) for all available tag names.","required":true,"display_format":null,"help_link":"https://esphome.io/components/sensor/emontx/"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"sensor.emontx","name":"OpenEnergyMonitor EmonTx Sensors","description":"The EmonTx component provides several sensors that can be used to monitor various parameters:","category":"sensor","docs_url":"https://esphome.io/components/sensor/emontx/","image_url":"https://esphome.io/images/emontx5.jpg","dependencies":["emontx"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"emontx_id","type":"id","label":"Emontx ID","display_format":null,"references_component":"emontx"},{"key":"tag_name","type":"string","label":"Tag Name","description":"The JSON key name from the EmonTx data to map to this sensor. See [Sensor Indexing](https://esphome.io/components/sensor/emontx/#sensor-indexing) for all available tag names.","required":true,"display_format":null,"help_link":"https://esphome.io/components/sensor/emontx/#configuration-variables-4"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/sensor.filter_lifetime.json b/esphome_device_builder/definitions/components/sensor.filter_lifetime.json index 0d468fa4da..b7aa6b10b4 100644 --- a/esphome_device_builder/definitions/components/sensor.filter_lifetime.json +++ b/esphome_device_builder/definitions/components/sensor.filter_lifetime.json @@ -1 +1 @@ -{"id":"sensor.filter_lifetime","name":"Filter Lifetime Sensor","description":"The `filter_lifetime` sensor platform reports how much of a replaceable filter's life remains, as a percentage, from how long the device has been running and at what speed. Use it for air purifiers, HVAC filters, water filters or any consumable that is replaced after a set number of running hours. The accumulated runtime is stored in flash and survives reboots.","category":"sensor","multi_conf":true,"provides":["filter_lifetime","sensor"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the runtime is sampled and the sensors published. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"current_speed","type":"lambda","label":"Current Speed","description":"**Set at most one of:** `current_speed`, `current_speed_sensor`.\n\nReturns the current speed as a `float` percentage from 0 to 100. Runtime accumulates in proportion, so an hour at 50% counts as 30 minutes. Values outside that range are clamped and `NaN` counts as 0. Defaults to 100.","display_format":null},{"key":"current_speed_sensor","type":"id","label":"Current Speed Sensor","description":"**Set at most one of:** `current_speed`, `current_speed_sensor`.\n\nA sensor that reports the speed percentage. Cannot be combined with `current_speed`.","display_format":null,"references_component":"sensor"},{"key":"is_on","type":"lambda","label":"Is On","description":"**Set at most one of:** `is_on`, `is_on_sensor`.\n\nReturns a `bool` that is `true` while the device is running. Runtime only accumulates while it is. Defaults to always running.","display_format":null},{"key":"is_on_sensor","type":"id","label":"Is On Sensor","description":"**Set at most one of:** `is_on`, `is_on_sensor`.\n\nA binary sensor that is on while the device is running. Cannot be combined with `is_on`.","display_format":null,"references_component":"binary_sensor"},{"key":"max_lifetime","type":"time_period","label":"Max Lifetime","description":"How long the filter lasts when the device runs at full speed, for example `180d`. At least one minute.","required":true,"display_format":null,"duration_min_unit":"min"},{"key":"remaining_days","type":"nested","label":"Remaining Days","description":"The days of full-speed running left before the filter is used up. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:calendar-clock","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"d","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"runtime_hours","type":"nested","label":"Runtime Hours","description":"The accumulated speed-weighted runtime in hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:timer-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:air-filter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_most_one","keys":["is_on","is_on_sensor"]},{"kind":"at_most_one","keys":["current_speed","current_speed_sensor"]}],"provides_id_paths":{"sensor":[["id"],["remaining_days","id"],["runtime_hours","id"]]}} +{"id":"sensor.filter_lifetime","name":"Filter Lifetime Sensor","description":"The `filter_lifetime` sensor platform reports how much of a replaceable filter's life remains, as a percentage, from how long the device has been running and at what speed. Use it for air purifiers, HVAC filters, water filters or any consumable that is replaced after a set number of running hours. The accumulated runtime is stored in flash and survives reboots.","category":"sensor","docs_url":"https://esphome.io/components/sensor/filter_lifetime/","image_url":"https://esphome.io/images/badges/filter_lifetime.svg","multi_conf":true,"provides":["filter_lifetime","sensor"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the runtime is sampled and the sensors published. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables","duration_min_unit":"ms"},{"key":"current_speed","type":"lambda","label":"Current Speed","description":"**Set at most one of:** `current_speed`, `current_speed_sensor`.\n\nReturns the current speed as a `float` percentage from 0 to 100. Runtime accumulates in proportion, so an hour at 50% counts as 30 minutes. Values outside that range are clamped and `NaN` counts as 0. Defaults to 100.","display_format":null,"help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables"},{"key":"current_speed_sensor","type":"id","label":"Current Speed Sensor","description":"**Set at most one of:** `current_speed`, `current_speed_sensor`.\n\nA sensor that reports the speed percentage. Cannot be combined with `current_speed`.","display_format":null,"references_component":"sensor","help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables"},{"key":"is_on","type":"lambda","label":"Is On","description":"**Set at most one of:** `is_on`, `is_on_sensor`.\n\nReturns a `bool` that is `true` while the device is running. Runtime only accumulates while it is. Defaults to always running.","display_format":null,"help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables"},{"key":"is_on_sensor","type":"id","label":"Is On Sensor","description":"**Set at most one of:** `is_on`, `is_on_sensor`.\n\nA binary sensor that is on while the device is running. Cannot be combined with `is_on`.","display_format":null,"references_component":"binary_sensor","help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables"},{"key":"max_lifetime","type":"time_period","label":"Max Lifetime","description":"How long the filter lasts when the device runs at full speed, for example `180d`. At least one minute.","required":true,"display_format":null,"help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables","duration_min_unit":"min"},{"key":"remaining_days","type":"nested","label":"Remaining Days","description":"The days of full-speed running left before the filter is used up. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:calendar-clock","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"d","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"runtime_hours","type":"nested","label":"Runtime Hours","description":"The accumulated speed-weighted runtime in hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/filter_lifetime/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:timer-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:air-filter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_most_one","keys":["is_on","is_on_sensor"]},{"kind":"at_most_one","keys":["current_speed","current_speed_sensor"]}],"provides_id_paths":{"sensor":[["id"],["remaining_days","id"],["runtime_hours","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.fusb302b.json b/esphome_device_builder/definitions/components/sensor.fusb302b.json index 495e4af3de..48056365ea 100644 --- a/esphome_device_builder/definitions/components/sensor.fusb302b.json +++ b/esphome_device_builder/definitions/components/sensor.fusb302b.json @@ -1 +1 @@ -{"id":"sensor.fusb302b","name":"FUSB302B USB-C Power Delivery","description":"The power contract is exposed through a `sensor` platform and a `text_sensor` platform. They are updated each time the power contract changes:","category":"sensor","dependencies":["fusb302b"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"current","type":"nested","label":"Current","description":"A sensor that reports the maximum current of the current power contract in amperes. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fusb302b_id","type":"id","label":"Fusb302B ID","description":"The ID of the FUSB302B component. Required when more than one `fusb302b` is configured.","display_format":null,"references_component":"fusb302b"},{"key":"voltage","type":"nested","label":"Voltage","description":"A sensor that reports the voltage of the current power contract in volts. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["current","id"],["voltage","id"]]}} +{"id":"sensor.fusb302b","name":"FUSB302B USB-C Power Delivery","description":"The power contract is exposed through a `sensor` platform and a `text_sensor` platform. They are updated each time the power contract changes:","category":"sensor","docs_url":"https://esphome.io/components/fusb302b/","image_url":"https://esphome.io/images/badges/fusb302b.svg","dependencies":["fusb302b"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"current","type":"nested","label":"Current","description":"A sensor that reports the maximum current of the current power contract in amperes. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/fusb302b/#sensor-configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fusb302b_id","type":"id","label":"Fusb302B ID","description":"The ID of the FUSB302B component. Required when more than one `fusb302b` is configured.","display_format":null,"references_component":"fusb302b","help_link":"https://esphome.io/components/fusb302b/#text-sensor-configuration-variables"},{"key":"voltage","type":"nested","label":"Voltage","description":"A sensor that reports the voltage of the current power contract in volts. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/fusb302b/#sensor-configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["current","id"],["voltage","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.haier_water_heater.json b/esphome_device_builder/definitions/components/sensor.haier_water_heater.json index b241887456..ff100a2aff 100644 --- a/esphome_device_builder/definitions/components/sensor.haier_water_heater.json +++ b/esphome_device_builder/definitions/components/sensor.haier_water_heater.json @@ -1 +1 @@ -{"id":"sensor.haier_water_heater","name":"Haier Water Heater","description":"","category":"sensor","dependencies":["haier_water_heater"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"available_water","type":"nested","label":"Available Water","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"estimated_heating_time","type":"nested","label":"Estimated Heating Time","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"haier_water_heater_id","type":"id","label":"Haier Water Heater ID","display_format":null,"references_component":"haier_water_heater"},{"key":"primary_temperature","type":"nested","label":"Primary Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"secondary_temperature","type":"nested","label":"Secondary Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_temperature","type":"nested","label":"Target Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["available_water","id"],["estimated_heating_time","id"],["primary_temperature","id"],["secondary_temperature","id"],["target_temperature","id"]]}} +{"id":"sensor.haier_water_heater","name":"Haier Water Heater","description":"Configure local control and monitoring of Haier hOn water heaters over UART.","category":"sensor","docs_url":"https://esphome.io/components/water_heater/haier_water_heater","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","dependencies":["haier_water_heater"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"available_water","type":"nested","label":"Available Water","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"estimated_heating_time","type":"nested","label":"Estimated Heating Time","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"duration","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"haier_water_heater_id","type":"id","label":"Haier Water Heater ID","display_format":null,"references_component":"haier_water_heater"},{"key":"primary_temperature","type":"nested","label":"Primary Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"secondary_temperature","type":"nested","label":"Secondary Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_temperature","type":"nested","label":"Target Temperature","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["available_water","id"],["estimated_heating_time","id"],["primary_temperature","id"],["secondary_temperature","id"],["target_temperature","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.icm20689.json b/esphome_device_builder/definitions/components/sensor.icm20689.json index c62075e13a..c669cf8ee3 100644 --- a/esphome_device_builder/definitions/components/sensor.icm20689.json +++ b/esphome_device_builder/definitions/components/sensor.icm20689.json @@ -1 +1 @@ -{"id":"sensor.icm20689","name":"ICM-20689 Temperature Sensor","description":"The `icm20689` sensor platform provides access to the temperature sensor in a TDK InvenSense ICM-20689 Accelerometer/Gyroscope with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `icm20689` platform, which handles the accelerometer and gyroscope data processing and configures the device. See that component for more information.","category":"sensor","dependencies":["icm20689"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","description":"Must be set to `temperature`, or simply omitted.","options":[{"label":"temperature","value":"temperature"}],"display_format":null},{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"icm20689_id","type":"id","label":"Icm20689 ID","description":"The ID of the `icm20689` motion platform this sensor reads from. Needed only when more than one ICM-20689 is configured.","display_format":null,"references_component":"icm20689"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"sensor.icm20689","name":"ICM-20689 Temperature Sensor","description":"The `icm20689` sensor platform provides access to the temperature sensor in a TDK InvenSense ICM-20689 Accelerometer/Gyroscope with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `icm20689` platform, which handles the accelerometer and gyroscope data processing and configures the device. See that component for more information.","category":"sensor","docs_url":"https://esphome.io/components/sensor/icm20689/","image_url":"https://esphome.io/images/imu.svg","dependencies":["icm20689"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","description":"Must be set to `temperature`, or simply omitted.","options":[{"label":"temperature","value":"temperature"}],"display_format":null,"help_link":"https://esphome.io/components/sensor/icm20689/#configuration-variables"},{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"icm20689_id","type":"id","label":"Icm20689 ID","description":"The ID of the `icm20689` motion platform this sensor reads from. Needed only when more than one ICM-20689 is configured.","display_format":null,"references_component":"icm20689","help_link":"https://esphome.io/components/sensor/icm20689/#configuration-variables"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/sensor.ld2410s.json b/esphome_device_builder/definitions/components/sensor.ld2410s.json index 6fc6b44298..84e9423df5 100644 --- a/esphome_device_builder/definitions/components/sensor.ld2410s.json +++ b/esphome_device_builder/definitions/components/sensor.ld2410s.json @@ -1 +1 @@ -{"id":"sensor.ld2410s","name":"LD2410S Sensor","description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","category":"sensor","dependencies":["ld2410s"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"distance","type":"nested","label":"Distance","description":"The distance to the detected target in cm, `0` while there is no target. All options from [Sensor](https://esphome.io/components/sensor/).","required":true,"display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"cm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s"}],"provides_id_paths":{"sensor":[["distance","id"]]}} +{"id":"sensor.ld2410s","name":"LD2410S Sensor","description":"The `ld2410s` component allows you to use the HI-LINK LD2410S presence radar with ESPHome. It is a lower-power relative of the [LD2410](https://esphome.io/components/sensor/ld2410/) that reports presence over a serial connection.","category":"sensor","docs_url":"https://esphome.io/components/sensor/ld2410s/","image_url":"https://esphome.io/images/badges/ld2410s.svg","dependencies":["ld2410s"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"distance","type":"nested","label":"Distance","description":"The distance to the detected target in cm, `0` while there is no target. All options from [Sensor](https://esphome.io/components/sensor/).","required":true,"display_format":null,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"cm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s","help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-2"}],"provides_id_paths":{"sensor":[["distance","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.ld2460.json b/esphome_device_builder/definitions/components/sensor.ld2460.json index d280055888..bd21e43794 100644 --- a/esphome_device_builder/definitions/components/sensor.ld2460.json +++ b/esphome_device_builder/definitions/components/sensor.ld2460.json @@ -1 +1 @@ -{"id":"sensor.ld2460","name":"LD2460 Sensor","description":"The `ld2460` sensor platform exposes the target count and real-time tracking data for up to 5 detected targets.","category":"sensor","dependencies":["ld2460"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"ld2460_id","type":"id","label":"Ld2460 ID","description":"Manually specify the ID of the parent LD2460 component. Required if multiple LD2460 components are configured.","display_format":null,"references_component":"ld2460"},{"key":"target_count","type":"nested","label":"Target Count","description":"Total number of targets currently detected (0 to 5). All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:account-group","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_1","type":"nested","label":"Target 1","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_2","type":"nested","label":"Target 2","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_3","type":"nested","label":"Target 3","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_4","type":"nested","label":"Target 4","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_5","type":"nested","label":"Target 5","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]}],"provides_id_paths":{"sensor":[["target_1","angle","id"],["target_1","distance","id"],["target_1","x","id"],["target_1","y","id"],["target_2","angle","id"],["target_2","distance","id"],["target_2","x","id"],["target_2","y","id"],["target_3","angle","id"],["target_3","distance","id"],["target_3","x","id"],["target_3","y","id"],["target_4","angle","id"],["target_4","distance","id"],["target_4","x","id"],["target_4","y","id"],["target_5","angle","id"],["target_5","distance","id"],["target_5","x","id"],["target_5","y","id"],["target_count","id"]]}} +{"id":"sensor.ld2460","name":"LD2460 Sensor","description":"The `ld2460` sensor platform exposes the target count and real-time tracking data for up to 5 detected targets.","category":"sensor","docs_url":"https://esphome.io/components/sensor/ld2460/","image_url":"https://esphome.io/images/ld2460.jpg","dependencies":["ld2460"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"ld2460_id","type":"id","label":"Ld2460 ID","description":"Manually specify the ID of the parent LD2460 component. Required if multiple LD2460 components are configured.","display_format":null,"references_component":"ld2460","help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1"},{"key":"target_count","type":"nested","label":"Target Count","description":"Total number of targets currently detected (0 to 5). All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:account-group","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_1","type":"nested","label":"Target 1","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_2","type":"nested","label":"Target 2","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_3","type":"nested","label":"Target 3","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_4","type":"nested","label":"Target 4","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_5","type":"nested","label":"Target 5","display_format":null,"advanced":true,"config_entries":[{"key":"angle","type":"nested","label":"Angle","description":"Target angle in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:format-text-rotation-angle-up","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"distance","type":"nested","label":"Distance","description":"Straight-line distance from the radar to the target ($\\sqrt{X^2 + Y^2}$) in meters. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:map-marker-distance","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"Position in meters across the face of the module (left and right), in 0.1 m steps. Negative values are to the left, positive values to the right. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-x-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Position in meters along the module's forward axis, in 0.1 m steps. The module reports it as a signed value: positive in front of a side-mounted module, and either sign across the floor under a top-mounted one. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld2460/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:alpha-y-box-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]}],"provides_id_paths":{"sensor":[["target_1","angle","id"],["target_1","distance","id"],["target_1","x","id"],["target_1","y","id"],["target_2","angle","id"],["target_2","distance","id"],["target_2","x","id"],["target_2","y","id"],["target_3","angle","id"],["target_3","distance","id"],["target_3","x","id"],["target_3","y","id"],["target_4","angle","id"],["target_4","distance","id"],["target_4","x","id"],["target_4","y","id"],["target_5","angle","id"],["target_5","distance","id"],["target_5","x","id"],["target_5","y","id"],["target_count","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.ld6004.json b/esphome_device_builder/definitions/components/sensor.ld6004.json index 83e1528d3c..e2293d9515 100644 --- a/esphome_device_builder/definitions/components/sensor.ld6004.json +++ b/esphome_device_builder/definitions/components/sensor.ld6004.json @@ -1 +1 @@ -{"id":"sensor.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` sensor provides target coordinates, point-cloud count, and configured area coordinates.","category":"sensor","dependencies":["ld6004"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004"},{"key":"point_count","type":"nested","label":"Point Count","description":"Total number of point-cloud points reported by the radar. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_count","type":"nested","label":"Target Count","description":"Total number of targets currently detected (0 to 3). All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_0","type":"nested","label":"Detection Area 0","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"detection_area_1","type":"nested","label":"Detection Area 1","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"detection_area_2","type":"nested","label":"Detection Area 2","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"detection_area_3","type":"nested","label":"Detection Area 3","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_0","type":"nested","label":"Dwell Area 0","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_1","type":"nested","label":"Dwell Area 1","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_2","type":"nested","label":"Dwell Area 2","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_3","type":"nested","label":"Dwell Area 3","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_0","type":"nested","label":"Interference Area 0","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_1","type":"nested","label":"Interference Area 1","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_2","type":"nested","label":"Interference Area 2","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_3","type":"nested","label":"Interference Area 3","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_1","type":"nested","label":"Target 1","description":"Details about each target (N = 1 to 3). Up to 3 targets can be tracked simultaneously: `target_1` through `target_3`. A tracked person keeps the same `target_N` slot for as long as they remain tracked, and a new person takes the lowest free slot. All options above inherit from [Sensor](https://esphome.io/components/sensor/). Slot identity comes from the module's own spatial clustering, so it is stable rather than perfect: two people standing very close together can merge into a single target, a track's cluster ID can occasionally change while the person is still in the room, and a slot left by someone who leaves is reused by the next new person. Watch `cluster_id` to see when a slot changes hands. It is published only when the value changes, not on every frame.","display_format":null,"advanced":true,"config_entries":[{"key":"cluster_id","type":"nested","label":"Cluster ID","description":"Cluster ID for the target.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"doppler_index","type":"nested","label":"Doppler Index","description":"Doppler index for the target (speed indicator, not a direct speed).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"X coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Y coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z","type":"nested","label":"Z","description":"Z coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_2","type":"nested","label":"Target 2","description":"Details about each target (N = 1 to 3). Up to 3 targets can be tracked simultaneously: `target_1` through `target_3`. A tracked person keeps the same `target_N` slot for as long as they remain tracked, and a new person takes the lowest free slot. All options above inherit from [Sensor](https://esphome.io/components/sensor/). Slot identity comes from the module's own spatial clustering, so it is stable rather than perfect: two people standing very close together can merge into a single target, a track's cluster ID can occasionally change while the person is still in the room, and a slot left by someone who leaves is reused by the next new person. Watch `cluster_id` to see when a slot changes hands. It is published only when the value changes, not on every frame.","display_format":null,"advanced":true,"config_entries":[{"key":"cluster_id","type":"nested","label":"Cluster ID","description":"Cluster ID for the target.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"doppler_index","type":"nested","label":"Doppler Index","description":"Doppler index for the target (speed indicator, not a direct speed).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"X coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Y coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z","type":"nested","label":"Z","description":"Z coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_3","type":"nested","label":"Target 3","description":"Details about each target (N = 1 to 3). Up to 3 targets can be tracked simultaneously: `target_1` through `target_3`. A tracked person keeps the same `target_N` slot for as long as they remain tracked, and a new person takes the lowest free slot. All options above inherit from [Sensor](https://esphome.io/components/sensor/). Slot identity comes from the module's own spatial clustering, so it is stable rather than perfect: two people standing very close together can merge into a single target, a track's cluster ID can occasionally change while the person is still in the room, and a slot left by someone who leaves is reused by the next new person. Watch `cluster_id` to see when a slot changes hands. It is published only when the value changes, not on every frame.","display_format":null,"advanced":true,"config_entries":[{"key":"cluster_id","type":"nested","label":"Cluster ID","description":"Cluster ID for the target.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"doppler_index","type":"nested","label":"Doppler Index","description":"Doppler index for the target (speed indicator, not a direct speed).","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"X coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Y coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z","type":"nested","label":"Z","description":"Z coordinate of the target in meters.","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]}],"provides_id_paths":{"sensor":[["detection_area_0","x_max","id"],["detection_area_0","x_min","id"],["detection_area_0","y_max","id"],["detection_area_0","y_min","id"],["detection_area_0","z_max","id"],["detection_area_0","z_min","id"],["detection_area_1","x_max","id"],["detection_area_1","x_min","id"],["detection_area_1","y_max","id"],["detection_area_1","y_min","id"],["detection_area_1","z_max","id"],["detection_area_1","z_min","id"],["detection_area_2","x_max","id"],["detection_area_2","x_min","id"],["detection_area_2","y_max","id"],["detection_area_2","y_min","id"],["detection_area_2","z_max","id"],["detection_area_2","z_min","id"],["detection_area_3","x_max","id"],["detection_area_3","x_min","id"],["detection_area_3","y_max","id"],["detection_area_3","y_min","id"],["detection_area_3","z_max","id"],["detection_area_3","z_min","id"],["dwell_area_0","x_max","id"],["dwell_area_0","x_min","id"],["dwell_area_0","y_max","id"],["dwell_area_0","y_min","id"],["dwell_area_0","z_max","id"],["dwell_area_0","z_min","id"],["dwell_area_1","x_max","id"],["dwell_area_1","x_min","id"],["dwell_area_1","y_max","id"],["dwell_area_1","y_min","id"],["dwell_area_1","z_max","id"],["dwell_area_1","z_min","id"],["dwell_area_2","x_max","id"],["dwell_area_2","x_min","id"],["dwell_area_2","y_max","id"],["dwell_area_2","y_min","id"],["dwell_area_2","z_max","id"],["dwell_area_2","z_min","id"],["dwell_area_3","x_max","id"],["dwell_area_3","x_min","id"],["dwell_area_3","y_max","id"],["dwell_area_3","y_min","id"],["dwell_area_3","z_max","id"],["dwell_area_3","z_min","id"],["interference_area_0","x_max","id"],["interference_area_0","x_min","id"],["interference_area_0","y_max","id"],["interference_area_0","y_min","id"],["interference_area_0","z_max","id"],["interference_area_0","z_min","id"],["interference_area_1","x_max","id"],["interference_area_1","x_min","id"],["interference_area_1","y_max","id"],["interference_area_1","y_min","id"],["interference_area_1","z_max","id"],["interference_area_1","z_min","id"],["interference_area_2","x_max","id"],["interference_area_2","x_min","id"],["interference_area_2","y_max","id"],["interference_area_2","y_min","id"],["interference_area_2","z_max","id"],["interference_area_2","z_min","id"],["interference_area_3","x_max","id"],["interference_area_3","x_min","id"],["interference_area_3","y_max","id"],["interference_area_3","y_min","id"],["interference_area_3","z_max","id"],["interference_area_3","z_min","id"],["point_count","id"],["target_1","cluster_id","id"],["target_1","doppler_index","id"],["target_1","x","id"],["target_1","y","id"],["target_1","z","id"],["target_2","cluster_id","id"],["target_2","doppler_index","id"],["target_2","x","id"],["target_2","y","id"],["target_2","z","id"],["target_3","cluster_id","id"],["target_3","doppler_index","id"],["target_3","x","id"],["target_3","y","id"],["target_3","z","id"],["target_count","id"]]}} +{"id":"sensor.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` sensor provides target coordinates, point-cloud count, and configured area coordinates.","category":"sensor","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["ld6004"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2"},{"key":"point_count","type":"nested","label":"Point Count","description":"Total number of point-cloud points reported by the radar. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_count","type":"nested","label":"Target Count","description":"Total number of targets currently detected (0 to 3). All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"detection_area_0","type":"nested","label":"Detection Area 0","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"detection_area_1","type":"nested","label":"Detection Area 1","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"detection_area_2","type":"nested","label":"Detection Area 2","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"detection_area_3","type":"nested","label":"Detection Area 3","description":"Detection area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_0","type":"nested","label":"Dwell Area 0","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_1","type":"nested","label":"Dwell Area 1","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_2","type":"nested","label":"Dwell Area 2","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"dwell_area_3","type":"nested","label":"Dwell Area 3","description":"Dwell area coordinates (N = 0 to 3), available as `dwell_area_0` through `dwell_area_3`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_0","type":"nested","label":"Interference Area 0","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_1","type":"nested","label":"Interference Area 1","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_2","type":"nested","label":"Interference Area 2","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"interference_area_3","type":"nested","label":"Interference Area 3","description":"Interference (mask) area coordinates (N = 0 to 3). Each area provides `x_min`, `x_max`, `y_min`, `y_max`, `z_min`, `z_max` sensors. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"x_max","type":"nested","label":"X Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x_min","type":"nested","label":"X Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_max","type":"nested","label":"Y Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y_min","type":"nested","label":"Y Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_max","type":"nested","label":"Z Max","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z_min","type":"nested","label":"Z Min","display_format":null,"advanced":true,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_1","type":"nested","label":"Target 1","description":"Details about each target (N = 1 to 3). Up to 3 targets can be tracked simultaneously: `target_1` through `target_3`. A tracked person keeps the same `target_N` slot for as long as they remain tracked, and a new person takes the lowest free slot. All options above inherit from [Sensor](https://esphome.io/components/sensor/). Slot identity comes from the module's own spatial clustering, so it is stable rather than perfect: two people standing very close together can merge into a single target, a track's cluster ID can occasionally change while the person is still in the room, and a slot left by someone who leaves is reused by the next new person. Watch `cluster_id` to see when a slot changes hands. It is published only when the value changes, not on every frame.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"cluster_id","type":"nested","label":"Cluster ID","description":"Cluster ID for the target.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"doppler_index","type":"nested","label":"Doppler Index","description":"Doppler index for the target (speed indicator, not a direct speed).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"X coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Y coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z","type":"nested","label":"Z","description":"Z coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_2","type":"nested","label":"Target 2","description":"Details about each target (N = 1 to 3). Up to 3 targets can be tracked simultaneously: `target_1` through `target_3`. A tracked person keeps the same `target_N` slot for as long as they remain tracked, and a new person takes the lowest free slot. All options above inherit from [Sensor](https://esphome.io/components/sensor/). Slot identity comes from the module's own spatial clustering, so it is stable rather than perfect: two people standing very close together can merge into a single target, a track's cluster ID can occasionally change while the person is still in the room, and a slot left by someone who leaves is reused by the next new person. Watch `cluster_id` to see when a slot changes hands. It is published only when the value changes, not on every frame.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"cluster_id","type":"nested","label":"Cluster ID","description":"Cluster ID for the target.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"doppler_index","type":"nested","label":"Doppler Index","description":"Doppler index for the target (speed indicator, not a direct speed).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"X coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Y coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z","type":"nested","label":"Z","description":"Z coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]},{"key":"target_3","type":"nested","label":"Target 3","description":"Details about each target (N = 1 to 3). Up to 3 targets can be tracked simultaneously: `target_1` through `target_3`. A tracked person keeps the same `target_N` slot for as long as they remain tracked, and a new person takes the lowest free slot. All options above inherit from [Sensor](https://esphome.io/components/sensor/). Slot identity comes from the module's own spatial clustering, so it is stable rather than perfect: two people standing very close together can merge into a single target, a track's cluster ID can occasionally change while the person is still in the room, and a slot left by someone who leaves is reused by the next new person. Watch `cluster_id` to see when a slot changes hands. It is published only when the value changes, not on every frame.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","config_entries":[{"key":"cluster_id","type":"nested","label":"Cluster ID","description":"Cluster ID for the target.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"doppler_index","type":"nested","label":"Doppler Index","description":"Doppler index for the target (speed indicator, not a direct speed).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"x","type":"nested","label":"X","description":"X coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"y","type":"nested","label":"Y","description":"Y coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"z","type":"nested","label":"Z","description":"Z coordinate of the target in meters.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"distance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","default_value":"[{'timeout': {'timeout': TimePeriod<1000000000ns>, 'value': 'last'}}, {'throttle_with_priority': TimePeriod<1000000000ns>}]","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}]}],"provides_id_paths":{"sensor":[["detection_area_0","x_max","id"],["detection_area_0","x_min","id"],["detection_area_0","y_max","id"],["detection_area_0","y_min","id"],["detection_area_0","z_max","id"],["detection_area_0","z_min","id"],["detection_area_1","x_max","id"],["detection_area_1","x_min","id"],["detection_area_1","y_max","id"],["detection_area_1","y_min","id"],["detection_area_1","z_max","id"],["detection_area_1","z_min","id"],["detection_area_2","x_max","id"],["detection_area_2","x_min","id"],["detection_area_2","y_max","id"],["detection_area_2","y_min","id"],["detection_area_2","z_max","id"],["detection_area_2","z_min","id"],["detection_area_3","x_max","id"],["detection_area_3","x_min","id"],["detection_area_3","y_max","id"],["detection_area_3","y_min","id"],["detection_area_3","z_max","id"],["detection_area_3","z_min","id"],["dwell_area_0","x_max","id"],["dwell_area_0","x_min","id"],["dwell_area_0","y_max","id"],["dwell_area_0","y_min","id"],["dwell_area_0","z_max","id"],["dwell_area_0","z_min","id"],["dwell_area_1","x_max","id"],["dwell_area_1","x_min","id"],["dwell_area_1","y_max","id"],["dwell_area_1","y_min","id"],["dwell_area_1","z_max","id"],["dwell_area_1","z_min","id"],["dwell_area_2","x_max","id"],["dwell_area_2","x_min","id"],["dwell_area_2","y_max","id"],["dwell_area_2","y_min","id"],["dwell_area_2","z_max","id"],["dwell_area_2","z_min","id"],["dwell_area_3","x_max","id"],["dwell_area_3","x_min","id"],["dwell_area_3","y_max","id"],["dwell_area_3","y_min","id"],["dwell_area_3","z_max","id"],["dwell_area_3","z_min","id"],["interference_area_0","x_max","id"],["interference_area_0","x_min","id"],["interference_area_0","y_max","id"],["interference_area_0","y_min","id"],["interference_area_0","z_max","id"],["interference_area_0","z_min","id"],["interference_area_1","x_max","id"],["interference_area_1","x_min","id"],["interference_area_1","y_max","id"],["interference_area_1","y_min","id"],["interference_area_1","z_max","id"],["interference_area_1","z_min","id"],["interference_area_2","x_max","id"],["interference_area_2","x_min","id"],["interference_area_2","y_max","id"],["interference_area_2","y_min","id"],["interference_area_2","z_max","id"],["interference_area_2","z_min","id"],["interference_area_3","x_max","id"],["interference_area_3","x_min","id"],["interference_area_3","y_max","id"],["interference_area_3","y_min","id"],["interference_area_3","z_max","id"],["interference_area_3","z_min","id"],["point_count","id"],["target_1","cluster_id","id"],["target_1","doppler_index","id"],["target_1","x","id"],["target_1","y","id"],["target_1","z","id"],["target_2","cluster_id","id"],["target_2","doppler_index","id"],["target_2","x","id"],["target_2","y","id"],["target_2","z","id"],["target_3","cluster_id","id"],["target_3","doppler_index","id"],["target_3","x","id"],["target_3","y","id"],["target_3","z","id"],["target_count","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.lis2dw12.json b/esphome_device_builder/definitions/components/sensor.lis2dw12.json index ae7b3ff6a6..80a1c0c19d 100644 --- a/esphome_device_builder/definitions/components/sensor.lis2dw12.json +++ b/esphome_device_builder/definitions/components/sensor.lis2dw12.json @@ -1 +1 @@ -{"id":"sensor.lis2dw12","name":"LIS2DW12 Sensor","description":"Acceleration data is available through sensors configuration. You can use shorthand notation like `acceleration_x: \"Acceleration X\"` or use regular notation. For regular notation at least an **id** or a **name** is required. All options from [Sensor](https://esphome.io/components/sensor/).","category":"sensor","dependencies":["lis2dw12"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"lis2dw12_id","type":"id","label":"Lis2Dw12 ID","description":"The ID of the `lis2dw12_i2c` or `lis2dw12_spi` hub. Needed when more than one sensor is configured.","display_format":null,"references_component":"lis2dw12"},{"key":"acceleration_x","type":"nested","label":"Acceleration X","description":"X-axis acceleration, m/s².","display_format":null,"maybe_key":"name","advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","advanced":true},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:axis-arrow","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"acceleration_y","type":"nested","label":"Acceleration Y","description":"Y-axis acceleration, m/s².","display_format":null,"maybe_key":"name","advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","advanced":true},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:axis-arrow","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"acceleration_z","type":"nested","label":"Acceleration Z","description":"Z-axis acceleration, m/s².","display_format":null,"maybe_key":"name","advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","advanced":true},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:axis-arrow","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]}],"provides_id_paths":{"sensor":[["acceleration_x","id"],["acceleration_y","id"],["acceleration_z","id"]]}} +{"id":"sensor.lis2dw12","name":"LIS2DW12 Sensor","description":"Acceleration data is available through sensors configuration. You can use shorthand notation like `acceleration_x: \"Acceleration X\"` or use regular notation. For regular notation at least an **id** or a **name** is required. All options from [Sensor](https://esphome.io/components/sensor/).","category":"sensor","docs_url":"https://esphome.io/components/sensor/lis2dw12/","image_url":"https://esphome.io/images/lis2dw12.jpg","dependencies":["lis2dw12"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"lis2dw12_id","type":"id","label":"Lis2Dw12 ID","description":"The ID of the `lis2dw12_i2c` or `lis2dw12_spi` hub. Needed when more than one sensor is configured.","display_format":null,"references_component":"lis2dw12","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-2"},{"key":"acceleration_x","type":"nested","label":"Acceleration X","description":"X-axis acceleration, m/s².","display_format":null,"maybe_key":"name","advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-2","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","advanced":true},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:axis-arrow","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"acceleration_y","type":"nested","label":"Acceleration Y","description":"Y-axis acceleration, m/s².","display_format":null,"maybe_key":"name","advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-2","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","advanced":true},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:axis-arrow","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]},{"key":"acceleration_z","type":"nested","label":"Acceleration Z","description":"Z-axis acceleration, m/s².","display_format":null,"maybe_key":"name","advanced":true,"help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-2","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","advanced":true},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:axis-arrow","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s²","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]}],"provides_id_paths":{"sensor":[["acceleration_x","id"],["acceleration_y","id"],["acceleration_z","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.lis3dh.json b/esphome_device_builder/definitions/components/sensor.lis3dh.json index 9ab88d0dfc..98f685484e 100644 --- a/esphome_device_builder/definitions/components/sensor.lis3dh.json +++ b/esphome_device_builder/definitions/components/sensor.lis3dh.json @@ -1 +1 @@ -{"id":"sensor.lis3dh","name":"LIS3DH Temperature Sensor","description":"The `lis3dh` sensor platform provides access to the on-chip temperature sensor of a LIS3DH accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `lis3dh` platform, which handles the accelerometer data and configures the device. See that component for more information.","category":"sensor","dependencies":["lis3dh"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","description":"Must be set to `temperature`, or simply omitted.","options":[{"label":"temperature","value":"temperature"}],"display_format":null},{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"lis3dh_id","type":"id","label":"Lis3Dh ID","description":"The ID of the `lis3dh` motion platform this sensor belongs to. Only needed when more than one LIS3DH is configured.","display_format":null,"references_component":"lis3dh"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"sensor.lis3dh","name":"LIS3DH Temperature Sensor","description":"The `lis3dh` sensor platform provides access to the on-chip temperature sensor of a LIS3DH accelerometer ([datasheet](https://www.st.com/resource/en/datasheet/lis3dh.pdf)) with ESPHome. It requires a [`motion`](https://esphome.io/components/motion/) component to be configured with the `lis3dh` platform, which handles the accelerometer data and configures the device. See that component for more information.","category":"sensor","docs_url":"https://esphome.io/components/sensor/lis3dh/","image_url":"https://esphome.io/images/imu.svg","dependencies":["lis3dh"],"multi_conf":true,"config_entries":[{"key":"type","type":"string","label":"Type","description":"Must be set to `temperature`, or simply omitted.","options":[{"label":"temperature","value":"temperature"}],"display_format":null,"help_link":"https://esphome.io/components/sensor/lis3dh/#configuration-variables"},{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"lis3dh_id","type":"id","label":"Lis3Dh ID","description":"The ID of the `lis3dh` motion platform this sensor belongs to. Only needed when more than one LIS3DH is configured.","display_format":null,"references_component":"lis3dh","help_link":"https://esphome.io/components/sensor/lis3dh/#configuration-variables"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/sensor.m5stack_unit_bldc.json b/esphome_device_builder/definitions/components/sensor.m5stack_unit_bldc.json index 155361ee5b..7a55bd8792 100644 --- a/esphome_device_builder/definitions/components/sensor.m5stack_unit_bldc.json +++ b/esphome_device_builder/definitions/components/sensor.m5stack_unit_bldc.json @@ -1 +1 @@ -{"id":"sensor.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` sensor platform reports the motor's measured RPM and pulse frequency.","category":"sensor","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"frequency","type":"nested","label":"Frequency","description":"The measured pulse frequency, in Hz. The unit computes `rpm` from this and `pole_pairs`. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc"},{"key":"rpm","type":"nested","label":"Rpm","description":"The measured motor RPM. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["frequency","id"],["rpm","id"]]}} +{"id":"sensor.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` sensor platform reports the motor's measured RPM and pulse frequency.","category":"sensor","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","image_url":"https://esphome.io/images/motor.png","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"frequency","type":"nested","label":"Frequency","description":"The measured pulse frequency, in Hz. The unit computes `rpm` from this and `pole_pairs`. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-3","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc","help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-3"},{"key":"rpm","type":"nested","label":"Rpm","description":"The measured motor RPM. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-3","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["frequency","id"],["rpm","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.max17048.json b/esphome_device_builder/definitions/components/sensor.max17048.json index 2957f7c9ce..ed26eedae0 100644 --- a/esphome_device_builder/definitions/components/sensor.max17048.json +++ b/esphome_device_builder/definitions/components/sensor.max17048.json @@ -1 +1 @@ -{"id":"sensor.max17048","name":"Analog Devices MAX17048 battery fuel gauge","description":"The `max17048` platform allows you to monitor the remaining capacity of a lithium-ion battery with an Analog Devices MAX17048 or MAX17049 fuel gauge ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/MAX17048-MAX17049.pdf)) in ESPHome. The ModelGauge algorithm in the chip tracks the state of charge over a wide range of charge and discharge profiles without a sense resistor or relearn cycles. The MAX17048 monitors one cell and the MAX17049 two cells in series; the two chips are otherwise the same. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"sensor","dependencies":["i2c"],"multi_conf":true,"provides":["max17048","sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x36`.","default_value":"54","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the gauge. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"battery_level","type":"nested","label":"Battery Level","description":"The state of charge in percent. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_voltage","type":"nested","label":"Battery Voltage","description":"The cell voltage in volts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rate","type":"nested","label":"Rate","description":"The rate at which the cell is charging or discharging, in percent per hour, positive while charging. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%/h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"],["rate","id"]]}} +{"id":"sensor.max17048","name":"Analog Devices MAX17048 battery fuel gauge","description":"The `max17048` platform allows you to monitor the remaining capacity of a lithium-ion battery with an Analog Devices MAX17048 or MAX17049 fuel gauge ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/MAX17048-MAX17049.pdf)) in ESPHome. The ModelGauge algorithm in the chip tracks the state of charge over a wide range of charge and discharge profiles without a sense resistor or relearn cycles. The MAX17048 monitors one cell and the MAX17049 two cells in series; the two chips are otherwise the same. It uses the [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"sensor","docs_url":"https://esphome.io/components/sensor/max17048/","image_url":"https://esphome.io/images/max17048.webp","dependencies":["i2c"],"multi_conf":true,"provides":["max17048","sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x36`.","default_value":"54","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/max17048/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to read the gauge. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/max17048/#configuration-variables","duration_min_unit":"ms"},{"key":"battery_level","type":"nested","label":"Battery Level","description":"The state of charge in percent. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/max17048/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"battery","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_voltage","type":"nested","label":"Battery Voltage","description":"The cell voltage in volts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/max17048/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rate","type":"nested","label":"Rate","description":"The rate at which the cell is charging or discharging, in percent per hour, positive while charging. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/max17048/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%/h","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["battery_level","id"],["battery_voltage","id"],["rate","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.max31888.json b/esphome_device_builder/definitions/components/sensor.max31888.json index 65dd5e4741..c70270891f 100644 --- a/esphome_device_builder/definitions/components/sensor.max31888.json +++ b/esphome_device_builder/definitions/components/sensor.max31888.json @@ -1 +1 @@ -{"id":"sensor.max31888","name":"MAX31888 Temperature Sensor","description":"The `max31888` sensor platform allows you to use the Analog Devices MAX31888 ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/max31888.pdf)) 1-Wire temperature sensor with ESPHome. A [1-Wire bus](https://esphome.io/components/one_wire/) is required to be set up in your configuration for this sensor to work.","category":"sensor","dependencies":["one_wire"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The address of the sensor. Required if there is more than one device on the bus and index is not specified.","display_format":"hex"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval that the sensor should be checked. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"one_wire_id","type":"id","label":"One Wire ID","description":"The ID of the 1-Wire bus to use. Required if there is more than one bus.","display_format":null,"references_component":"one_wire"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"index","type":"integer","label":"Index","description":"The index (0-based) of the sensor. Required if there is more than one device on the bus and address is not specified. *Note this index is based on the hardware addresses of the sensors and the order can change if sensors are changed, added, or removed.*","range":[0,255],"display_format":null,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"sensor.max31888","name":"MAX31888 Temperature Sensor","description":"The `max31888` sensor platform allows you to use the Analog Devices MAX31888 ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/max31888.pdf)) 1-Wire temperature sensor with ESPHome. A [1-Wire bus](https://esphome.io/components/one_wire/) is required to be set up in your configuration for this sensor to work.","category":"sensor","docs_url":"https://esphome.io/components/sensor/max31888/","image_url":"https://esphome.io/images/badges/max31888.svg","dependencies":["one_wire"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The address of the sensor. Required if there is more than one device on the bus and index is not specified.","display_format":"hex","help_link":"https://esphome.io/components/sensor/max31888/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval that the sensor should be checked. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/max31888/#configuration-variables","duration_min_unit":"ms"},{"key":"one_wire_id","type":"id","label":"One Wire ID","description":"The ID of the 1-Wire bus to use. Required if there is more than one bus.","display_format":null,"references_component":"one_wire","help_link":"https://esphome.io/components/sensor/max31888/#configuration-variables"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"index","type":"integer","label":"Index","description":"The index (0-based) of the sensor. Required if there is more than one device on the bus and address is not specified. *Note this index is based on the hardware addresses of the sensors and the order can change if sensors are changed, added, or removed.*","range":[0,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/max31888/#configuration-variables"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/sensor.mics_5524.json b/esphome_device_builder/definitions/components/sensor.mics_5524.json index 119ba30687..f17c630ec3 100644 --- a/esphome_device_builder/definitions/components/sensor.mics_5524.json +++ b/esphome_device_builder/definitions/components/sensor.mics_5524.json @@ -1 +1 @@ -{"id":"sensor.mics_5524","name":"MiCS-5524 Gas Sensor","description":"The `mics_5524` sensor platform allows you to use the **MiCS-5524** MEMS multi-gas sensor - the small 5 V analog modules with `VCC` / `GND` / `A0` / `EN` pads, and the DFRobot \"Fermion\" breakout they are cloned from - with ESPHome. One entry configures one physical sensor: it reads the analog output once per `update_interval` and publishes every gas listed under it as its own sub-sensor.","category":"sensor","multi_conf":true,"provides":["mics_5524","sensor"],"config_entries":[{"key":"pin","type":"pin","label":"Pin","description":"**Required — set exactly one of:** `voltage`, `pin`.\n\nThe pin the AO output is connected to. The component creates the `adc` sensor it reads from and averages `sample_count:` conversions of it per reading. Exactly one of `voltage:` and `pin:` is required.","display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval between two readings, shared by every gas of the entry. Defaults to `30s`.","default_value":"30s","display_format":null,"duration_min_unit":"ms"},{"key":"air_reference","type":"float","label":"Air Reference","description":"**Set at most one of:** `air_reference`, `r0`, `calibration`.\n\nThe fixed clean-air reference of the vendor model in volts (`VCC - V_AO` measured in clean air). It has to be smaller than `vcc:`, skips the calibration at boot, and is mutually exclusive with `calibration:` and `r0:`. Only accepted with `conversion: dfrobot`.","display_format":null},{"key":"ammonia","type":"nested","label":"Ammonia","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"calibration","type":"nested","label":"Calibration","description":"**Set at most one of:** `air_reference`, `r0`, `calibration`.\n\nCapture the clean-air reference at boot instead of hard-coding it (`air_reference:` or `r0:`). At most one of `calibration:`, `air_reference:` and `r0:` may be set.","display_format":null,"config_entries":[{"key":"delay","type":"time_period","label":"Delay","description":"The time to wait after boot before the first sample, so the module has settled. Defaults to `60s`.","default_value":"60s","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"persist","type":"boolean","label":"Persist","description":"Store the captured reference in flash so it survives a reboot. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"sample_count","type":"integer","label":"Sample Count","description":"The number of readings averaged into the reference. Defaults to `10`. Range: 2-16.","default_value":"10","range":[2,16],"display_format":null,"advanced":true},{"key":"sample_interval","type":"time_period","label":"Sample Interval","description":"The spacing between two of those readings. Defaults to `20ms`; the minimum is 16 ms, one pass of the main loop.","default_value":"20ms","display_format":null,"advanced":true,"duration_min_unit":"ms"}]},{"key":"carbon_monoxide","type":"nested","label":"Carbon Monoxide","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"enable_pin","type":"pin","label":"Enable Pin","description":"The pin wired to the `EN` pad of the module. The input is active low, so configure `inverted: true`, or the module stays asleep and every reading sits at 0 V.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"ethanol","type":"nested","label":"Ethanol","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hydrogen","type":"nested","label":"Hydrogen","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"methane","type":"nested","label":"Methane","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"r0","type":"float","label":"R0","description":"**Set at most one of:** `air_reference`, `r0`, `calibration`.\n\n`RS` in clean air, in kΩ, of the datasheet model. It skips the calibration at boot and is mutually exclusive with `calibration:` and `air_reference:`. Only accepted with `conversion: datasheet`.","display_format":null},{"key":"ratio_sensor","type":"nested","label":"Ratio Sensor","description":"The conversion ratio, `x / x_air` in the vendor model and `RS / R0` in the datasheet model.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"4","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs_sensor","type":"nested","label":"Rs Sensor","description":"The sensor resistance `RS` in kΩ. Only accepted with `conversion: datasheet`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kΩ","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"id","label":"Voltage","description":"**Required — set exactly one of:** `voltage`, `pin`.\n\nThe ID of a voltage sampler (`adc`, `ads1115`, ...) that reads the AO pin. Exactly one of `voltage:` and `pin:` is required.","display_format":null,"references_component":"voltage_sampler"},{"key":"voltage_divider","type":"nested","label":"Voltage Divider","description":"**Set at most one of:** `voltage_divider`, `voltage_multiplier`.\n\nThe resistor divider in front of the pin, from which the multiplier is derived as `(r1 + r2) / r2`. Mutually exclusive with `voltage_multiplier:`.","display_format":null,"config_entries":[{"key":"r1","type":"float","label":"R1","description":"The resistor between AO and the pin, in Ohm.","required":true,"display_format":null,"advanced":true},{"key":"r2","type":"float","label":"R2","description":"The resistor between the pin and ground, in Ohm.","required":true,"display_format":null,"advanced":true}]},{"key":"voltage_multiplier","type":"float","label":"Voltage Multiplier","description":"**Set at most one of:** `voltage_divider`, `voltage_multiplier`.\n\nThe multiplier applied to the sampled voltage, the inverse of the divider ratio (`1.5` for a 10k/20k divider, `1.0` for a directly connected sensor or a sampler with a wider input range). Defaults to `1.0`. Mutually exclusive with `voltage_divider:`.","display_format":null},{"key":"voltage_sensor","type":"nested","label":"Voltage Sensor","description":"The averaged, scaled AO voltage in V.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"adc_attenuation","type":"string","label":"ADC Attenuation","description":"The attenuation of the `adc` sensor that `pin:` creates: `0db`, `2.5db`, `6db`, `11db`, `12db` or `auto`. Defaults to `12db` on ESP32 so the pin is not clipped by the 0 dB default, and it also picks the default `adc_input_max:` of the wiring check there. With `voltage:` set `attenuation:` on that sampler instead.","options":[{"label":"0db","value":"0db"},{"label":"2.5db","value":"2.5db"},{"label":"6db","value":"6db"},{"label":"11db","value":"11db"},{"label":"12db","value":"12db"},{"label":"auto","value":"auto"}],"display_format":null,"advanced":true},{"key":"adc_input_max","type":"float","label":"ADC Input Max","description":"The top of the measuring range of the sampler, in volts: the largest reading the wiring can produce (`vcc:` scaled by `voltage_divider:` or `voltage_multiplier:`) has to stay within it, and a 10 mV margin is allowed. Defaults to the built-in limit of the platform (ESP32 and RP2 `3.3`, ESP8266 `1.0`); for an ESP32 `pin:` source it defaults to the range of the configured `adc_attenuation:` instead. On a platform without a built-in limit both this and `adc_pin_max:` are required as soon as the wiring is checked.","display_format":null,"advanced":true},{"key":"adc_pin_max","type":"float","label":"ADC Pin Max","description":"The absolute maximum the ADC pin tolerates, in volts; it is checked the same way as `adc_input_max:`. Defaults to the built-in limit of the platform (ESP32 and RP2 `3.6`, ESP8266 `1.0`).","display_format":null,"advanced":true},{"key":"conversion","type":"string","label":"Conversion","description":"The conversion model of the sensor, `dfrobot` (default) or `datasheet`. See [How the Numbers Are Calculated](https://esphome.io/components/sensor/mics_5524/#how-the-numbers-are-calculated).","default_value":"dfrobot","options":[{"label":"dfrobot","value":"dfrobot"},{"label":"datasheet","value":"datasheet"}],"display_format":null,"advanced":true},{"key":"rl","type":"float","label":"Rl","description":"The load resistor `RL` of the datasheet model, in kΩ. Defaults to `10`. Only accepted with `conversion: datasheet`.","display_format":null,"advanced":true},{"key":"sample_count","type":"integer","label":"Sample Count","description":"The number of AO conversions averaged per reading. They run back to back inside one pass of the main loop. Defaults to `4`. Range: 1-16.","default_value":"4","range":[1,16],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"vcc","type":"float","label":"Vcc","description":"The supply voltage of the module. A reading above it cannot come from the sensor, so it is reported as `unknown` with a warning instead of being published as a measurement. Defaults to `5.0`.","default_value":"5.0","display_format":null,"advanced":true},{"key":"warmup_time","type":"time_period","label":"Warmup Time","description":"The heater warm-up. Nothing is published before it has elapsed. Defaults to `3min`; use `24h` for the burn-in of a new module.","default_value":"3min","display_format":null,"advanced":true,"duration_min_unit":"ms"}],"required_groups":[{"kind":"exactly_one","keys":["voltage","pin"]},{"kind":"at_most_one","keys":["voltage_divider","voltage_multiplier"]},{"kind":"at_least_one","keys":["carbon_monoxide","hydrogen","ethanol","ammonia","methane"]},{"kind":"at_most_one","keys":["air_reference","r0","calibration"]}],"provides_id_paths":{"sensor":[["ammonia","id"],["carbon_monoxide","id"],["ethanol","id"],["hydrogen","id"],["methane","id"],["ratio_sensor","id"],["rs_sensor","id"],["voltage_sensor","id"]]}} +{"id":"sensor.mics_5524","name":"MiCS-5524 Gas Sensor","description":"The `mics_5524` sensor platform allows you to use the **MiCS-5524** MEMS multi-gas sensor - the small 5 V analog modules with `VCC` / `GND` / `A0` / `EN` pads, and the DFRobot \"Fermion\" breakout they are cloned from - with ESPHome. One entry configures one physical sensor: it reads the analog output once per `update_interval` and publishes every gas listed under it as its own sub-sensor.","category":"sensor","docs_url":"https://esphome.io/components/sensor/mics_5524/","image_url":"https://esphome.io/images/mics_5524.jpg","multi_conf":true,"provides":["mics_5524","sensor"],"config_entries":[{"key":"pin","type":"pin","label":"Pin","description":"**Required — set exactly one of:** `voltage`, `pin`.\n\nThe pin the AO output is connected to. The component creates the `adc` sensor it reads from and averages `sample_count:` conversions of it per reading. Exactly one of `voltage:` and `pin:` is required.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval between two readings, shared by every gas of the entry. Defaults to `30s`.","default_value":"30s","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#sampling","duration_min_unit":"ms"},{"key":"air_reference","type":"float","label":"Air Reference","description":"**Set at most one of:** `air_reference`, `r0`, `calibration`.\n\nThe fixed clean-air reference of the vendor model in volts (`VCC - V_AO` measured in clean air). It has to be smaller than `vcc:`, skips the calibration at boot, and is mutually exclusive with `calibration:` and `r0:`. Only accepted with `conversion: dfrobot`.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#conversion-model-and-reference"},{"key":"ammonia","type":"nested","label":"Ammonia","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"calibration","type":"nested","label":"Calibration","description":"**Set at most one of:** `air_reference`, `r0`, `calibration`.\n\nCapture the clean-air reference at boot instead of hard-coding it (`air_reference:` or `r0:`). At most one of `calibration:`, `air_reference:` and `r0:` may be set.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#calibration","config_entries":[{"key":"delay","type":"time_period","label":"Delay","description":"The time to wait after boot before the first sample, so the module has settled. Defaults to `60s`.","default_value":"60s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#calibration","duration_min_unit":"ms"},{"key":"persist","type":"boolean","label":"Persist","description":"Store the captured reference in flash so it survives a reboot. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#calibration"},{"key":"sample_count","type":"integer","label":"Sample Count","description":"The number of readings averaged into the reference. Defaults to `10`. Range: 2-16.","default_value":"10","range":[2,16],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#calibration"},{"key":"sample_interval","type":"time_period","label":"Sample Interval","description":"The spacing between two of those readings. Defaults to `20ms`; the minimum is 16 ms, one pass of the main loop.","default_value":"20ms","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#calibration","duration_min_unit":"ms"}]},{"key":"carbon_monoxide","type":"nested","label":"Carbon Monoxide","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"enable_pin","type":"pin","label":"Enable Pin","description":"The pin wired to the `EN` pad of the module. The input is active low, so configure `inverted: true`, or the module stays asleep and every reading sits at 0 V.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/sensor/mics_5524/#front-end","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"ethanol","type":"nested","label":"Ethanol","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"hydrogen","type":"nested","label":"Hydrogen","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"methane","type":"nested","label":"Methane","description":"**Required — set at least one of:** `carbon_monoxide`, `hydrogen`, `ethanol`, `ammonia`, `methane`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:molecule","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"ppm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"coefficient_a","type":"float","label":"Coefficient A","description":"**Set together with:** `coefficient_b` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"coefficient_b","type":"float","label":"Coefficient B","description":"**Set together with:** `coefficient_a` (all-or-none).","display_format":null,"advanced":true,"group":"coefficients"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"max_ppm","type":"float","label":"Max Ppm","display_format":null,"advanced":true},{"key":"min_ppm","type":"float","label":"Min Ppm","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"r0","type":"float","label":"R0","description":"**Set at most one of:** `air_reference`, `r0`, `calibration`.\n\n`RS` in clean air, in kΩ, of the datasheet model. It skips the calibration at boot and is mutually exclusive with `calibration:` and `air_reference:`. Only accepted with `conversion: datasheet`.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#conversion-model-and-reference"},{"key":"ratio_sensor","type":"nested","label":"Ratio Sensor","description":"The conversion ratio, `x / x_air` in the vendor model and `RS / R0` in the datasheet model.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#diagnostics","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"4","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rs_sensor","type":"nested","label":"Rs Sensor","description":"The sensor resistance `RS` in kΩ. Only accepted with `conversion: datasheet`.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#diagnostics","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kΩ","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"id","label":"Voltage","description":"**Required — set exactly one of:** `voltage`, `pin`.\n\nThe ID of a voltage sampler (`adc`, `ads1115`, ...) that reads the AO pin. Exactly one of `voltage:` and `pin:` is required.","display_format":null,"references_component":"voltage_sampler","help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"},{"key":"voltage_divider","type":"nested","label":"Voltage Divider","description":"**Set at most one of:** `voltage_divider`, `voltage_multiplier`.\n\nThe resistor divider in front of the pin, from which the multiplier is derived as `(r1 + r2) / r2`. Mutually exclusive with `voltage_multiplier:`.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end","config_entries":[{"key":"r1","type":"float","label":"R1","description":"The resistor between AO and the pin, in Ohm.","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"},{"key":"r2","type":"float","label":"R2","description":"The resistor between the pin and ground, in Ohm.","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"}]},{"key":"voltage_multiplier","type":"float","label":"Voltage Multiplier","description":"**Set at most one of:** `voltage_divider`, `voltage_multiplier`.\n\nThe multiplier applied to the sampled voltage, the inverse of the divider ratio (`1.5` for a 10k/20k divider, `1.0` for a directly connected sensor or a sampler with a wider input range). Defaults to `1.0`. Mutually exclusive with `voltage_divider:`.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"},{"key":"voltage_sensor","type":"nested","label":"Voltage Sensor","description":"The averaged, scaled AO voltage in V.","display_format":null,"help_link":"https://esphome.io/components/sensor/mics_5524/#diagnostics","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"adc_attenuation","type":"string","label":"ADC Attenuation","description":"The attenuation of the `adc` sensor that `pin:` creates: `0db`, `2.5db`, `6db`, `11db`, `12db` or `auto`. Defaults to `12db` on ESP32 so the pin is not clipped by the 0 dB default, and it also picks the default `adc_input_max:` of the wiring check there. With `voltage:` set `attenuation:` on that sampler instead.","options":[{"label":"0db","value":"0db"},{"label":"2.5db","value":"2.5db"},{"label":"6db","value":"6db"},{"label":"11db","value":"11db"},{"label":"12db","value":"12db"},{"label":"auto","value":"auto"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"},{"key":"adc_input_max","type":"float","label":"ADC Input Max","description":"The top of the measuring range of the sampler, in volts: the largest reading the wiring can produce (`vcc:` scaled by `voltage_divider:` or `voltage_multiplier:`) has to stay within it, and a 10 mV margin is allowed. Defaults to the built-in limit of the platform (ESP32 and RP2 `3.3`, ESP8266 `1.0`); for an ESP32 `pin:` source it defaults to the range of the configured `adc_attenuation:` instead. On a platform without a built-in limit both this and `adc_pin_max:` are required as soon as the wiring is checked.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"},{"key":"adc_pin_max","type":"float","label":"ADC Pin Max","description":"The absolute maximum the ADC pin tolerates, in volts; it is checked the same way as `adc_input_max:`. Defaults to the built-in limit of the platform (ESP32 and RP2 `3.6`, ESP8266 `1.0`).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#front-end"},{"key":"conversion","type":"string","label":"Conversion","description":"The conversion model of the sensor, `dfrobot` (default) or `datasheet`. See [How the Numbers Are Calculated](https://esphome.io/components/sensor/mics_5524/#how-the-numbers-are-calculated).","default_value":"dfrobot","options":[{"label":"dfrobot","value":"dfrobot"},{"label":"datasheet","value":"datasheet"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#conversion-model-and-reference"},{"key":"rl","type":"float","label":"Rl","description":"The load resistor `RL` of the datasheet model, in kΩ. Defaults to `10`. Only accepted with `conversion: datasheet`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#conversion-model-and-reference"},{"key":"sample_count","type":"integer","label":"Sample Count","description":"The number of AO conversions averaged per reading. They run back to back inside one pass of the main loop. Defaults to `4`. Range: 1-16.","default_value":"4","range":[1,16],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#sampling"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"vcc","type":"float","label":"Vcc","description":"The supply voltage of the module. A reading above it cannot come from the sensor, so it is reported as `unknown` with a warning instead of being published as a measurement. Defaults to `5.0`.","default_value":"5.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#conversion-model-and-reference"},{"key":"warmup_time","type":"time_period","label":"Warmup Time","description":"The heater warm-up. Nothing is published before it has elapsed. Defaults to `3min`; use `24h` for the burn-in of a new module.","default_value":"3min","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/mics_5524/#sampling","duration_min_unit":"ms"}],"required_groups":[{"kind":"exactly_one","keys":["voltage","pin"]},{"kind":"at_most_one","keys":["voltage_divider","voltage_multiplier"]},{"kind":"at_least_one","keys":["carbon_monoxide","hydrogen","ethanol","ammonia","methane"]},{"kind":"at_most_one","keys":["air_reference","r0","calibration"]}],"provides_id_paths":{"sensor":[["ammonia","id"],["carbon_monoxide","id"],["ethanol","id"],["hydrogen","id"],["methane","id"],["ratio_sensor","id"],["rs_sensor","id"],["voltage_sensor","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.modem.json b/esphome_device_builder/definitions/components/sensor.modem.json index adf68f437e..fbeade1c4e 100644 --- a/esphome_device_builder/definitions/components/sensor.modem.json +++ b/esphome_device_builder/definitions/components/sensor.modem.json @@ -1 +1 @@ -{"id":"sensor.modem","name":"Modem Sensor","description":"The `modem` sensor platform reports the signal quality of the [Modem](https://esphome.io/components/modem/), as read with the `AT+CSQ` command.","category":"sensor","dependencies":["modem"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"ber","type":"nested","label":"Ber","description":"The bit error rate in percent: the representative value from 3GPP TS 45.008 for the quality class the modem reports, from `0.14` to `18.10`. Many modems only report it on a GSM connection, so the sensor is unknown on other networks. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"modem_id","type":"id","label":"Modem ID","description":"The ID of the [Modem](https://esphome.io/components/modem/) component. Defaults to the configured modem.","display_format":null,"references_component":"modem"},{"key":"rssi","type":"nested","label":"Rssi","description":"The received signal strength in dBm, from `-113` to `-51`. The sensor is unknown when the modem does not know the signal strength. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"signal_strength","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"dBm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"none_or_all","keys":["rts_pin","cts_pin"]}],"provides_id_paths":{"sensor":[["ber","id"],["rssi","id"]]}} +{"id":"sensor.modem","name":"Modem Sensor","description":"The `modem` sensor platform reports the signal quality of the [Modem](https://esphome.io/components/modem/), as read with the `AT+CSQ` command.","category":"sensor","docs_url":"https://esphome.io/components/sensor/modem/","image_url":"https://esphome.io/images/modem.svg","dependencies":["modem"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"ber","type":"nested","label":"Ber","description":"The bit error rate in percent: the representative value from 3GPP TS 45.008 for the quality class the modem reports, from `0.14` to `18.10`. Many modems only report it on a GSM connection, so the sensor is unknown on other networks. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/modem/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"modem_id","type":"id","label":"Modem ID","description":"The ID of the [Modem](https://esphome.io/components/modem/) component. Defaults to the configured modem.","display_format":null,"references_component":"modem","help_link":"https://esphome.io/components/sensor/modem/#configuration-variables"},{"key":"rssi","type":"nested","label":"Rssi","description":"The received signal strength in dBm, from `-113` to `-51`. The sensor is unknown when the modem does not know the signal strength. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/modem/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"signal_strength","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"dBm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"none_or_all","keys":["rts_pin","cts_pin"]}],"provides_id_paths":{"sensor":[["ber","id"],["rssi","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.mt6701.json b/esphome_device_builder/definitions/components/sensor.mt6701.json index a9adc16bc8..ffc0e066bc 100644 --- a/esphome_device_builder/definitions/components/sensor.mt6701.json +++ b/esphome_device_builder/definitions/components/sensor.mt6701.json @@ -1 +1 @@ -{"id":"sensor.mt6701","name":"MT6701 14-Bit Magnetic Angle Sensor","description":"The `mt6701` sensor publishes the absolute angle (and, optionally, the raw count) from your MT6701. Set up an [I²C](https://esphome.io/components/sensor/mt6701/#i2c-hub) or [SSI/SPI](https://esphome.io/components/sensor/mt6701/#ssispi-hub) hub first, then add this platform.","category":"sensor","dependencies":["mt6701"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the angle sensor, in degrees (`0`-`360`).","display_format":null},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The publish interval. Each poll also triggers a fresh read of the encoder. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"mt6701_id","type":"id","label":"Mt6701 ID","description":"The ID of the hub to read from.","display_format":null,"references_component":"mt6701"},{"key":"raw_count","type":"nested","label":"Raw Count","description":"The raw 14-bit count, `0`-`16383`.","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this MT6701 hub.","advanced":true},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"provides_id_paths":{"sensor":[["id"],["raw_count","id"]]}} +{"id":"sensor.mt6701","name":"MT6701 14-Bit Magnetic Angle Sensor","description":"The `mt6701` sensor publishes the absolute angle (and, optionally, the raw count) from your MT6701. Set up an [I²C](https://esphome.io/components/sensor/mt6701/#i2c-hub) or [SSI/SPI](https://esphome.io/components/sensor/mt6701/#ssispi-hub) hub first, then add this platform.","category":"sensor","docs_url":"https://esphome.io/components/sensor/mt6701/","image_url":"https://esphome.io/images/mt6701.jpg","dependencies":["mt6701"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the angle sensor, in degrees (`0`-`360`).","display_format":null,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-2"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The publish interval. Each poll also triggers a fresh read of the encoder. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-2","duration_min_unit":"ms"},{"key":"mt6701_id","type":"id","label":"Mt6701 ID","description":"The ID of the hub to read from.","display_format":null,"references_component":"mt6701","help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-2"},{"key":"raw_count","type":"nested","label":"Raw Count","description":"The raw 14-bit count, `0`-`16383`.","display_format":null,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-2","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:rotate-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this MT6701 hub.","advanced":true,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-1"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"provides_id_paths":{"sensor":[["id"],["raw_count","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.opentherm.json b/esphome_device_builder/definitions/components/sensor.opentherm.json index 18f69136fe..f75bd18d8e 100644 --- a/esphome_device_builder/definitions/components/sensor.opentherm.json +++ b/esphome_device_builder/definitions/components/sensor.opentherm.json @@ -1 +1 @@ -{"id":"sensor.opentherm","name":"OpenTherm","description":"The boiler can also report several numerical values, which are available through sensors. Your boiler may not support all of these values, in which case there won't be any value published to that sensor. The following sensors are available:","category":"sensor","docs_url":"https://esphome.io/components/opentherm/","image_url":"https://esphome.io/images/opentherm.png","dependencies":["opentherm"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"burner_operation_hours","type":"nested","label":"Burner Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"burner_starts","type":"nested","label":"Burner Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-burner","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ch_pressure","type":"nested","label":"CH Pressure","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pressure","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"bar","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ch_pump_operation_hours","type":"nested","label":"CH Pump Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ch_pump_starts","type":"nested","label":"CH Pump Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:pump","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"device_id","type":"nested","label":"Device ID","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"device_type","type":"nested","label":"Device Type","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"device_version","type":"nested","label":"Device Version","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_burner_operation_hours","type":"nested","label":"DHW Burner Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_burner_starts","type":"nested","label":"DHW Burner Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-burner","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_flow_rate","type":"nested","label":"DHW Flow Rate","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:waves-arrow-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"L/min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_pump_valve_operation_hours","type":"nested","label":"DHW Pump Valve Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_pump_valve_starts","type":"nested","label":"DHW Pump Valve Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:water-pump","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_speed","type":"nested","label":"Fan Speed","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_speed_setpoint","type":"nested","label":"Fan Speed Setpoint","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"flame_current","type":"nested","label":"Flame Current","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_capacity","type":"nested","label":"Max Capacity","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kW","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_t_set","type":"nested","label":"Max T Set","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_t_set_lb","type":"nested","label":"Max T Set Lb","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_t_set_ub","type":"nested","label":"Max T Set Ub","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"min_mod_level","type":"nested","label":"Min Mod Level","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"oem_diagnostic_code","type":"nested","label":"Oem Diagnostic Code","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"oem_fault_code","type":"nested","label":"Oem Fault Code","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"opentherm_id","type":"id","label":"Opentherm ID","display_format":null,"references_component":"opentherm"},{"key":"opentherm_version_device","type":"nested","label":"Opentherm Version Device","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"otc_hc_ratio_lb","type":"nested","label":"Otc Hc Ratio Lb","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"otc_hc_ratio_ub","type":"nested","label":"Otc Hc Ratio Ub","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rel_mod_level","type":"nested","label":"Rel Mod Level","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_boiler","type":"nested","label":"T Boiler","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_collector","type":"nested","label":"T Collector","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw","type":"nested","label":"T DHW","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw2","type":"nested","label":"T DHW2","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw_set","type":"nested","label":"T DHW Set","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw_set_lb","type":"nested","label":"T DHW Set Lb","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw_set_ub","type":"nested","label":"T DHW Set Ub","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_exhaust","type":"nested","label":"T Exhaust","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_flow_ch2","type":"nested","label":"T Flow CH2","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_outside","type":"nested","label":"T Outside","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_ret","type":"nested","label":"T Ret","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_storage","type":"nested","label":"T Storage","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"s16","value":"s16"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"u16","value":"u16"},{"label":"s8_hb","value":"s8_hb"},{"label":"f88","value":"f88"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["burner_operation_hours","id"],["burner_starts","id"],["ch_pressure","id"],["ch_pump_operation_hours","id"],["ch_pump_starts","id"],["device_id","id"],["device_type","id"],["device_version","id"],["dhw_burner_operation_hours","id"],["dhw_burner_starts","id"],["dhw_flow_rate","id"],["dhw_pump_valve_operation_hours","id"],["dhw_pump_valve_starts","id"],["fan_speed","id"],["fan_speed_setpoint","id"],["flame_current","id"],["max_capacity","id"],["max_t_set","id"],["max_t_set_lb","id"],["max_t_set_ub","id"],["min_mod_level","id"],["oem_diagnostic_code","id"],["oem_fault_code","id"],["opentherm_version_device","id"],["otc_hc_ratio_lb","id"],["otc_hc_ratio_ub","id"],["rel_mod_level","id"],["t_boiler","id"],["t_collector","id"],["t_dhw","id"],["t_dhw2","id"],["t_dhw_set","id"],["t_dhw_set_lb","id"],["t_dhw_set_ub","id"],["t_exhaust","id"],["t_flow_ch2","id"],["t_outside","id"],["t_ret","id"],["t_storage","id"]]}} +{"id":"sensor.opentherm","name":"OpenTherm","description":"The boiler can also report several numerical values, which are available through sensors. Your boiler may not support all of these values, in which case there won't be any value published to that sensor. The following sensors are available:","category":"sensor","docs_url":"https://esphome.io/components/opentherm/","image_url":"https://esphome.io/images/opentherm.png","dependencies":["opentherm"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"burner_operation_hours","type":"nested","label":"Burner Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"burner_starts","type":"nested","label":"Burner Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-burner","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ch_pressure","type":"nested","label":"CH Pressure","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"pressure","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"bar","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ch_pump_operation_hours","type":"nested","label":"CH Pump Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ch_pump_starts","type":"nested","label":"CH Pump Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:pump","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"device_id","type":"nested","label":"Device ID","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"device_type","type":"nested","label":"Device Type","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"device_version","type":"nested","label":"Device Version","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_burner_operation_hours","type":"nested","label":"DHW Burner Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_burner_starts","type":"nested","label":"DHW Burner Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:gas-burner","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_flow_rate","type":"nested","label":"DHW Flow Rate","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:waves-arrow-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"L/min","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_pump_valve_operation_hours","type":"nested","label":"DHW Pump Valve Operation Hours","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:clock-outline","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dhw_pump_valve_starts","type":"nested","label":"DHW Pump Valve Starts","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:water-pump","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_speed","type":"nested","label":"Fan Speed","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fan_speed_setpoint","type":"nested","label":"Fan Speed Setpoint","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"RPM","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"flame_current","type":"nested","label":"Flame Current","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"µA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_capacity","type":"nested","label":"Max Capacity","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kW","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_t_set","type":"nested","label":"Max T Set","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_t_set_lb","type":"nested","label":"Max T Set Lb","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"max_t_set_ub","type":"nested","label":"Max T Set Ub","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"min_mod_level","type":"nested","label":"Min Mod Level","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"oem_diagnostic_code","type":"nested","label":"Oem Diagnostic Code","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"oem_fault_code","type":"nested","label":"Oem Fault Code","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"opentherm_id","type":"id","label":"Opentherm ID","display_format":null,"references_component":"opentherm"},{"key":"opentherm_version_device","type":"nested","label":"Opentherm Version Device","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"otc_hc_ratio_lb","type":"nested","label":"Otc Hc Ratio Lb","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"otc_hc_ratio_ub","type":"nested","label":"Otc Hc Ratio Ub","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rel_mod_level","type":"nested","label":"Rel Mod Level","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:percent","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_boiler","type":"nested","label":"T Boiler","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_collector","type":"nested","label":"T Collector","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw","type":"nested","label":"T DHW","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw2","type":"nested","label":"T DHW2","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw_set","type":"nested","label":"T DHW Set","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw_set_lb","type":"nested","label":"T DHW Set Lb","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_dhw_set_ub","type":"nested","label":"T DHW Set Ub","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_exhaust","type":"nested","label":"T Exhaust","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_flow_ch2","type":"nested","label":"T Flow CH2","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_outside","type":"nested","label":"T Outside","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_ret","type":"nested","label":"T Ret","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"t_storage","type":"nested","label":"T Storage","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"data_type","type":"string","label":"Data Type","options":[{"label":"u8_hb","value":"u8_hb"},{"label":"s8_lb","value":"s8_lb"},{"label":"f88","value":"f88"},{"label":"u8_hb_60","value":"u8_hb_60"},{"label":"s16","value":"s16"},{"label":"u16","value":"u16"},{"label":"u8_lb_60","value":"u8_lb_60"},{"label":"u8_lb","value":"u8_lb"},{"label":"s8_hb","value":"s8_hb"}],"display_format":null,"advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["burner_operation_hours","id"],["burner_starts","id"],["ch_pressure","id"],["ch_pump_operation_hours","id"],["ch_pump_starts","id"],["device_id","id"],["device_type","id"],["device_version","id"],["dhw_burner_operation_hours","id"],["dhw_burner_starts","id"],["dhw_flow_rate","id"],["dhw_pump_valve_operation_hours","id"],["dhw_pump_valve_starts","id"],["fan_speed","id"],["fan_speed_setpoint","id"],["flame_current","id"],["max_capacity","id"],["max_t_set","id"],["max_t_set_lb","id"],["max_t_set_ub","id"],["min_mod_level","id"],["oem_diagnostic_code","id"],["oem_fault_code","id"],["opentherm_version_device","id"],["otc_hc_ratio_lb","id"],["otc_hc_ratio_ub","id"],["rel_mod_level","id"],["t_boiler","id"],["t_collector","id"],["t_dhw","id"],["t_dhw2","id"],["t_dhw_set","id"],["t_dhw_set_lb","id"],["t_dhw_set_ub","id"],["t_exhaust","id"],["t_flow_ch2","id"],["t_outside","id"],["t_ret","id"],["t_storage","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.radon_eye_rd200.json b/esphome_device_builder/definitions/components/sensor.radon_eye_rd200.json index cf31529949..0f756e8acb 100644 --- a/esphome_device_builder/definitions/components/sensor.radon_eye_rd200.json +++ b/esphome_device_builder/definitions/components/sensor.radon_eye_rd200.json @@ -1 +1 @@ -{"id":"sensor.radon_eye_rd200","name":"Radon Eye Rd200","description":"","category":"sensor","docs_url":"https://esphome.io/components/sensor/radon_eye_ble#configuration-example","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"5min","display_format":null,"duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"ID of the associated BLE client.","display_format":null,"references_component":"ble_client","help_link":"https://esphome.io/components/sensor/radon_eye_ble#configuration-example"},{"key":"radon","type":"nested","label":"Radon","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Bq/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radon_long_term","type":"nested","label":"Radon Long Term","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Bq/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["radon","id"],["radon_long_term","id"]]}} +{"id":"sensor.radon_eye_rd200","name":"Radon Eye Rd200","description":"","category":"sensor","docs_url":"https://esphome.io/components/sensor/radon_eye_ble#configuration-example","dependencies":["ble_client"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"5min","display_format":null,"duration_min_unit":"ms"},{"key":"ble_client_id","type":"id","label":"BLE Client ID","description":"ID of the associated BLE client.","display_format":null,"references_component":"ble_client","help_link":"https://esphome.io/components/ble_midi/#configuration-variables"},{"key":"radon","type":"nested","label":"Radon","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Bq/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"radon_long_term","type":"nested","label":"Radon Long Term","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radioactive","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Bq/m³","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"sensor":[["radon","id"],["radon_long_term","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.renogy_inverter_ble.json b/esphome_device_builder/definitions/components/sensor.renogy_inverter_ble.json index 5b3442f2d8..36251d525c 100644 --- a/esphome_device_builder/definitions/components/sensor.renogy_inverter_ble.json +++ b/esphome_device_builder/definitions/components/sensor.renogy_inverter_ble.json @@ -1 +1 @@ -{"id":"sensor.renogy_inverter_ble","name":"Renogy Inverter BLE Sensor","description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","category":"sensor","dependencies":["renogy_inverter_ble"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"load_active_power","type":"nested","label":"Load Active Power","description":"Load active power, in W. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"load_apparent_power","type":"nested","label":"Load Apparent Power","description":"Load apparent power, in VA. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"renogy_inverter_ble_id","type":"id","label":"Renogy Inverter BLE ID","description":"The ID of the `renogy_inverter_ble` hub to read from. Only needed when more than one hub is configured.","display_format":null,"references_component":"renogy_inverter_ble"},{"key":"temperature","type":"nested","label":"Temperature","description":"Inverter temperature, in °C. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_input_voltage","type":"nested","label":"AC Input Voltage","description":"AC input (grid pass-through) voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_output_current","type":"nested","label":"AC Output Current","description":"AC output current, in A. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_output_frequency","type":"nested","label":"AC Output Frequency","description":"AC output frequency, in Hz. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_output_voltage","type":"nested","label":"AC Output Voltage","description":"AC output voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_voltage","type":"nested","label":"Battery Voltage","description":"Battery voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"input_frequency","type":"nested","label":"Input Frequency","description":"AC input (grid) frequency, in Hz. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"load_current","type":"nested","label":"Load Current","description":"Load current, in A. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["ac_input_voltage","id"],["ac_output_current","id"],["ac_output_frequency","id"],["ac_output_voltage","id"],["battery_voltage","id"],["input_frequency","id"],["load_active_power","id"],["load_apparent_power","id"],["load_current","id"],["temperature","id"]]}} +{"id":"sensor.renogy_inverter_ble","name":"Renogy Inverter BLE Sensor","description":"The `renogy_inverter_ble` sensor platform reads live data from a **Renogy inverter with built-in Bluetooth** over Bluetooth Low Energy — for example the **Renogy PUH 12V 3000W Pure Sine Wave Inverter** (with UPS transfer switch, SKU `RIV1230PU-126`) and other units in the `RNGRIU` family.","category":"sensor","docs_url":"https://esphome.io/components/sensor/renogy_inverter_ble/","image_url":"https://esphome.io/images/bluetooth.svg","dependencies":["renogy_inverter_ble"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["sensor"],"config_entries":[{"key":"load_active_power","type":"nested","label":"Load Active Power","description":"Load active power, in W. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"load_apparent_power","type":"nested","label":"Load Apparent Power","description":"Load apparent power, in VA. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"renogy_inverter_ble_id","type":"id","label":"Renogy Inverter BLE ID","description":"The ID of the `renogy_inverter_ble` hub to read from. Only needed when more than one hub is configured.","display_format":null,"references_component":"renogy_inverter_ble","help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables"},{"key":"temperature","type":"nested","label":"Temperature","description":"Inverter temperature, in °C. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_input_voltage","type":"nested","label":"AC Input Voltage","description":"AC input (grid pass-through) voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_output_current","type":"nested","label":"AC Output Current","description":"AC output current, in A. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_output_frequency","type":"nested","label":"AC Output Frequency","description":"AC output frequency, in Hz. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ac_output_voltage","type":"nested","label":"AC Output Voltage","description":"AC output voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"battery_voltage","type":"nested","label":"Battery Voltage","description":"Battery voltage, in V. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"input_frequency","type":"nested","label":"Input Frequency","description":"AC input (grid) frequency, in Hz. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"load_current","type":"nested","label":"Load Current","description":"Load current, in A. All options from [Sensor](https://esphome.io/components/sensor/#config-sensor).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/renogy_inverter_ble/#sensor-configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["ac_input_voltage","id"],["ac_output_current","id"],["ac_output_frequency","id"],["ac_output_voltage","id"],["battery_voltage","id"],["input_frequency","id"],["load_active_power","id"],["load_apparent_power","id"],["load_current","id"],["temperature","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.selec_meter.json b/esphome_device_builder/definitions/components/sensor.selec_meter.json index 089f310a6a..dfc933fe39 100644 --- a/esphome_device_builder/definitions/components/sensor.selec_meter.json +++ b/esphome_device_builder/definitions/components/sensor.selec_meter.json @@ -1 +1 @@ -{"id":"sensor.selec_meter","name":"Selec Energy Monitor","description":"The `selec_meter` sensor platform allows you to use Selec Modbus energy monitors with ESPHome. Two models are supported, selected with the `model` option:","category":"sensor","docs_url":"https://esphome.io/components/sensor/selec_meter/","image_url":"https://esphome.io/images/selec_meter_em2m.jpg","dependencies":["modbus"],"multi_conf":true,"provides":["binary_sensor","sensor","text_sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","default_value":"em2m","options":[{"label":"em2m","value":"em2m"},{"label":"em4m","value":"em4m"}],"display_format":null},{"key":"address","type":"integer","label":"Address","description":"The address of the sensor if multiple sensors are attached to the same UART bus. You will need to set the address of each device manually. Defaults to `1`.","default_value":"1","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `10s`.","default_value":"10s","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","duration_min_unit":"ms"},{"key":"active_power","type":"nested","label":"Active Power","description":"Use the (active) power value of the sensor in watts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Use the apparent energy value of the sensor in kilo volt amps hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em2m"]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Use the apparent power value of the sensor in VA. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"average_voltage_ll","type":"nested","label":"Average Voltage Ll","description":"Average line-to-line voltage, in volts.","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"current","type":"nested","label":"Current","description":"Use the current value of the sensor in amperes. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dg_sensing","type":"nested","label":"Dg Sensing","description":"Whether the DG (generator) source is currently sensed, as a [Binary Sensor](https://esphome.io/components/binary_sensor/). All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Use the export active energy value of the sensor in kilo watt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Use the export reactive energy value of the sensor in kilo volt amps reactive hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"frequency","type":"nested","label":"Frequency","description":"Use the frequency value of the sensor in hertz. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:current-ac","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Use the import active energy value of the sensor in kilo watt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Use the import reactive energy value of the sensor in kilo volt amps reactive hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"maximum_demand_active_power","type":"nested","label":"Maximum Demand Active Power","description":"Use the maximum demand (active) power value of the sensor in watts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"maximum_demand_apparent_power","type":"nested","label":"Maximum Demand Apparent Power","description":"Use the maximum demand apparent power value of the sensor in VA. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"maximum_demand_reactive_power","type":"nested","label":"Maximum Demand Reactive Power","description":"Use the maximum demand reactive power value of the sensor in VAR. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"modbus_id","type":"id","label":"Modbus ID","display_format":null,"references_component":"modbus","references_class":"modbus::ModbusClientHub"},{"key":"net_active_energy_dg","type":"nested","label":"Net Active Energy Dg","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_active_energy_mains","type":"nested","label":"Net Active Energy Mains","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_apparent_energy_dg","type":"nested","label":"Net Apparent Energy Dg","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_apparent_energy_mains","type":"nested","label":"Net Apparent Energy Mains","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_reactive_energy_dg","type":"nested","label":"Net Reactive Energy Dg","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_reactive_energy_mains","type":"nested","label":"Net Reactive Energy Mains","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Use the power factor value of the sensor. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Use the reactive power value of the sensor in VAR. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"serial_number","type":"nested","label":"Serial Number","description":"Exposes the meter's serial number as a [Text Sensor](https://esphome.io/components/text_sensor/). All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"total_active_energy","type":"nested","label":"Total Active Energy","description":"Use the total active energy value of the sensor in kilo watt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em2m"]},{"key":"total_reactive_energy","type":"nested","label":"Total Reactive Energy","description":"Use the total reactive energy value of the sensor in kilo volt amps reactive hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em2m"]},{"key":"voltage","type":"nested","label":"Voltage","description":"Use the voltage value of the sensor in volts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage_l12","type":"nested","label":"Voltage L12","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"voltage_l23","type":"nested","label":"Voltage L23","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"voltage_l31","type":"nested","label":"Voltage L31","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"byte_order","type":"string","label":"Byte Order","description":"The order of the two 16-bit Modbus registers that make up each value, one of `big_endian` (high word first, ABCD) or `little_endian` (low word first, CDAB). Only the two words are swapped; the bytes inside each word are not reversed. The meter's own names `msrf` (same as `big_endian`) and `lsrf` (same as `little_endian`) are also accepted. This must match the meter's own \"Endianness Selection\" setting. If not set, it defaults to the factory default for the selected `model`: `little_endian` for EM2M, `big_endian` for EM4M.","default_value":"little_endian","options":[{"label":"big_endian","value":"big_endian"},{"label":"little_endian","value":"little_endian"},{"label":"msrf","value":"msrf"},{"label":"lsrf","value":"lsrf"}],"display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","depends_on_value_any":["em2m"]},{"key":"byte_order","type":"string","label":"Byte Order","description":"The order of the two 16-bit Modbus registers that make up each value, one of `big_endian` (high word first, ABCD) or `little_endian` (low word first, CDAB). Only the two words are swapped; the bytes inside each word are not reversed. The meter's own names `msrf` (same as `big_endian`) and `lsrf` (same as `little_endian`) are also accepted. This must match the meter's own \"Endianness Selection\" setting. If not set, it defaults to the factory default for the selected `model`: `little_endian` for EM2M, `big_endian` for EM4M.","default_value":"big_endian","options":[{"label":"big_endian","value":"big_endian"},{"label":"little_endian","value":"little_endian"},{"label":"msrf","value":"msrf"},{"label":"lsrf","value":"lsrf"}],"display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","depends_on_value_any":["em4m"]},{"key":"phase_a","type":"nested","label":"Phase A","description":"The group of exposed sensors for phase A (L1).","display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","config_entries":[{"key":"active_power","type":"nested","label":"Active Power","description":"Active power, in watts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Apparent energy, in kilo volt amps hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Apparent power, in VA.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Current, in amperes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Export active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Export reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Import active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Import reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Power factor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Reactive power, in VAR.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Line-to-neutral voltage, in volts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"depends_on_value_any":["em4m"]},{"key":"phase_b","type":"nested","label":"Phase B","description":"The group of exposed sensors for phase B (L2).","display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","config_entries":[{"key":"active_power","type":"nested","label":"Active Power","description":"Active power, in watts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Apparent energy, in kilo volt amps hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Apparent power, in VA.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Current, in amperes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Export active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Export reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Import active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Import reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Power factor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Reactive power, in VAR.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Line-to-neutral voltage, in volts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"depends_on_value_any":["em4m"]},{"key":"phase_c","type":"nested","label":"Phase C","description":"The group of exposed sensors for phase C (L3).","display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","config_entries":[{"key":"active_power","type":"nested","label":"Active Power","description":"Active power, in watts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Apparent energy, in kilo volt amps hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Apparent power, in VA.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Current, in amperes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Export active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Export reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Import active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Import reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Power factor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Reactive power, in VAR.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Line-to-neutral voltage, in volts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"depends_on_value_any":["em4m"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"binary_sensor":[["dg_sensing","id"]],"sensor":[["active_power","id"],["apparent_energy","id"],["apparent_power","id"],["average_voltage_ll","id"],["current","id"],["export_active_energy","id"],["export_reactive_energy","id"],["frequency","id"],["import_active_energy","id"],["import_reactive_energy","id"],["maximum_demand_active_power","id"],["maximum_demand_apparent_power","id"],["maximum_demand_reactive_power","id"],["net_active_energy_dg","id"],["net_active_energy_mains","id"],["net_apparent_energy_dg","id"],["net_apparent_energy_mains","id"],["net_reactive_energy_dg","id"],["net_reactive_energy_mains","id"],["phase_a","active_power","id"],["phase_a","apparent_energy","id"],["phase_a","apparent_power","id"],["phase_a","current","id"],["phase_a","export_active_energy","id"],["phase_a","export_reactive_energy","id"],["phase_a","import_active_energy","id"],["phase_a","import_reactive_energy","id"],["phase_a","power_factor","id"],["phase_a","reactive_power","id"],["phase_a","voltage","id"],["phase_b","active_power","id"],["phase_b","apparent_energy","id"],["phase_b","apparent_power","id"],["phase_b","current","id"],["phase_b","export_active_energy","id"],["phase_b","export_reactive_energy","id"],["phase_b","import_active_energy","id"],["phase_b","import_reactive_energy","id"],["phase_b","power_factor","id"],["phase_b","reactive_power","id"],["phase_b","voltage","id"],["phase_c","active_power","id"],["phase_c","apparent_energy","id"],["phase_c","apparent_power","id"],["phase_c","current","id"],["phase_c","export_active_energy","id"],["phase_c","export_reactive_energy","id"],["phase_c","import_active_energy","id"],["phase_c","import_reactive_energy","id"],["phase_c","power_factor","id"],["phase_c","reactive_power","id"],["phase_c","voltage","id"],["power_factor","id"],["reactive_power","id"],["total_active_energy","id"],["total_reactive_energy","id"],["voltage","id"],["voltage_l12","id"],["voltage_l23","id"],["voltage_l31","id"]],"text_sensor":[["serial_number","id"]]}} +{"id":"sensor.selec_meter","name":"Selec Energy Monitor","description":"The `selec_meter` sensor platform allows you to use Selec Modbus energy monitors with ESPHome. Two models are supported, selected with the `model` option:","category":"sensor","docs_url":"https://esphome.io/components/sensor/selec_meter/","image_url":"https://esphome.io/images/selec_meter_em2m.jpg","dependencies":["modbus"],"multi_conf":true,"provides":["binary_sensor","sensor","text_sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","default_value":"em2m","options":[{"label":"em2m","value":"em2m"},{"label":"em4m","value":"em4m"}],"display_format":null},{"key":"address","type":"integer","label":"Address","description":"The address of the sensor if multiple sensors are attached to the same UART bus. You will need to set the address of each device manually. Defaults to `1`.","default_value":"1","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `10s`.","default_value":"10s","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","duration_min_unit":"ms"},{"key":"active_power","type":"nested","label":"Active Power","description":"Use the (active) power value of the sensor in watts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Use the apparent energy value of the sensor in kilo volt amps hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em2m"]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Use the apparent power value of the sensor in VA. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"average_voltage_ll","type":"nested","label":"Average Voltage Ll","description":"Average line-to-line voltage, in volts.","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"current","type":"nested","label":"Current","description":"Use the current value of the sensor in amperes. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"dg_sensing","type":"nested","label":"Dg Sensing","description":"Whether the DG (generator) source is currently sensed, as a [Binary Sensor](https://esphome.io/components/binary_sensor/). All options from [Binary Sensor](https://esphome.io/components/binary_sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"binary_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the binary sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"zigbee_binary_sensor","type":"id","label":"Zigbee Binary Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the binary sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/binary_sensor/#device-class](https://www.home-assistant.io/integrations/binary_sensor/#device-class) for a list of available options.","options":[{"label":"battery","value":"battery"},{"label":"battery_charging","value":"battery_charging"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"cold","value":"cold"},{"label":"connectivity","value":"connectivity"},{"label":"door","value":"door"},{"label":"(none)","value":""},{"label":"garage_door","value":"garage_door"},{"label":"gas","value":"gas"},{"label":"glass_break","value":"glass_break"},{"label":"heat","value":"heat"},{"label":"light","value":"light"},{"label":"lock","value":"lock"},{"label":"moisture","value":"moisture"},{"label":"motion","value":"motion"},{"label":"moving","value":"moving"},{"label":"occupancy","value":"occupancy"},{"label":"opening","value":"opening"},{"label":"plug","value":"plug"},{"label":"power","value":"power"},{"label":"presence","value":"presence"},{"label":"problem","value":"problem"},{"label":"running","value":"running"},{"label":"safety","value":"safety"},{"label":"smoke","value":"smoke"},{"label":"sound","value":"sound"},{"label":"tamper","value":"tamper"},{"label":"update","value":"update"},{"label":"vibration","value":"vibration"},{"label":"window","value":"window"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","description":"A list of filters to apply on the binary sensor values such as inverting signals. See [Binary Sensor Filters](https://esphome.io/components/binary_sensor/#binary-sensor-filters).","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"publish_initial_state","type":"string","label":"Publish Initial State","display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"trigger_on_initial_state","type":"boolean","label":"Trigger On Initial State","description":"If true, any applicable triggers will be fired when the binary sensor state changes from `unknown` to a valid state. This applies to the first valid state set, and any valid state set after a `binary_sensor.invalidate_state` action has been executed. The default is `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/binary_sensor/#base-binary-sensor-configuration"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Use the export active energy value of the sensor in kilo watt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Use the export reactive energy value of the sensor in kilo volt amps reactive hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"frequency","type":"nested","label":"Frequency","description":"Use the frequency value of the sensor in hertz. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:current-ac","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"frequency","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"Hz","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Use the import active energy value of the sensor in kilo watt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Use the import reactive energy value of the sensor in kilo volt amps reactive hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"maximum_demand_active_power","type":"nested","label":"Maximum Demand Active Power","description":"Use the maximum demand (active) power value of the sensor in watts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"maximum_demand_apparent_power","type":"nested","label":"Maximum Demand Apparent Power","description":"Use the maximum demand apparent power value of the sensor in VA. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"maximum_demand_reactive_power","type":"nested","label":"Maximum Demand Reactive Power","description":"Use the maximum demand reactive power value of the sensor in VAR. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"modbus_id","type":"id","label":"Modbus ID","display_format":null,"references_component":"modbus","references_class":"modbus::ModbusClientHub"},{"key":"net_active_energy_dg","type":"nested","label":"Net Active Energy Dg","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_active_energy_mains","type":"nested","label":"Net Active Energy Mains","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_apparent_energy_dg","type":"nested","label":"Net Apparent Energy Dg","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_apparent_energy_mains","type":"nested","label":"Net Apparent Energy Mains","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_reactive_energy_dg","type":"nested","label":"Net Reactive Energy Dg","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"net_reactive_energy_mains","type":"nested","label":"Net Reactive Energy Mains","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Use the power factor value of the sensor. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Use the reactive power value of the sensor in VAR. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"serial_number","type":"nested","label":"Serial Number","description":"Exposes the meter's serial number as a [Text Sensor](https://esphome.io/components/text_sensor/). All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"total_active_energy","type":"nested","label":"Total Active Energy","description":"Use the total active energy value of the sensor in kilo watt hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em2m"]},{"key":"total_reactive_energy","type":"nested","label":"Total Reactive Energy","description":"Use the total reactive energy value of the sensor in kilo volt amps reactive hours. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"depends_on":"model","help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em2m"]},{"key":"voltage","type":"nested","label":"Voltage","description":"Use the voltage value of the sensor in volts. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage_l12","type":"nested","label":"Voltage L12","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"voltage_l23","type":"nested","label":"Voltage L23","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"voltage_l31","type":"nested","label":"Voltage L31","display_format":null,"depends_on":"model","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"depends_on_value_any":["em4m"]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"byte_order","type":"string","label":"Byte Order","description":"The order of the two 16-bit Modbus registers that make up each value, one of `big_endian` (high word first, ABCD) or `little_endian` (low word first, CDAB). Only the two words are swapped; the bytes inside each word are not reversed. The meter's own names `msrf` (same as `big_endian`) and `lsrf` (same as `little_endian`) are also accepted. This must match the meter's own \"Endianness Selection\" setting. If not set, it defaults to the factory default for the selected `model`: `little_endian` for EM2M, `big_endian` for EM4M.","default_value":"little_endian","options":[{"label":"big_endian","value":"big_endian"},{"label":"little_endian","value":"little_endian"},{"label":"msrf","value":"msrf"},{"label":"lsrf","value":"lsrf"}],"display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","depends_on_value_any":["em2m"]},{"key":"byte_order","type":"string","label":"Byte Order","description":"The order of the two 16-bit Modbus registers that make up each value, one of `big_endian` (high word first, ABCD) or `little_endian` (low word first, CDAB). Only the two words are swapped; the bytes inside each word are not reversed. The meter's own names `msrf` (same as `big_endian`) and `lsrf` (same as `little_endian`) are also accepted. This must match the meter's own \"Endianness Selection\" setting. If not set, it defaults to the factory default for the selected `model`: `little_endian` for EM2M, `big_endian` for EM4M.","default_value":"big_endian","options":[{"label":"big_endian","value":"big_endian"},{"label":"little_endian","value":"little_endian"},{"label":"msrf","value":"msrf"},{"label":"lsrf","value":"lsrf"}],"display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#configuration-variables","depends_on_value_any":["em4m"]},{"key":"phase_a","type":"nested","label":"Phase A","description":"The group of exposed sensors for phase A (L1).","display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","config_entries":[{"key":"active_power","type":"nested","label":"Active Power","description":"Active power, in watts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Apparent energy, in kilo volt amps hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Apparent power, in VA.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Current, in amperes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Export active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Export reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Import active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Import reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Power factor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Reactive power, in VAR.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Line-to-neutral voltage, in volts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"depends_on_value_any":["em4m"]},{"key":"phase_b","type":"nested","label":"Phase B","description":"The group of exposed sensors for phase B (L2).","display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","config_entries":[{"key":"active_power","type":"nested","label":"Active Power","description":"Active power, in watts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Apparent energy, in kilo volt amps hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Apparent power, in VA.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Current, in amperes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Export active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Export reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Import active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Import reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Power factor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Reactive power, in VAR.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Line-to-neutral voltage, in volts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"depends_on_value_any":["em4m"]},{"key":"phase_c","type":"nested","label":"Phase C","description":"The group of exposed sensors for phase C (L3).","display_format":null,"depends_on":"model","advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","config_entries":[{"key":"active_power","type":"nested","label":"Active Power","description":"Active power, in watts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"W","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_energy","type":"nested","label":"Apparent Energy","description":"Apparent energy, in kilo volt amps hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kVAh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"apparent_power","type":"nested","label":"Apparent Power","description":"Apparent power, in VA.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"apparent_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"VA","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"current","type":"nested","label":"Current","description":"Current, in amperes.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_active_energy","type":"nested","label":"Export Active Energy","description":"Export active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"export_reactive_energy","type":"nested","label":"Export Reactive Energy","description":"Export reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_active_energy","type":"nested","label":"Import Active Energy","description":"Import active energy, in kilo watt hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"energy","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kWh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"import_reactive_energy","type":"nested","label":"Import Reactive Energy","description":"Import reactive energy, in kilo volt amps reactive hours.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"kvarh","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"power_factor","type":"nested","label":"Power Factor","description":"Power factor.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"power_factor","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"reactive_power","type":"nested","label":"Reactive Power","description":"Reactive power, in VAR.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"reactive_power","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"var","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voltage","type":"nested","label":"Voltage","description":"Line-to-neutral voltage, in volts.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/selec_meter/#em4m-options","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"voltage","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"V","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"depends_on_value_any":["em4m"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"binary_sensor":[["dg_sensing","id"]],"sensor":[["active_power","id"],["apparent_energy","id"],["apparent_power","id"],["average_voltage_ll","id"],["current","id"],["export_active_energy","id"],["export_reactive_energy","id"],["frequency","id"],["import_active_energy","id"],["import_reactive_energy","id"],["maximum_demand_active_power","id"],["maximum_demand_apparent_power","id"],["maximum_demand_reactive_power","id"],["net_active_energy_dg","id"],["net_active_energy_mains","id"],["net_apparent_energy_dg","id"],["net_apparent_energy_mains","id"],["net_reactive_energy_dg","id"],["net_reactive_energy_mains","id"],["phase_a","active_power","id"],["phase_a","apparent_energy","id"],["phase_a","apparent_power","id"],["phase_a","current","id"],["phase_a","export_active_energy","id"],["phase_a","export_reactive_energy","id"],["phase_a","import_active_energy","id"],["phase_a","import_reactive_energy","id"],["phase_a","power_factor","id"],["phase_a","reactive_power","id"],["phase_a","voltage","id"],["phase_b","active_power","id"],["phase_b","apparent_energy","id"],["phase_b","apparent_power","id"],["phase_b","current","id"],["phase_b","export_active_energy","id"],["phase_b","export_reactive_energy","id"],["phase_b","import_active_energy","id"],["phase_b","import_reactive_energy","id"],["phase_b","power_factor","id"],["phase_b","reactive_power","id"],["phase_b","voltage","id"],["phase_c","active_power","id"],["phase_c","apparent_energy","id"],["phase_c","apparent_power","id"],["phase_c","current","id"],["phase_c","export_active_energy","id"],["phase_c","export_reactive_energy","id"],["phase_c","import_active_energy","id"],["phase_c","import_reactive_energy","id"],["phase_c","power_factor","id"],["phase_c","reactive_power","id"],["phase_c","voltage","id"],["power_factor","id"],["reactive_power","id"],["total_active_energy","id"],["total_reactive_energy","id"],["voltage","id"],["voltage_l12","id"],["voltage_l23","id"],["voltage_l31","id"]],"text_sensor":[["serial_number","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.tmc2209.json b/esphome_device_builder/definitions/components/sensor.tmc2209.json index d09a6cf7f3..6b7e7a0ddc 100644 --- a/esphome_device_builder/definitions/components/sensor.tmc2209.json +++ b/esphome_device_builder/definitions/components/sensor.tmc2209.json @@ -1 +1 @@ -{"id":"sensor.tmc2209","name":"TMC2209 Stepper Motor Driver","description":"The `tmc2209` sensor platform reads the motor current, the StallGuard load measurement and the StealthChop regulation values from the driver.","category":"sensor","dependencies":["tmc2209"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensors. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"actual_current","type":"nested","label":"Actual Current","description":"The motor current the driver is set to, in A RMS. This is the run current or the hold current, lowered by CoolStep when it is active. Cannot be used when `analog_current_scale` is `true`, because the current then depends on the voltage on `VREF`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"motor_load","type":"nested","label":"Motor Load","description":"The StallGuard result as a load in percent. `0%` is a result of `510` (no load) and `100%` is twice the StallGuard `threshold`, where a stall is reported. Values above `100%` are possible. Only valid while the motor runs in StealthChop mode. Has no value while the motor is stopped. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"tmc2209_id","type":"id","label":"Tmc2209 ID","description":"The ID of the TMC2209 stepper. Required if you have multiple TMC2209 drivers.","display_format":null,"references_component":"tmc2209"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"pwm_grad_auto","type":"nested","label":"PWM Grad Auto","description":"The PWM amplitude gradient determined by the StealthChop automatic tuning, `0` to `255`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pwm_ofs_auto","type":"nested","label":"PWM Ofs Auto","description":"The PWM amplitude offset determined by the StealthChop automatic tuning, `0` to `255`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pwm_scale_auto","type":"nested","label":"PWM Scale Auto","description":"The offset that the StealthChop automatic current regulation adds to the PWM amplitude, `-255` to `255`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pwm_scale_sum","type":"nested","label":"PWM Scale Sum","description":"The StealthChop PWM duty cycle, `0` to `255`. A value close to `255` means that the supply voltage is too low to reach the motor current at this speed. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"stallguard_result","type":"nested","label":"Stallguard Result","description":"The StallGuard result, `0` to `510`. A lower value means a higher load. Only valid while the motor runs in StealthChop mode. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"exactly_one","keys":["index_pin","step_pin"]},{"kind":"none_or_all","keys":["step_pin","dir_pin"]}],"provides_id_paths":{"sensor":[["actual_current","id"],["motor_load","id"],["pwm_grad_auto","id"],["pwm_ofs_auto","id"],["pwm_scale_auto","id"],["pwm_scale_sum","id"],["stallguard_result","id"]]}} +{"id":"sensor.tmc2209","name":"TMC2209 Stepper Motor Driver","description":"The `tmc2209` sensor platform reads the motor current, the StallGuard load measurement and the StealthChop regulation values from the driver.","category":"sensor","docs_url":"https://esphome.io/components/stepper/tmc2209/","image_url":"https://esphome.io/images/badges/tmc2209.svg","dependencies":["tmc2209"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to read the sensors. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","duration_min_unit":"ms"},{"key":"actual_current","type":"nested","label":"Actual Current","description":"The motor current the driver is set to, in A RMS. This is the run current or the hold current, lowered by CoolStep when it is active. Cannot be used when `analog_current_scale` is `true`, because the current then depends on the voltage on `VREF`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"current","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"A","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"2","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"motor_load","type":"nested","label":"Motor Load","description":"The StallGuard result as a load in percent. `0%` is a result of `510` (no load) and `100%` is twice the StallGuard `threshold`, where a stall is reported. Values above `100%` are possible. Only valid while the motor runs in StealthChop mode. Has no value while the motor is stopped. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"tmc2209_id","type":"id","label":"Tmc2209 ID","description":"The ID of the TMC2209 stepper. Required if you have multiple TMC2209 drivers.","display_format":null,"references_component":"tmc2209","help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1"},{"key":"id","type":"id","label":"ID","description":"The ID of the stepper.","advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"pwm_grad_auto","type":"nested","label":"PWM Grad Auto","description":"The PWM amplitude gradient determined by the StealthChop automatic tuning, `0` to `255`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pwm_ofs_auto","type":"nested","label":"PWM Ofs Auto","description":"The PWM amplitude offset determined by the StealthChop automatic tuning, `0` to `255`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pwm_scale_auto","type":"nested","label":"PWM Scale Auto","description":"The offset that the StealthChop automatic current regulation adds to the PWM amplitude, `-255` to `255`. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"pwm_scale_sum","type":"nested","label":"PWM Scale Sum","description":"The StealthChop PWM duty cycle, `0` to `255`. A value close to `255` means that the supply voltage is too low to reach the motor current at this speed. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"stallguard_result","type":"nested","label":"Stallguard Result","description":"The StallGuard result, `0` to `510`. A lower value means a higher load. Only valid while the motor runs in StealthChop mode. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"exactly_one","keys":["index_pin","step_pin"]},{"kind":"none_or_all","keys":["step_pin","dir_pin"]}],"provides_id_paths":{"sensor":[["actual_current","id"],["motor_load","id"],["pwm_grad_auto","id"],["pwm_ofs_auto","id"],["pwm_scale_auto","id"],["pwm_scale_sum","id"],["stallguard_result","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.tmp102.json b/esphome_device_builder/definitions/components/sensor.tmp102.json index 65fc73c899..f3623af06f 100644 --- a/esphome_device_builder/definitions/components/sensor.tmp102.json +++ b/esphome_device_builder/definitions/components/sensor.tmp102.json @@ -1 +1 @@ -{"id":"sensor.tmp102","name":"TMP102 Temperature Sensor","description":"The TMP102 temperature sensor allows you to use [Texas Instruments TMP102](https://www.ti.com/product/TMP102) and LM75 sensors with ESPHome. TMP102 breakout boards are available from [SparkFun](https://www.sparkfun.com/products/13314). The [I²C Bus](https://esphome.io/components/i2c/) must be configured first.","category":"sensor","docs_url":"https://esphome.io/components/sensor/tmp102/","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["i2c"],"multi_conf":true,"provides":["tmp102"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The I²C address. Defaults to `0x48`. TMP102 supports `0x48` through `0x4B`, selected by the ADD0 pin.","default_value":"72","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/tmp102/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often ESPHome reads the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/tmp102/#configuration-variables","duration_min_unit":"ms"},{"key":"temperature_high","type":"float_with_unit","label":"Temperature High","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.\n\nHigh threshold number.","display_format":null,"help_link":"https://esphome.io/components/sensor/tmp102/","unit_options":["°C","°F","K"]},{"key":"temperature_low","type":"float_with_unit","label":"Temperature Low","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.\n\nLow threshold number.","display_format":null,"help_link":"https://esphome.io/components/sensor/tmp102/","unit_options":["°C","°F","K"]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the sensor ID. Use this when another TMP102 platform must select one of multiple TMP102 sensors.","advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#configuration-variables"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"alert_polarity","type":"string","label":"Alert Polarity","description":"ALERT pin polarity, `active_low` or `active_high`. Defaults to `active_low`.","options":[{"label":"active_low","value":"active_low"},{"label":"active_high","value":"active_high"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"conversion_rate","type":"string","label":"Conversion Rate","description":"Chip conversion rate: `0.25Hz`, `1Hz`, `4Hz`, or `8Hz`. Defaults to `4Hz`. This is independent of `update_interval`.","options":[{"label":"0.25Hz","value":"0.25Hz"},{"label":"1Hz","value":"1Hz"},{"label":"4Hz","value":"4Hz"},{"label":"8Hz","value":"8Hz"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"extended_mode","type":"boolean","label":"Extended Mode","description":"Use the 13-bit temperature format. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/"},{"key":"fault_queue","type":"integer","label":"Fault Queue","description":"Consecutive fault conversions required before ALERT changes: `1`, `2`, `4`, or `6`. Defaults to `1`.","options":[{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"4","value":"4"},{"label":"6","value":"6"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"one_shot_mode","type":"boolean","label":"One Shot Mode","description":"Keep the chip in shutdown between readings and trigger one conversion per update. The thresholds are then compared only once per `update_interval`, so ALERT can lag a crossing by up to `fault_queue` intervals, and `conversion_rate` has no effect. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"thermostat_mode","type":"string","label":"Thermostat Mode","description":"How the ALERT pin behaves. In `comparator` mode ALERT asserts when the temperature reaches `temperature_high` and clears when it falls below `temperature_low`. In `interrupt` mode ALERT asserts on crossing either threshold and stays asserted until a register is read; because ESPHome reads the chip on every update, the pin clears at the next `update_interval` at the latest. Defaults to `comparator`.","options":[{"label":"comparator","value":"comparator"},{"label":"interrupt","value":"interrupt"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}]} +{"id":"sensor.tmp102","name":"TMP102 Temperature Sensor","description":"The TMP102 temperature sensor allows you to use [Texas Instruments TMP102](https://www.ti.com/product/TMP102) and LM75 sensors with ESPHome. TMP102 breakout boards are available from [SparkFun](https://www.sparkfun.com/products/13314). The [I²C Bus](https://esphome.io/components/i2c/) must be configured first.","category":"sensor","docs_url":"https://esphome.io/components/sensor/tmp102/","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["i2c"],"multi_conf":true,"provides":["tmp102"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The I²C address. Defaults to `0x48`. TMP102 supports `0x48` through `0x4B`, selected by the ADD0 pin.","default_value":"72","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/tmp102/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often ESPHome reads the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/tmp102/#configuration-variables","duration_min_unit":"ms"},{"key":"temperature_high","type":"float_with_unit","label":"Temperature High","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.\n\nHigh threshold number.","display_format":null,"help_link":"https://esphome.io/components/sensor/tmp102/#number-configuration-variables","unit_options":["°C","°F","K"]},{"key":"temperature_low","type":"float_with_unit","label":"Temperature Low","description":"**Required — set at least one of:** `temperature_high`, `temperature_low`.\n\nLow threshold number.","display_format":null,"help_link":"https://esphome.io/components/sensor/tmp102/#number-configuration-variables","unit_options":["°C","°F","K"]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the sensor ID. Use this when another TMP102 platform must select one of multiple TMP102 sensors.","advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#configuration-variables"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"alert_polarity","type":"string","label":"Alert Polarity","description":"ALERT pin polarity, `active_low` or `active_high`. Defaults to `active_low`.","options":[{"label":"active_low","value":"active_low"},{"label":"active_high","value":"active_high"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#optional-hardware-settings"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"conversion_rate","type":"string","label":"Conversion Rate","description":"Chip conversion rate: `0.25Hz`, `1Hz`, `4Hz`, or `8Hz`. Defaults to `4Hz`. This is independent of `update_interval`.","options":[{"label":"0.25Hz","value":"0.25Hz"},{"label":"1Hz","value":"1Hz"},{"label":"4Hz","value":"4Hz"},{"label":"8Hz","value":"8Hz"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#optional-hardware-settings"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"extended_mode","type":"boolean","label":"Extended Mode","description":"Use the 13-bit temperature format. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#optional-hardware-settings"},{"key":"fault_queue","type":"integer","label":"Fault Queue","description":"Consecutive fault conversions required before ALERT changes: `1`, `2`, `4`, or `6`. Defaults to `1`.","options":[{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"4","value":"4"},{"label":"6","value":"6"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#optional-hardware-settings"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"one_shot_mode","type":"boolean","label":"One Shot Mode","description":"Keep the chip in shutdown between readings and trigger one conversion per update. The thresholds are then compared only once per `update_interval`, so ALERT can lag a crossing by up to `fault_queue` intervals, and `conversion_rate` has no effect. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#optional-hardware-settings"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"thermostat_mode","type":"string","label":"Thermostat Mode","description":"How the ALERT pin behaves. In `comparator` mode ALERT asserts when the temperature reaches `temperature_high` and clears when it falls below `temperature_low`. In `interrupt` mode ALERT asserts on crossing either threshold and stays asserted until a register is read; because ESPHome reads the chip on every update, the pin clears at the next `update_interval` at the latest. Defaults to `comparator`.","options":[{"label":"comparator","value":"comparator"},{"label":"interrupt","value":"interrupt"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/tmp102/#optional-hardware-settings"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}]} diff --git a/esphome_device_builder/definitions/components/sensor.veml6040.json b/esphome_device_builder/definitions/components/sensor.veml6040.json index 916c770458..907261eb32 100644 --- a/esphome_device_builder/definitions/components/sensor.veml6040.json +++ b/esphome_device_builder/definitions/components/sensor.veml6040.json @@ -1 +1 @@ -{"id":"sensor.veml6040","name":"VEML6040 RGBW Color Sensor","description":"The `veml6040` sensor platform allows you to use the Vishay VEML6040 RGBW color sensor with ESPHome. It reports the red, green, blue and white channels, illuminance and correlated color temperature. Communication with the device is over [I²C](https://esphome.io/components/i2c/), which must be present in your configuration.","category":"sensor","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x10`.","default_value":"16","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C bus](https://esphome.io/components/i2c/) to use, if you have more than one.","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"color_temperature","type":"nested","label":"Color Temperature","description":"Correlated color temperature in kelvin. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"K","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Illuminance in lux. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"blue_channel","type":"nested","label":"Blue Channel","description":"Raw count of the blue channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"color_temperature_offset","type":"float","label":"Color Temperature Offset","description":"The offset in the color temperature formula `CCT = 4278.6 × ((R − B) / G + offset) ^ −1.2455`. Vishay gives `0.5` for a sensor in open air and notes that the value changes behind cover glass. To tune it, compare the reported color temperature with a reference meter or a light source of known color temperature, and adjust the offset until they match. Defaults to `0.5`.","default_value":"0.5","display_format":null,"advanced":true},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"Corrects the illuminance for light lost when the sensor is behind glass or another cover. The value is the inverse of the cover's transmission; for example, a cover that passes 50% of the light needs a factor of `2`. Defaults to `1.0` (no cover). Must be at least `1.0`. It does not affect color temperature; use `color_temperature_offset` for that.","default_value":"1.0","display_format":null,"advanced":true},{"key":"green_channel","type":"nested","label":"Green Channel","description":"Raw count of the green channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"integration_time","type":"time_period","label":"Integration Time","description":"The time the device uses for each measurement. Longer times give more resolution in low light, but the sensor saturates at a lower light level. It must be one of: | Integration time | Lux per count | Maximum lux | | ------------------- | ------------- | ----------- | | `40ms` | 0.25168 | 16496 | | `80ms` | 0.12584 | 8248 | | `160ms` *(default)* | 0.06292 | 4124 | | `320ms` | 0.03146 | 2062 | | `640ms` | 0.01573 | 1031 | | `1280ms` | 0.007865 | 515.4 |","default_value":"160ms","options":[{"label":"40ms","value":"40ms"},{"label":"80ms","value":"80ms"},{"label":"160ms","value":"160ms"},{"label":"320ms","value":"320ms"},{"label":"640ms","value":"640ms"},{"label":"1280ms","value":"1280ms"}],"display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"red_channel","type":"nested","label":"Red Channel","description":"Raw count of the red channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"white_channel","type":"nested","label":"White Channel","description":"Raw count of the white channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["blue_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"],["white_channel","id"]]}} +{"id":"sensor.veml6040","name":"VEML6040 RGBW Color Sensor","description":"The `veml6040` sensor platform allows you to use the Vishay VEML6040 RGBW color sensor with ESPHome. It reports the red, green, blue and white channels, illuminance and correlated color temperature. Communication with the device is over [I²C](https://esphome.io/components/i2c/), which must be present in your configuration.","category":"sensor","docs_url":"https://esphome.io/components/sensor/veml6040/","image_url":"https://esphome.io/images/badges/veml6040.svg","dependencies":["i2c"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x10`.","default_value":"16","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The ID of the [I²C bus](https://esphome.io/components/i2c/) to use, if you have more than one.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","duration_min_unit":"ms"},{"key":"color_temperature","type":"nested","label":"Color Temperature","description":"Correlated color temperature in kelvin. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:thermometer","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"K","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Illuminance in lux. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"blue_channel","type":"nested","label":"Blue Channel","description":"Raw count of the blue channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"color_temperature_offset","type":"float","label":"Color Temperature Offset","description":"The offset in the color temperature formula `CCT = 4278.6 × ((R − B) / G + offset) ^ −1.2455`. Vishay gives `0.5` for a sensor in open air and notes that the value changes behind cover glass. To tune it, compare the reported color temperature with a reference meter or a light source of known color temperature, and adjust the offset until they match. Defaults to `0.5`.","default_value":"0.5","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables"},{"key":"glass_attenuation_factor","type":"float","label":"Glass Attenuation Factor","description":"Corrects the illuminance for light lost when the sensor is behind glass or another cover. The value is the inverse of the cover's transmission; for example, a cover that passes 50% of the light needs a factor of `2`. Defaults to `1.0` (no cover). Must be at least `1.0`. It does not affect color temperature; use `color_temperature_offset` for that.","default_value":"1.0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables"},{"key":"green_channel","type":"nested","label":"Green Channel","description":"Raw count of the green channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"integration_time","type":"time_period","label":"Integration Time","description":"The time the device uses for each measurement. Longer times give more resolution in low light, but the sensor saturates at a lower light level. It must be one of: | Integration time | Lux per count | Maximum lux | | ------------------- | ------------- | ----------- | | `40ms` | 0.25168 | 16496 | | `80ms` | 0.12584 | 8248 | | `160ms` *(default)* | 0.06292 | 4124 | | `320ms` | 0.03146 | 2062 | | `640ms` | 0.01573 | 1031 | | `1280ms` | 0.007865 | 515.4 |","default_value":"160ms","options":[{"label":"40ms","value":"40ms"},{"label":"80ms","value":"80ms"},{"label":"160ms","value":"160ms"},{"label":"320ms","value":"320ms"},{"label":"640ms","value":"640ms"},{"label":"1280ms","value":"1280ms"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","duration_min_unit":"ms"},{"key":"red_channel","type":"nested","label":"Red Channel","description":"Raw count of the red channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"white_channel","type":"nested","label":"White Channel","description":"Raw count of the white channel. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/veml6040/#configuration-variables","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["blue_channel","id"],["color_temperature","id"],["green_channel","id"],["illuminance","id"],["red_channel","id"],["white_channel","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.vevor_dtx.json b/esphome_device_builder/definitions/components/sensor.vevor_dtx.json index e2f9aa9fdb..b0a095f17d 100644 --- a/esphome_device_builder/definitions/components/sensor.vevor_dtx.json +++ b/esphome_device_builder/definitions/components/sensor.vevor_dtx.json @@ -1 +1 @@ -{"id":"sensor.vevor_dtx","name":"Vevor Dtx","description":"","category":"sensor","dependencies":["vevor_dtx"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"humidity","type":"nested","label":"Humidity","description":"Outdoor relative humidity. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Illuminance in lux. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rain","type":"nested","label":"Rain","description":"Rain in millimeters as a running total since the station was powered up; it is published with the `total_increasing` state class. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:grain","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"mm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"Outdoor temperature in degrees Celsius. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"tx_counter","type":"nested","label":"TX Counter","description":"The station's transmission counter, a diagnostic value that counts from 0 to 255 and wraps. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"uv_index","type":"nested","label":"UV Index","description":"UV index. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vevor_dtx_id","type":"id","label":"Vevor Dtx ID","description":"The ID of the `vevor_dtx` hub. Required when more than one hub is configured.","display_format":null,"references_component":"vevor_dtx"},{"key":"wind_direction_degrees","type":"nested","label":"Wind Direction Degrees","description":"Wind direction in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sign-direction","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"wind_direction","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wind_gust","type":"nested","label":"Wind Gust","description":"Wind gust speed in meters per second. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-windy","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"wind_speed","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wind_speed","type":"nested","label":"Wind Speed","description":"Wind speed in meters per second. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-windy","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"wind_speed","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["humidity","id"],["illuminance","id"],["rain","id"],["temperature","id"],["tx_counter","id"],["uv_index","id"],["wind_direction_degrees","id"],["wind_gust","id"],["wind_speed","id"]]}} +{"id":"sensor.vevor_dtx","name":"Vevor DTX Weather Station","description":"Vevor 7-in-1 weather station sensors using the internal DTX signal","category":"sensor","docs_url":"https://esphome.io/components/vevor_dtx","image_url":"https://esphome.io/images/weather-sunny.svg","dependencies":["vevor_dtx"],"multi_conf":true,"provides":["sensor"],"config_entries":[{"key":"humidity","type":"nested","label":"Humidity","description":"Outdoor relative humidity. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"humidity","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"%","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"illuminance","type":"nested","label":"Illuminance","description":"Illuminance in lux. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"illuminance","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"lx","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"rain","type":"nested","label":"Rain","description":"Rain in millimeters as a running total since the station was powered up; it is published with the `total_increasing` state class. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:grain","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"mm","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"total_increasing","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"temperature","type":"nested","label":"Temperature","description":"Outdoor temperature in degrees Celsius. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"temperature","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°C","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"tx_counter","type":"nested","label":"TX Counter","description":"The station's transmission counter, a diagnostic value that counts from 0 to 255 and wraps. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:counter","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"uv_index","type":"nested","label":"UV Index","description":"UV index. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vevor_dtx_id","type":"id","label":"Vevor Dtx ID","description":"The ID of the `vevor_dtx` hub. Required when more than one hub is configured.","display_format":null,"references_component":"vevor_dtx","help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1"},{"key":"wind_direction_degrees","type":"nested","label":"Wind Direction Degrees","description":"Wind direction in degrees. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","platform_type":"sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:sign-direction","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"wind_direction","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"°","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"0","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wind_gust","type":"nested","label":"Wind Gust","description":"Wind gust speed in meters per second. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-windy","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"wind_speed","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"wind_speed","type":"nested","label":"Wind Speed","description":"Wind speed in meters per second. All options from [Sensor](https://esphome.io/components/sensor/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-1","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:weather-windy","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","default_value":"wind_speed","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m/s","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"1","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"sensor":[["humidity","id"],["illuminance","id"],["rain","id"],["temperature","id"],["tx_counter","id"],["uv_index","id"],["wind_direction_degrees","id"],["wind_gust","id"],["wind_speed","id"]]}} diff --git a/esphome_device_builder/definitions/components/sensor.vl53l1x.json b/esphome_device_builder/definitions/components/sensor.vl53l1x.json index 0d9a66a7f2..20e4dc2d3d 100644 --- a/esphome_device_builder/definitions/components/sensor.vl53l1x.json +++ b/esphome_device_builder/definitions/components/sensor.vl53l1x.json @@ -1 +1 @@ -{"id":"sensor.vl53l1x","name":"VL53L1X Time Of Flight Distance Sensor","description":"The `vl53l1x` sensor platform allows you to use VL53L1X optical time of flight ([datasheet](https://www.st.com/resource/en/datasheet/vl53l1x.pdf), [ST](https://www.st.com/en/imaging-and-photonics-solutions/vl53l1x.html)) sensors with ESPHome to measure distances. The sensor works optically by emitting short infrared pulses and measuring the time it takes the light to be reflected back.","category":"sensor","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x29`. If another address is set, the sensor is re-addressed at startup, which requires `enable_pin`. When more than one VL53L1X shares an I²C bus, every sensor must be set to an address other than `0x29`.","default_value":"41","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `1s`.","default_value":"1s","display_format":null,"duration_min_unit":"ms"},{"key":"enable_pin","type":"pin","label":"Enable Pin","description":"The pin connected to XSHUT on the VL53L1X. Required when `address` is not `0x29`, and for every sensor when more than one VL53L1X shares an I²C bus.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:arrow-expand-vertical","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"distance_mode","type":"string","label":"Distance Mode","description":"The distance mode, one of `short`, `medium` or `long`. See [Distance Modes](https://esphome.io/components/sensor/vl53l1x/#distance-modes). Defaults to `long`.","default_value":"long","options":[{"label":"short","value":"short"},{"label":"medium","value":"medium"},{"label":"long","value":"long"}],"display_format":null,"advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"offset","type":"integer","label":"Offset","description":"Calibration offset in millimeters, from -1024 to 1023. Defaults to `0`.","default_value":"0","range":[-1024,1023],"display_format":null,"advanced":true},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"roi_center","type":"integer","label":"Roi Center","description":"The SPAD at the center of the ROI, from 1 to 255. If not set, a ROI of 10x10 or smaller is centered on the calibrated optical center of the sensor, and a larger ROI uses `199`. When the ROI is wider or taller than 10, this must be `199`.","range":[1,255],"display_format":null,"advanced":true},{"key":"roi_height","type":"integer","label":"Roi Height","description":"Height of the Region of Interest (ROI) in SPADs, from 4 to 16. Defaults to `16` (full field of view).","default_value":"16","range":[4,16],"display_format":null,"advanced":true},{"key":"roi_width","type":"integer","label":"Roi Width","description":"Width of the Region of Interest (ROI) in SPADs, from 4 to 16. Defaults to `16` (full field of view).","default_value":"16","range":[4,16],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"signal_rate_limit","type":"float","label":"Signal Rate Limit","description":"The minimum return signal rate in MCPS (mega counts per second) needed for a valid reading. Must be greater than 0 and less than 512. A lower value may increase the range but also the chance of inaccurate readings. Defaults to `1.0`.","default_value":"1.0","range":[0.0,512.0],"display_format":null,"advanced":true},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"timing_budget","type":"time_period","label":"Timing Budget","description":"The time allowed for a single distance measurement. A longer budget gives more accurate readings at a lower measurement rate. Must be one of `15ms`, `20ms`, `33ms`, `50ms`, `100ms`, `200ms` or `500ms` in short mode, and one of `20ms`, `33ms`, `50ms`, `100ms`, `200ms` or `500ms` in medium and long mode. Defaults to `50ms`.","default_value":"50ms","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"sensor.vl53l1x","name":"VL53L1X Time Of Flight Distance Sensor","description":"The `vl53l1x` sensor platform allows you to use VL53L1X optical time of flight ([datasheet](https://www.st.com/resource/en/datasheet/vl53l1x.pdf), [ST](https://www.st.com/en/imaging-and-photonics-solutions/vl53l1x.html)) sensors with ESPHome to measure distances. The sensor works optically by emitting short infrared pulses and measuring the time it takes the light to be reflected back.","category":"sensor","docs_url":"https://esphome.io/components/sensor/vl53l1x/","image_url":"https://esphome.io/images/vl53l1x.jpg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"address","type":"integer","label":"Address","description":"The I²C address of the sensor. Defaults to `0x29`. If another address is set, the sensor is re-addressed at startup, which requires `enable_pin`. When more than one VL53L1X shares an I²C bus, every sensor must be set to an address other than `0x29`.","default_value":"41","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"The interval to check the sensor. Defaults to `1s`.","default_value":"1s","display_format":null,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables","duration_min_unit":"ms"},{"key":"enable_pin","type":"pin","label":"Enable Pin","description":"The pin connected to XSHUT on the VL53L1X. Required when `address` is not `0x29`, and for every sensor when more than one VL53L1X shares an I²C bus.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"zigbee_sensor","type":"id","label":"Zigbee Sensor","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:arrow-expand-vertical","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. See [https://www.home-assistant.io/integrations/sensor/#device-class](https://www.home-assistant.io/integrations/sensor/#device-class) for a list of available options. Set to `\"\"` to remove the default device class of a sensor.","options":[{"label":"absolute_humidity","value":"absolute_humidity"},{"label":"apparent_power","value":"apparent_power"},{"label":"aqi","value":"aqi"},{"label":"area","value":"area"},{"label":"atmospheric_pressure","value":"atmospheric_pressure"},{"label":"battery","value":"battery"},{"label":"blood_glucose_concentration","value":"blood_glucose_concentration"},{"label":"carbon_dioxide","value":"carbon_dioxide"},{"label":"carbon_monoxide","value":"carbon_monoxide"},{"label":"conductivity","value":"conductivity"},{"label":"current","value":"current"},{"label":"data_rate","value":"data_rate"},{"label":"data_size","value":"data_size"},{"label":"date","value":"date"},{"label":"distance","value":"distance"},{"label":"duration","value":"duration"},{"label":"(none)","value":""},{"label":"energy","value":"energy"},{"label":"energy_distance","value":"energy_distance"},{"label":"energy_storage","value":"energy_storage"},{"label":"frequency","value":"frequency"},{"label":"gas","value":"gas"},{"label":"humidity","value":"humidity"},{"label":"illuminance","value":"illuminance"},{"label":"irradiance","value":"irradiance"},{"label":"moisture","value":"moisture"},{"label":"monetary","value":"monetary"},{"label":"nitrogen_dioxide","value":"nitrogen_dioxide"},{"label":"nitrogen_monoxide","value":"nitrogen_monoxide"},{"label":"nitrous_oxide","value":"nitrous_oxide"},{"label":"ozone","value":"ozone"},{"label":"ph","value":"ph"},{"label":"pm1","value":"pm1"},{"label":"pm10","value":"pm10"},{"label":"pm25","value":"pm25"},{"label":"pm4","value":"pm4"},{"label":"power","value":"power"},{"label":"power_factor","value":"power_factor"},{"label":"precipitation","value":"precipitation"},{"label":"precipitation_intensity","value":"precipitation_intensity"},{"label":"pressure","value":"pressure"},{"label":"radon","value":"radon"},{"label":"reactive_energy","value":"reactive_energy"},{"label":"reactive_power","value":"reactive_power"},{"label":"signal_strength","value":"signal_strength"},{"label":"sound_pressure","value":"sound_pressure"},{"label":"speed","value":"speed"},{"label":"sulphur_dioxide","value":"sulphur_dioxide"},{"label":"temperature","value":"temperature"},{"label":"temperature_delta","value":"temperature_delta"},{"label":"timestamp","value":"timestamp"},{"label":"uptime","value":"uptime"},{"label":"volatile_organic_compounds","value":"volatile_organic_compounds"},{"label":"volatile_organic_compounds_parts","value":"volatile_organic_compounds_parts"},{"label":"voltage","value":"voltage"},{"label":"volume","value":"volume"},{"label":"volume_flow_rate","value":"volume_flow_rate"},{"label":"volume_storage","value":"volume_storage"},{"label":"water","value":"water"},{"label":"weight","value":"weight"},{"label":"wind_direction","value":"wind_direction"},{"label":"wind_speed","value":"wind_speed"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"unit_of_measurement","type":"string","label":"Unit Of Measurement","description":"Manually set the unit of measurement the sensor should advertise its values with. This does not actually do any maths (conversion between units).","default_value":"m","options":[{"label":"#/cm³","value":"#/cm³"},{"label":"%","value":"%"},{"label":"/dL","value":"/dL"},{"label":"A","value":"A"},{"label":"B","value":"B"},{"label":"Bq/m³","value":"Bq/m³"},{"label":"G","value":"G"},{"label":"Hz","value":"Hz"},{"label":"K","value":"K"},{"label":"L","value":"L"},{"label":"L/h","value":"L/h"},{"label":"L/s","value":"L/s"},{"label":"MJ","value":"MJ"},{"label":"Pa","value":"Pa"},{"label":"RPM","value":"RPM"},{"label":"V","value":"V"},{"label":"VA","value":"VA"},{"label":"VAh","value":"VAh"},{"label":"W","value":"W"},{"label":"Wh","value":"Wh"},{"label":"bpm","value":"bpm"},{"label":"cm","value":"cm"},{"label":"dB","value":"dB"},{"label":"dBm","value":"dBm"},{"label":"g/m³","value":"g/m³"},{"label":"h","value":"h"},{"label":"hPa","value":"hPa"},{"label":"kPa","value":"kPa"},{"label":"kVA","value":"kVA"},{"label":"kVAh","value":"kVAh"},{"label":"kW","value":"kW"},{"label":"kWh","value":"kWh"},{"label":"kg","value":"kg"},{"label":"km","value":"km"},{"label":"km/h","value":"km/h"},{"label":"kvar","value":"kvar"},{"label":"kvarh","value":"kvarh"},{"label":"lb","value":"lb"},{"label":"lx","value":"lx"},{"label":"m","value":"m"},{"label":"m/s","value":"m/s"},{"label":"m/s²","value":"m/s²"},{"label":"mA","value":"mA"},{"label":"mL","value":"mL"},{"label":"mS/cm","value":"mS/cm"},{"label":"mV","value":"mV"},{"label":"mg/m³","value":"mg/m³"},{"label":"min","value":"min"},{"label":"mm","value":"mm"},{"label":"ms","value":"ms"},{"label":"m³","value":"m³"},{"label":"m³/h","value":"m³/h"},{"label":"pH","value":"pH"},{"label":"ppb","value":"ppb"},{"label":"ppm","value":"ppm"},{"label":"pulses","value":"pulses"},{"label":"pulses/min","value":"pulses/min"},{"label":"s","value":"s"},{"label":"steps","value":"steps"},{"label":"var","value":"var"},{"label":"varh","value":"varh"},{"label":"°","value":"°"},{"label":"°/s","value":"°/s"},{"label":"°C","value":"°C"},{"label":"°F","value":"°F"},{"label":"µA","value":"µA"},{"label":"µS/cm","value":"µS/cm"},{"label":"µSv/h","value":"µSv/h"},{"label":"µT","value":"µT"},{"label":"µg/m³","value":"µg/m³"},{"label":"µm","value":"µm"},{"label":"Ω","value":"Ω"}],"allow_custom_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"accuracy_decimals","type":"integer","label":"Accuracy Decimals","description":"Set the number of digits after the decimal point that data consumers should use. While this does not change the value sent across the API, Home Assistant's ESPHome integration will round the value accordingly before using or storing it. The number of digits will also be used to set the entity's default display precision. Thus, one can display fewer decimals, but cannot increase precision of sensor values in Home Assistant. (The default value varies depending on component and sensor.)","default_value":"3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"device_class","value":"device_class"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"distance_mode","type":"string","label":"Distance Mode","description":"The distance mode, one of `short`, `medium` or `long`. See [Distance Modes](https://esphome.io/components/sensor/vl53l1x/#distance-modes). Defaults to `long`.","default_value":"long","options":[{"label":"short","value":"short"},{"label":"medium","value":"medium"},{"label":"long","value":"long"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables"},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","options":[{"label":"(none)","value":""},{"label":"diagnostic","value":"diagnostic"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"expire_after","type":"time_period","label":"Expire After","description":"Manually set the time in which the sensor values should be marked as “expired”/“unknown”. Not providing any value means no expiry.","display_format":null,"depends_on_component":"mqtt","advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration","duration_min_unit":"ms"},{"key":"filters","type":"registry_list","label":"Filters","description":"Specify filters to use for some basic transforming of values. See [Sensor Filters](https://esphome.io/components/sensor/#sensor-filters) for more information.","display_format":null,"registry":"filter","multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"force_update","type":"boolean","label":"Force Update","description":"If true, this option will force the frontend (usually Home Assistant) to create a state changed event when the sensor updates even if the value stayed the same. Some applications like Grafana require this when working with Home Assistant, but beware it can significantly increase the database size. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"offset","type":"integer","label":"Offset","description":"Calibration offset in millimeters, from -1024 to 1023. Defaults to `0`.","default_value":"0","range":[-1024,1023],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"roi_center","type":"integer","label":"Roi Center","description":"The SPAD at the center of the ROI, from 1 to 255. If not set, a ROI of 10x10 or smaller is centered on the calibrated optical center of the sensor, and a larger ROI uses `199`. When the ROI is wider or taller than 10, this must be `199`.","range":[1,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables"},{"key":"roi_height","type":"integer","label":"Roi Height","description":"Height of the Region of Interest (ROI) in SPADs, from 4 to 16. Defaults to `16` (full field of view).","default_value":"16","range":[4,16],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables"},{"key":"roi_width","type":"integer","label":"Roi Width","description":"Width of the Region of Interest (ROI) in SPADs, from 4 to 16. Defaults to `16` (full field of view).","default_value":"16","range":[4,16],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"signal_rate_limit","type":"float","label":"Signal Rate Limit","description":"The minimum return signal rate in MCPS (mega counts per second) needed for a valid reading. Must be greater than 0 and less than 512. A lower value may increase the range but also the chance of inaccurate readings. Defaults to `1.0`.","default_value":"1.0","range":[0.0,512.0],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables"},{"key":"state_class","type":"string","label":"State Class","description":"The state class for the sensor. See [https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) for a list of available options. Set to `\"\"` to remove the default state class of a sensor.","default_value":"measurement","options":[{"label":"(none)","value":""},{"label":"measurement","value":"measurement"},{"label":"total_increasing","value":"total_increasing"},{"label":"total","value":"total"},{"label":"measurement_angle","value":"measurement_angle"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/#base-sensor-configuration"},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"timing_budget","type":"time_period","label":"Timing Budget","description":"The time allowed for a single distance measurement. A longer budget gives more accurate readings at a lower measurement rate. Must be one of `15ms`, `20ms`, `33ms`, `50ms`, `100ms`, `200ms` or `500ms` in short mode, and one of `20ms`, `33ms`, `50ms`, `100ms`, `200ms` or `500ms` in medium and long mode. Defaults to `50ms`.","default_value":"50ms","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/vl53l1x/#configuration-variables","duration_min_unit":"ms"},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/sha256.json b/esphome_device_builder/definitions/components/sha256.json index ce66139c65..b1c1dc3804 100644 --- a/esphome_device_builder/definitions/components/sha256.json +++ b/esphome_device_builder/definitions/components/sha256.json @@ -1 +1 @@ -{"id":"sha256","name":"Sha256","description":"","category":"misc"} +{"id":"sha256","name":"Sha256","description":"","category":"misc","docs_url":"https://esphome.io/components/update/esp32_hosted"} diff --git a/esphome_device_builder/definitions/components/speaker.usb_audio.json b/esphome_device_builder/definitions/components/speaker.usb_audio.json index 04407a4cab..0c22be7bbc 100644 --- a/esphome_device_builder/definitions/components/speaker.usb_audio.json +++ b/esphome_device_builder/definitions/components/speaker.usb_audio.json @@ -1 +1 @@ -{"id":"speaker.usb_audio","name":"USB Audio Speaker","description":"The `usb_audio` speaker platform plays audio on a USB audio device, such as a USB sound card, DAC or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","category":"speaker","dependencies":["usb_audio"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"audio_dac","type":"id","label":"Audio DAC","description":"The [audio DAC](https://esphome.io/components/audio_dac/) to use for volume control. Can also be a list of audio DAC IDs that all receive this speaker's audio. Every audio DAC in the list gets the same volume and mute. Each audio DAC can only be listed once.","display_format":null,"references_component":"audio_dac","help_link":"https://esphome.io/components/speaker/#base-speaker-configuration"},{"key":"usb_audio_id","type":"id","label":"USB Audio ID","description":"The [USB Audio](https://esphome.io/components/usb_audio/) component to use. Defaults to the only one in YAML.","display_format":null,"references_component":"usb_audio"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bits_per_sample","type":"string","label":"Bits Per Sample","description":"The bit depth of the audio samples. One of `8bit`, `16bit`, `24bit` or `32bit`. Must be supported by the USB device. Defaults to `16bit`.","default_value":"16bit","options":[{"label":"8bit","value":"8bit"},{"label":"16bit","value":"16bit"},{"label":"24bit","value":"24bit"},{"label":"32bit","value":"32bit"}],"display_format":null,"advanced":true},{"key":"buffer_size","type":"integer","label":"Buffer Size","description":"The size of the buffer between ESPHome and the USB driver, in bytes. Must hold at least two USB transfers (6 ms of audio, e.g. `1152` bytes at 48000 Hz, 16 bit, stereo). Defaults to `6400`, or to the minimum when that is larger.","display_format":null,"advanced":true},{"key":"num_channels","type":"integer","label":"Num Channels","description":"The number of channels, `1` (mono) or `2` (stereo). Must be supported by the USB device. Defaults to `2`.","default_value":"2","range":[1,2],"display_format":null,"advanced":true},{"key":"sample_rate","type":"integer","label":"Sample Rate","description":"The sample rate of the audio stream, in Hz. Must be between `8000` and `96000` and supported by the USB device. Defaults to `48000`.","default_value":"48000","range":[8000,96000],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"write_timeout","type":"time_period","label":"Write Timeout","description":"The maximum time a write waits for room in the buffer. Defaults to `20ms`.","default_value":"20ms","display_format":null,"advanced":true,"duration_min_unit":"ms"}]} +{"id":"speaker.usb_audio","name":"USB Audio Speaker","description":"The `usb_audio` speaker platform plays audio on a USB audio device, such as a USB sound card, DAC or speakerphone, connected to the [USB Audio](https://esphome.io/components/usb_audio/) component.","category":"speaker","docs_url":"https://esphome.io/components/speaker/usb_audio/","image_url":"https://esphome.io/images/usb.svg","dependencies":["usb_audio"],"multi_conf":true,"supported_platforms":["esp32"],"config_entries":[{"key":"audio_dac","type":"id","label":"Audio DAC","description":"The [audio DAC](https://esphome.io/components/audio_dac/) to use for volume control. Can also be a list of audio DAC IDs that all receive this speaker's audio. Every audio DAC in the list gets the same volume and mute. Each audio DAC can only be listed once.","display_format":null,"references_component":"audio_dac","help_link":"https://esphome.io/components/speaker/#base-speaker-configuration"},{"key":"usb_audio_id","type":"id","label":"USB Audio ID","description":"The [USB Audio](https://esphome.io/components/usb_audio/) component to use. Defaults to the only one in YAML.","display_format":null,"references_component":"usb_audio","help_link":"https://esphome.io/components/speaker/usb_audio/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bits_per_sample","type":"string","label":"Bits Per Sample","description":"The bit depth of the audio samples. One of `8bit`, `16bit`, `24bit` or `32bit`. Must be supported by the USB device. Defaults to `16bit`.","default_value":"16bit","options":[{"label":"8bit","value":"8bit"},{"label":"16bit","value":"16bit"},{"label":"24bit","value":"24bit"},{"label":"32bit","value":"32bit"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/speaker/usb_audio/#configuration-variables"},{"key":"buffer_size","type":"integer","label":"Buffer Size","description":"The size of the buffer between ESPHome and the USB driver, in bytes. Must hold at least two USB transfers (6 ms of audio, e.g. `1152` bytes at 48000 Hz, 16 bit, stereo). Defaults to `6400`, or to the minimum when that is larger.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/speaker/usb_audio/#configuration-variables"},{"key":"num_channels","type":"integer","label":"Num Channels","description":"The number of channels, `1` (mono) or `2` (stereo). Must be supported by the USB device. Defaults to `2`.","default_value":"2","range":[1,2],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/speaker/usb_audio/#configuration-variables"},{"key":"sample_rate","type":"integer","label":"Sample Rate","description":"The sample rate of the audio stream, in Hz. Must be between `8000` and `96000` and supported by the USB device. Defaults to `48000`.","default_value":"48000","range":[8000,96000],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/speaker/usb_audio/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"write_timeout","type":"time_period","label":"Write Timeout","description":"The maximum time a write waits for room in the buffer. Defaults to `20ms`.","default_value":"20ms","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/speaker/usb_audio/#configuration-variables","duration_min_unit":"ms"}]} diff --git a/esphome_device_builder/definitions/components/st25r_spi.json b/esphome_device_builder/definitions/components/st25r_spi.json index f7ab2ddb53..8c91df48ee 100644 --- a/esphome_device_builder/definitions/components/st25r_spi.json +++ b/esphome_device_builder/definitions/components/st25r_spi.json @@ -1 +1 @@ -{"id":"st25r_spi","name":"ST25R3916 NFC","description":"The `st25r` component allows you to use STMicroelectronics ST25R3916 and ST25R3916B NFC readers ([datasheet](https://www.st.com/resource/en/datasheet/st25r3916.pdf)) with ESPHome. The reader is a global hub that polls for ISO 14443A (NFC-A) tags, reads the UID of the tag on the antenna and runs the `on_tag` and `on_tag_removed` automations. It is connected over [SPI](https://esphome.io/components/spi/) through the `st25r_spi` platform.","category":"misc","dependencies":["spi"],"multi_conf":true,"provides":["nfc"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","description":"Manually specify the ID of the [SPI component](https://esphome.io/components/spi/) if you want to use multiple SPI buses.","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll for a tag. Defaults to `1s`.","default_value":"1s","display_format":null,"duration_min_unit":"ms"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The pin connected to the reader's chip select line.","required":true,"display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"irq_pin","type":"pin","label":"IRQ Pin","description":"The pin connected to the reader's `IRQ` line. With it set, the reader only talks to the chip once it has signalled a response during a scan, and that response wakes the main loop at once instead of waiting for its next pass. Tags are still looked for on every `update_interval`.","display_format":null,"pin_mode":"input","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The pin connected to the reader's reset line. The chip is reset through it at startup.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true},{"key":"data_rate","type":"string","label":"Data Rate","display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"rf_power","type":"integer","label":"RF Power","description":"Transmitter driver strength from `0` to `15`, where `15` is the strongest field. Defaults to `15`.","default_value":"15","range":[0,15],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true}]} +{"id":"st25r_spi","name":"ST25R3916 NFC","description":"The `st25r` component allows you to use STMicroelectronics ST25R3916 and ST25R3916B NFC readers ([datasheet](https://www.st.com/resource/en/datasheet/st25r3916.pdf)) with ESPHome. The reader is a global hub that polls for ISO 14443A (NFC-A) tags, reads the UID of the tag on the antenna and runs the `on_tag` and `on_tag_removed` automations. It is connected over [SPI](https://esphome.io/components/spi/) through the `st25r_spi` platform.","category":"misc","docs_url":"https://esphome.io/components/st25r/","dependencies":["spi"],"multi_conf":true,"provides":["nfc"],"config_entries":[{"key":"spi_id","type":"id","label":"SPI ID","description":"Manually specify the ID of the [SPI component](https://esphome.io/components/spi/) if you want to use multiple SPI buses.","display_format":null,"references_component":"spi","references_class":"spi::SPIComponent","help_link":"https://esphome.io/components/st25r/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to poll for a tag. Defaults to `1s`.","default_value":"1s","display_format":null,"help_link":"https://esphome.io/components/st25r/#configuration-variables","duration_min_unit":"ms"},{"key":"cs_pin","type":"pin","label":"CS Pin","description":"The pin connected to the reader's chip select line.","required":true,"display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/st25r/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"irq_pin","type":"pin","label":"IRQ Pin","description":"The pin connected to the reader's `IRQ` line. With it set, the reader only talks to the chip once it has signalled a response during a scan, and that response wakes the main loop at once instead of waiting for its next pass. Tags are still looked for on every `update_interval`.","display_format":null,"pin_mode":"input","help_link":"https://esphome.io/components/st25r/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The pin connected to the reader's reset line. The chip is reset through it at startup.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/st25r/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true,"help_link":"https://esphome.io/components/st25r/#configuration-variables"},{"key":"data_rate","type":"string","label":"Data Rate","display_format":null,"advanced":true},{"key":"psram_dma","type":"string","label":"PSRAM DMA","display_format":null,"advanced":true},{"key":"release_device","type":"boolean","label":"Release Device","display_format":null,"advanced":true,"supported_platforms":["esp32"]},{"key":"rf_power","type":"integer","label":"RF Power","description":"Transmitter driver strength from `0` to `15`, where `15` is the strongest field. Defaults to `15`.","default_value":"15","range":[0,15],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/st25r/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"spi_mode","type":"string","label":"SPI Mode","options":[{"label":"0","value":"0"},{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"},{"label":"MODE0","value":"MODE0"},{"label":"MODE1","value":"MODE1"},{"label":"MODE2","value":"MODE2"},{"label":"MODE3","value":"MODE3"}],"display_format":null,"advanced":true}]} diff --git a/esphome_device_builder/definitions/components/stepper.tmc2209.json b/esphome_device_builder/definitions/components/stepper.tmc2209.json index 31aa1d1767..6f88468f23 100644 --- a/esphome_device_builder/definitions/components/stepper.tmc2209.json +++ b/esphome_device_builder/definitions/components/stepper.tmc2209.json @@ -1 +1 @@ -{"id":"stepper.tmc2209","name":"TMC2209 Stepper Motor Driver","description":"The `tmc2209` stepper platform supports the Trinamic TMC2209 stepper motor driver ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/TMC2209_datasheet_rev1.09.pdf)). The driver is configured over its single wire UART interface. Several drivers can share one UART bus by using different addresses.","category":"stepper","dependencies":["uart"],"multi_conf":true,"provides":["tmc2209"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The UART address of the driver, `0` to `3`. Defaults to `0`.","default_value":"0","display_format":null},{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART bus](https://esphome.io/components/uart/) the driver is connected to. Required if you have multiple UART buses.","display_format":null,"references_component":"uart"},{"key":"diag_pin","type":"pin","label":"Diag Pin","description":"The `DIAG` pin of the driver. Must be a pin that supports interrupts. The driver sets this pin high on a driver error or a stall. See [Driver Status](https://esphome.io/components/stepper/tmc2209/#driver-status) and [Stall Detection](https://esphome.io/components/stepper/tmc2209/#stall-detection).","display_format":null,"config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"dir_pin","type":"pin","label":"Dir Pin","description":"**Set together — all of these must be set, or all left blank:** `step_pin`, `dir_pin`.\n\nThe `DIR` pin of the driver. Required when `step_pin` is set.","display_format":null,"config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"enn_pin","type":"pin","label":"Enn Pin","description":"The `ENN` (enable, active low) pin of the driver. When not set, the motor outputs are turned on and off over UART.","display_format":null,"config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"index_pin","type":"pin","label":"Index Pin","description":"**Required — set exactly one of:** `index_pin`, `step_pin`.\n\nThe `INDEX` pin of the driver. Enables UART speed control mode. Must be a pin that supports interrupts. Exactly one of `step_pin` or `index_pin` is required.","display_format":null,"config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"max_speed","type":"float","label":"Max Speed","description":"The maximum speed in `steps/s` (steps per seconds) to drive the stepper at. Note most steppers can't step properly with speeds higher than 250 steps/s.","required":true,"display_format":null,"help_link":"https://esphome.io/components/stepper/#base-stepper-configuration"},{"key":"step_pin","type":"pin","label":"Step Pin","description":"**Required — set exactly one of:** `index_pin`, `step_pin`.\n\n**Set together — all of these must be set, or all left blank:** `step_pin`, `dir_pin`.\n\nThe `STEP` pin of the driver. Enables STEP/DIR mode. Exactly one of `step_pin` or `index_pin` is required.","display_format":null,"config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Specify the ID of the stepper so that you can control it.","advanced":true},{"key":"acceleration","type":"float","label":"Acceleration","description":"The acceleration in `steps/s^2` (steps per seconds squared) to use when starting to move. The default is `inf` which means infinite acceleration, so the stepper will try to drive with the full speed immediately. This value is helpful if that first motion of the motor is too jerky for what it's moving. If you make this a small number, it will take the motor a moment to get up to speed.","default_value":"inf","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/#base-stepper-configuration"},{"key":"analog_current_scale","type":"boolean","label":"Analog Current Scale","description":"Scale the motor current with the voltage on the `VREF` pin of the driver. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true},{"key":"clock_frequency","type":"integer","label":"Clock Frequency","description":"The clock frequency of the driver. Only used to convert the speed in UART speed control mode. Change this when the driver runs from an external clock. Defaults to `12MHz`.","default_value":"12MHz","display_format":null,"advanced":true},{"key":"deceleration","type":"float","label":"Deceleration","description":"The same as `acceleration`, but for when the motor is decelerating shortly before reaching the set position. Defaults to `inf` (immediate deceleration).","default_value":"inf","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/#base-stepper-configuration"},{"key":"hold_current","type":"float","label":"Hold Current","description":"The motor current at standstill, in A RMS.","display_format":null,"advanced":true},{"key":"microsteps","type":"string","label":"Microsteps","description":"The number of microsteps per full step. One of `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128` or `256`. Written to the driver at startup, which then ignores the `MS1` and `MS2` pins. Default: `16`.","default_value":"16","options":[{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"4","value":"4"},{"label":"8","value":"8"},{"label":"16","value":"16"},{"label":"32","value":"32"},{"label":"64","value":"64"},{"label":"128","value":"128"},{"label":"256","value":"256"}],"display_format":null,"advanced":true},{"key":"ottrim","type":"integer","label":"Ottrim","description":"The overtemperature thresholds, `0` to `3`. See the `OTTRIM` setting in the datasheet. When not set, the driver setting is not changed.","display_format":null,"advanced":true},{"key":"rsense","type":"string","label":"Rsense","description":"The value of the external sense resistors on the driver module, for example `110 mOhm`. Used to convert currents to driver settings. When not set, the driver is switched to its internal sense resistors, which only works on boards designed for it. Most driver modules have external sense resistors.","display_format":null,"advanced":true},{"key":"run_current","type":"float","label":"Run Current","description":"The motor current while running, in A RMS. Values above the maximum of the driver are limited to the maximum and a warning is logged. The maximum is shown in the log at startup.","display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"vsense","type":"boolean","label":"Vsense","description":"Use the high sensitivity sense voltage range. This lowers the maximum current and gives finer current steps, useful for small motors. When not set, the driver setting is not changed.","display_format":null,"advanced":true}],"required_groups":[{"kind":"exactly_one","keys":["index_pin","step_pin"]},{"kind":"none_or_all","keys":["step_pin","dir_pin"]}]} +{"id":"stepper.tmc2209","name":"TMC2209 Stepper Motor Driver","description":"The `tmc2209` stepper platform supports the Trinamic TMC2209 stepper motor driver ([datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/TMC2209_datasheet_rev1.09.pdf)). The driver is configured over its single wire UART interface. Several drivers can share one UART bus by using different addresses.","category":"stepper","docs_url":"https://esphome.io/components/stepper/tmc2209/","image_url":"https://esphome.io/images/badges/tmc2209.svg","dependencies":["uart"],"multi_conf":true,"provides":["tmc2209"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The UART address of the driver, `0` to `3`. Defaults to `0`.","default_value":"0","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"uart_id","type":"id","label":"UART ID","description":"The ID of the [UART bus](https://esphome.io/components/uart/) the driver is connected to. Required if you have multiple UART buses.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"diag_pin","type":"pin","label":"Diag Pin","description":"The `DIAG` pin of the driver. Must be a pin that supports interrupts. The driver sets this pin high on a driver error or a stall. See [Driver Status](https://esphome.io/components/stepper/tmc2209/#driver-status) and [Stall Detection](https://esphome.io/components/stepper/tmc2209/#stall-detection).","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"dir_pin","type":"pin","label":"Dir Pin","description":"**Set together — all of these must be set, or all left blank:** `step_pin`, `dir_pin`.\n\nThe `DIR` pin of the driver. Required when `step_pin` is set.","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"enn_pin","type":"pin","label":"Enn Pin","description":"The `ENN` (enable, active low) pin of the driver. When not set, the motor outputs are turned on and off over UART.","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"index_pin","type":"pin","label":"Index Pin","description":"**Required — set exactly one of:** `index_pin`, `step_pin`.\n\nThe `INDEX` pin of the driver. Enables UART speed control mode. Must be a pin that supports interrupts. Exactly one of `step_pin` or `index_pin` is required.","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"max_speed","type":"float","label":"Max Speed","description":"The maximum speed in `steps/s` (steps per seconds) to drive the stepper at. Note most steppers can't step properly with speeds higher than 250 steps/s.","required":true,"display_format":null,"help_link":"https://esphome.io/components/stepper/#base-stepper-configuration"},{"key":"step_pin","type":"pin","label":"Step Pin","description":"**Required — set exactly one of:** `index_pin`, `step_pin`.\n\n**Set together — all of these must be set, or all left blank:** `step_pin`, `dir_pin`.\n\nThe `STEP` pin of the driver. Enables STEP/DIR mode. Exactly one of `step_pin` or `index_pin` is required.","display_format":null,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Specify the ID of the stepper so that you can control it.","advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"acceleration","type":"float","label":"Acceleration","description":"The acceleration in `steps/s^2` (steps per seconds squared) to use when starting to move. The default is `inf` which means infinite acceleration, so the stepper will try to drive with the full speed immediately. This value is helpful if that first motion of the motor is too jerky for what it's moving. If you make this a small number, it will take the motor a moment to get up to speed.","default_value":"inf","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/#base-stepper-configuration"},{"key":"analog_current_scale","type":"boolean","label":"Analog Current Scale","description":"Scale the motor current with the voltage on the `VREF` pin of the driver. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"clock_frequency","type":"integer","label":"Clock Frequency","description":"The clock frequency of the driver. Only used to convert the speed in UART speed control mode. Change this when the driver runs from an external clock. Defaults to `12MHz`.","default_value":"12MHz","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"deceleration","type":"float","label":"Deceleration","description":"The same as `acceleration`, but for when the motor is decelerating shortly before reaching the set position. Defaults to `inf` (immediate deceleration).","default_value":"inf","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/#base-stepper-configuration"},{"key":"hold_current","type":"float","label":"Hold Current","description":"The motor current at standstill, in A RMS.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"microsteps","type":"string","label":"Microsteps","description":"The number of microsteps per full step. One of `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128` or `256`. Written to the driver at startup, which then ignores the `MS1` and `MS2` pins. Default: `16`.","default_value":"16","options":[{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"4","value":"4"},{"label":"8","value":"8"},{"label":"16","value":"16"},{"label":"32","value":"32"},{"label":"64","value":"64"},{"label":"128","value":"128"},{"label":"256","value":"256"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"ottrim","type":"integer","label":"Ottrim","description":"The overtemperature thresholds, `0` to `3`. See the `OTTRIM` setting in the datasheet. When not set, the driver setting is not changed.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"rsense","type":"string","label":"Rsense","description":"The value of the external sense resistors on the driver module, for example `110 mOhm`. Used to convert currents to driver settings. When not set, the driver is switched to its internal sense resistors, which only works on boards designed for it. Most driver modules have external sense resistors.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"run_current","type":"float","label":"Run Current","description":"The motor current while running, in A RMS. Values above the maximum of the driver are limited to the maximum and a warning is logged. The maximum is shown in the log at startup.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"vsense","type":"boolean","label":"Vsense","description":"Use the high sensitivity sense voltage range. This lowers the maximum current and gives finer current steps, useful for small motors. When not set, the driver setting is not changed.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/stepper/tmc2209/#configuration-variables"}],"required_groups":[{"kind":"exactly_one","keys":["index_pin","step_pin"]},{"kind":"none_or_all","keys":["step_pin","dir_pin"]}]} diff --git a/esphome_device_builder/definitions/components/switch.airton_serial.json b/esphome_device_builder/definitions/components/switch.airton_serial.json index 9be463de60..19491ab9f7 100644 --- a/esphome_device_builder/definitions/components/switch.airton_serial.json +++ b/esphome_device_builder/definitions/components/switch.airton_serial.json @@ -1 +1 @@ -{"id":"switch.airton_serial","name":"Airton Serial Climate","description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","category":"switch","dependencies":["uart","airton_serial"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"airton_serial_id","type":"id","label":"Airton Serial ID","display_format":null,"references_component":"airton_serial"},{"key":"display","type":"nested","label":"Display","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"eco","type":"nested","label":"Eco","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"health","type":"nested","label":"Health","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ionizer","type":"nested","label":"Ionizer","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"sleep","type":"nested","label":"Sleep","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["display","id"],["eco","id"],["health","id"],["ionizer","id"],["sleep","id"]]}} +{"id":"switch.airton_serial","name":"Airton Serial Climate","description":"The `airton_serial` climate platform controls Airton air conditioners that use the serial link between the indoor unit and its Wi-Fi module. The ESP takes the role of the original module and talks directly to the climate board (address `0x21`).","category":"switch","docs_url":"https://esphome.io/components/climate/airton_serial/","image_url":"https://esphome.io/images/air-conditioner.svg","dependencies":["uart","airton_serial"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"airton_serial_id","type":"id","label":"Airton Serial ID","display_format":null,"references_component":"airton_serial"},{"key":"display","type":"nested","label":"Display","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"eco","type":"nested","label":"Eco","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"health","type":"nested","label":"Health","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ionizer","type":"nested","label":"Ionizer","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"sleep","type":"nested","label":"Sleep","display_format":null,"advanced":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["display","id"],["eco","id"],["health","id"],["ionizer","id"],["sleep","id"]]}} diff --git a/esphome_device_builder/definitions/components/switch.bq25186.json b/esphome_device_builder/definitions/components/switch.bq25186.json index b94ed3fb6f..a39b9edf0d 100644 --- a/esphome_device_builder/definitions/components/switch.bq25186.json +++ b/esphome_device_builder/definitions/components/switch.bq25186.json @@ -1 +1 @@ -{"id":"switch.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `switch` platform. All options from [Switch](https://esphome.io/components/switch/).","category":"switch","dependencies":["bq25186"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186"},{"key":"pg_gpo","type":"nested","label":"Pg Gpo","description":"Control the `/PG/GPO` pin as a general purpose output. When configured, the hub switches the pin from power-good reporting to GPO mode at boot; the `restore_mode` of the switch decides the initial level.","required":true,"display_format":null,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"switch":[["pg_gpo","id"]]}} +{"id":"switch.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `switch` platform. All options from [Switch](https://esphome.io/components/switch/).","category":"switch","docs_url":"https://esphome.io/components/bq25186/","image_url":"https://esphome.io/images/badges/bq25186.svg","dependencies":["bq25186"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186","help_link":"https://esphome.io/components/bq25186/#switch"},{"key":"pg_gpo","type":"nested","label":"Pg Gpo","description":"Control the `/PG/GPO` pin as a general purpose output. When configured, the hub switches the pin from power-good reporting to GPO mode at boot; the `restore_mode` of the switch decides the initial level.","required":true,"display_format":null,"help_link":"https://esphome.io/components/bq25186/#switch","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"switch":[["pg_gpo","id"]]}} diff --git a/esphome_device_builder/definitions/components/switch.dfrobot_sen0609.json b/esphome_device_builder/definitions/components/switch.dfrobot_sen0609.json index 68ec60a2ac..dc60254f12 100644 --- a/esphome_device_builder/definitions/components/switch.dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/switch.dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"switch.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"switch","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"micro_motion","type":"nested","label":"Micro Motion","description":"Detection of small movements. Only in `speed_and_distance` mode; configuration validation fails otherwise. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"out_led","type":"nested","label":"Out LED","description":"The module's LED that lights while a target is detected. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"run_led","type":"nested","label":"Run LED","description":"The module's run LED. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["micro_motion","id"],["out_led","id"],["run_led","id"]]}} +{"id":"switch.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The `dfrobot_sen0609` component lets you use the DFRobot SEN0609 and SEN0610 24GHz mmWave radars (C4001 family) with ESPHome. The radar reports human presence and, in speed and distance mode, the distance, speed and signal energy of a moving target. The SEN0609 has a detection range of up to 25 m and the SEN0610 up to 12 m.","category":"switch","docs_url":"https://esphome.io/components/dfrobot_sen0609/","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["uart","dfrobot_sen0609"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-5"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"micro_motion","type":"nested","label":"Micro Motion","description":"Detection of small movements. Only in `speed_and_distance` mode; configuration validation fails otherwise. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-5","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:motion-sensor","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"out_led","type":"nested","label":"Out LED","description":"The module's LED that lights while a target is detected. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-5","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"run_led","type":"nested","label":"Run LED","description":"The module's run LED. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-5","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:lightbulb","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["micro_motion","id"],["out_led","id"],["run_led","id"]]}} diff --git a/esphome_device_builder/definitions/components/switch.ecocomfort2.json b/esphome_device_builder/definitions/components/switch.ecocomfort2.json index fd915f94c7..1d2798bc84 100644 --- a/esphome_device_builder/definitions/components/switch.ecocomfort2.json +++ b/esphome_device_builder/definitions/components/switch.ecocomfort2.json @@ -1 +1 @@ -{"id":"switch.ecocomfort2","name":"Ecocomfort2","description":"","category":"switch","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["switch"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2"},{"key":"humidity_advanced","type":"nested","label":"Humidity Advanced","description":"Advanced control for humidity: as the reading approaches the threshold, the unit raises its speed by one level. It needs `humidity_threshold` above `0`; turning it on while the threshold is `0` is refused with a warning in the log, and the switch stays off. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan-plus","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voc_advanced","type":"nested","label":"VOC Advanced","description":"The same for volatile organic compounds, with `voc_threshold`. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan-plus","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"switch":[["humidity_advanced","id"],["voc_advanced","id"]]}} +{"id":"switch.ecocomfort2","name":"Ecocomfort2","description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","category":"switch","docs_url":"https://esphome.io/components/ecocomfort2","image_url":"https://esphome.io/images/fan.svg","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["switch"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-6"},{"key":"humidity_advanced","type":"nested","label":"Humidity Advanced","description":"Advanced control for humidity: as the reading approaches the threshold, the unit raises its speed by one level. It needs `humidity_threshold` above `0`; turning it on while the threshold is `0` is refused with a warning in the log, and the switch stays off. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-6","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan-plus","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"voc_advanced","type":"nested","label":"VOC Advanced","description":"The same for volatile organic compounds, with `voc_threshold`. All options from [Switch](https://esphome.io/components/switch/).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-6","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fan-plus","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"switch":[["humidity_advanced","id"],["voc_advanced","id"]]}} diff --git a/esphome_device_builder/definitions/components/switch.espectre.json b/esphome_device_builder/definitions/components/switch.espectre.json index 63a59e57e3..4fa4b57fc0 100644 --- a/esphome_device_builder/definitions/components/switch.espectre.json +++ b/esphome_device_builder/definitions/components/switch.espectre.json @@ -1 +1 @@ -{"id":"switch.espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The switch pauses and resumes sensing. Wi-Fi stays connected. It is a configuration entity.","category":"switch","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["espectre"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["switch"],"config_entries":[{"key":"espectre_id","type":"id","label":"Espectre ID","description":"ID of the ESPectre component. Automatically selected when omitted.","display_format":null,"references_component":"espectre","help_link":"https://esphome.io/components/espectre/"},{"key":"sensing","type":"nested","label":"Sensing","description":"All options from [Switch](https://esphome.io/components/switch/), except `inverted`. `restore_mode` defaults to `RESTORE_DEFAULT_ON`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radar","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}],"provides_id_paths":{"switch":[["sensing","id"]]}} +{"id":"switch.espectre","name":"ESPectre Wi-Fi Motion Detection","description":"The switch pauses and resumes sensing. Wi-Fi stays connected. It is a configuration entity.","category":"switch","docs_url":"https://esphome.io/components/espectre/","image_url":"https://esphome.io/images/espectre.svg","dependencies":["espectre"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["switch"],"config_entries":[{"key":"espectre_id","type":"id","label":"Espectre ID","description":"ID of the ESPectre component. Automatically selected when omitted.","display_format":null,"references_component":"espectre","help_link":"https://esphome.io/components/espectre/#switch"},{"key":"sensing","type":"nested","label":"Sensing","description":"All options from [Switch](https://esphome.io/components/switch/), except `inverted`. `restore_mode` defaults to `RESTORE_DEFAULT_ON`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/espectre/#switch","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:radar","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["motion","calibrating"]}],"provides_id_paths":{"switch":[["sensing","id"]]}} diff --git a/esphome_device_builder/definitions/components/switch.haier_tundra.json b/esphome_device_builder/definitions/components/switch.haier_tundra.json index 38581d6b38..f325feca97 100644 --- a/esphome_device_builder/definitions/components/switch.haier_tundra.json +++ b/esphome_device_builder/definitions/components/switch.haier_tundra.json @@ -1 +1 @@ -{"id":"switch.haier_tundra","name":"Haier Tundra","description":"","category":"switch","dependencies":["haier_tundra"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"haier_tundra_id","type":"id","label":"Haier Tundra ID","required":true,"display_format":null,"references_component":"haier_tundra"},{"key":"health_mode","type":"nested","label":"Health Mode","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:leaf","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"quiet_mode","type":"nested","label":"Quiet Mode","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:arrow-down-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"turbo_mode","type":"nested","label":"Turbo Mode","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:arrow-up-right-bold","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["health_mode","id"],["quiet_mode","id"],["turbo_mode","id"]]}} +{"id":"switch.haier_tundra","name":"Haier Tundra","description":"","category":"switch","docs_url":"https://esphome.io/components/climate/climate_ir#haier_tundra","dependencies":["haier_tundra"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"haier_tundra_id","type":"id","label":"Haier Tundra ID","required":true,"display_format":null,"references_component":"haier_tundra"},{"key":"health_mode","type":"nested","label":"Health Mode","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:leaf","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"quiet_mode","type":"nested","label":"Quiet Mode","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:arrow-down-right","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"turbo_mode","type":"nested","label":"Turbo Mode","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:arrow-up-right-bold","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["health_mode","id"],["quiet_mode","id"],["turbo_mode","id"]]}} diff --git a/esphome_device_builder/definitions/components/switch.ld6004.json b/esphome_device_builder/definitions/components/switch.ld6004.json index c824a9c3a2..828f0f7b54 100644 --- a/esphome_device_builder/definitions/components/switch.ld6004.json +++ b/esphome_device_builder/definitions/components/switch.ld6004.json @@ -1 +1 @@ -{"id":"switch.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` switch platform enables point-cloud output and target reporting.","category":"switch","dependencies":["ld6004"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004"},{"key":"point_cloud","type":"nested","label":"Point Cloud","description":"Enable or disable point-cloud reporting, which is what `point_count` reads. All options from [Switch](https://esphome.io/components/switch/#config-switch).","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_display","type":"nested","label":"Target Display","description":"Enable or disable target reporting (`0x0A04`). If disabled, target sensors show `unknown` and the per-target `target_1` to `target_3` binary sensors turn off until re-enabled. The overall `target` binary sensor also follows detection-area presence, which keeps updating from area reports, so it can stay on. All options from [Switch](https://esphome.io/components/switch/#config-switch).","display_format":null,"advanced":true,"platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["point_cloud","id"],["target_display","id"]]}} +{"id":"switch.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` switch platform enables point-cloud output and target reporting.","category":"switch","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["ld6004"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-6"},{"key":"point_cloud","type":"nested","label":"Point Cloud","description":"Enable or disable point-cloud reporting, which is what `point_count` reads. All options from [Switch](https://esphome.io/components/switch/#config-switch).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-6","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"target_display","type":"nested","label":"Target Display","description":"Enable or disable target reporting (`0x0A04`). If disabled, target sensors show `unknown` and the per-target `target_1` to `target_3` binary sensors turn off until re-enabled. The overall `target` binary sensor also follows detection-area presence, which keeps updating from area reports, so it can stay on. All options from [Switch](https://esphome.io/components/switch/#config-switch).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-6","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","default_value":"switch","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["point_cloud","id"],["target_display","id"]]}} diff --git a/esphome_device_builder/definitions/components/switch.m5stack_4relay.json b/esphome_device_builder/definitions/components/switch.m5stack_4relay.json index 7a58228a51..4449acfcd8 100644 --- a/esphome_device_builder/definitions/components/switch.m5stack_4relay.json +++ b/esphome_device_builder/definitions/components/switch.m5stack_4relay.json @@ -1 +1 @@ -{"id":"switch.m5stack_4relay","name":"M5Stack 4-Relay Switch","description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","category":"switch","dependencies":["m5stack_4relay"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Defaults to `DISABLED`. The unit keeps its relays while it stays powered, so after a reboot of the ESP a switch shows the relay as it is instead of changing it. Set one of the other [restore modes](https://esphome.io/components/switch/#config-switch) to drive the relay at boot.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"channel","type":"integer","label":"Channel","description":"The relay to control, `1` to `4`.","required":true,"range":[1,4],"display_format":null},{"key":"m5stack_4relay_id","type":"id","label":"M5Stack 4Relay ID","description":"The unit the relay belongs to. Required with more than one unit.","display_format":null,"references_component":"m5stack_4relay"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"switch.m5stack_4relay","name":"M5Stack 4-Relay Switch","description":"The `m5stack_4relay` component controls the four relays of the [M5Stack 4-Relay Unit](https://docs.m5stack.com/en/unit/4relay) over [I²C](https://esphome.io/components/i2c/). Each relay switches up to 250 V AC or 28 V DC at 10 A, and the unit's LEDs follow the relays.","category":"switch","docs_url":"https://esphome.io/components/switch/m5stack_4relay/","image_url":"https://esphome.io/images/m5stack_4relay.webp","dependencies":["m5stack_4relay"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Defaults to `DISABLED`. The unit keeps its relays while it stays powered, so after a reboot of the ESP a switch shows the relay as it is instead of changing it. Set one of the other [restore modes](https://esphome.io/components/switch/#config-switch) to drive the relay at boot.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"help_link":"https://esphome.io/components/switch/m5stack_4relay/#switch-configuration-variables"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"channel","type":"integer","label":"Channel","description":"The relay to control, `1` to `4`.","required":true,"range":[1,4],"display_format":null,"help_link":"https://esphome.io/components/switch/m5stack_4relay/#switch-configuration-variables"},{"key":"m5stack_4relay_id","type":"id","label":"M5Stack 4Relay ID","description":"The unit the relay belongs to. Required with more than one unit.","display_format":null,"references_component":"m5stack_4relay","help_link":"https://esphome.io/components/switch/m5stack_4relay/#switch-configuration-variables"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/switch/m5stack_4relay/#hub-configuration-variables"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/switch.seeed_multi_channel_relay.json b/esphome_device_builder/definitions/components/switch.seeed_multi_channel_relay.json index 1ef73bffae..ffbda62a19 100644 --- a/esphome_device_builder/definitions/components/switch.seeed_multi_channel_relay.json +++ b/esphome_device_builder/definitions/components/switch.seeed_multi_channel_relay.json @@ -1 +1 @@ -{"id":"switch.seeed_multi_channel_relay","name":"Seeed Studio Multi-Channel Relay Switch","description":"Each relay is a `switch` of the `seeed_multi_channel_relay` platform.","category":"switch","dependencies":["seeed_multi_channel_relay"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"The board powers up with every relay off, so the default `RESTORE_DEFAULT_OFF` matches the hardware. `DISABLED` behaves like `ALWAYS_OFF` here, because the component cannot leave a relay alone: it has to write all eight channels at once. See [Switch](https://esphome.io/components/switch/#config-switch).","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"channel","type":"integer","label":"Channel","description":"The relay to control: `1` to `4` on the 4-channel board, `1` to `8` on the 8-channel board. The component cannot tell the boards apart, so a channel the board does not have is accepted and does nothing. Each channel can be used once per board.","required":true,"range":[1,8],"display_format":null},{"key":"seeed_multi_channel_relay_id","type":"id","label":"Seeed Multi Channel Relay ID","description":"The board the relay belongs to. Required with more than one board.","display_format":null,"references_component":"seeed_multi_channel_relay"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"switch.seeed_multi_channel_relay","name":"Seeed Studio Multi-Channel Relay Switch","description":"Each relay is a `switch` of the `seeed_multi_channel_relay` platform.","category":"switch","docs_url":"https://esphome.io/components/switch/seeed_multi_channel_relay/","image_url":"https://esphome.io/images/seeed_multi_channel_relay.webp","dependencies":["seeed_multi_channel_relay"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"The board powers up with every relay off, so the default `RESTORE_DEFAULT_OFF` matches the hardware. `DISABLED` behaves like `ALWAYS_OFF` here, because the component cannot leave a relay alone: it has to write all eight channels at once. See [Switch](https://esphome.io/components/switch/#config-switch).","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"help_link":"https://esphome.io/components/switch/seeed_multi_channel_relay/#switch"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"channel","type":"integer","label":"Channel","description":"The relay to control: `1` to `4` on the 4-channel board, `1` to `8` on the 8-channel board. The component cannot tell the boards apart, so a channel the board does not have is accepted and does nothing. Each channel can be used once per board.","required":true,"range":[1,8],"display_format":null,"help_link":"https://esphome.io/components/switch/seeed_multi_channel_relay/#switch"},{"key":"seeed_multi_channel_relay_id","type":"id","label":"Seeed Multi Channel Relay ID","description":"The board the relay belongs to. Required with more than one board.","display_format":null,"references_component":"seeed_multi_channel_relay","help_link":"https://esphome.io/components/switch/seeed_multi_channel_relay/#switch"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/switch.tas58xx.json b/esphome_device_builder/definitions/components/switch.tas58xx.json index b668ab08db..56b7557e51 100644 --- a/esphome_device_builder/definitions/components/switch.tas58xx.json +++ b/esphome_device_builder/definitions/components/switch.tas58xx.json @@ -1 +1 @@ -{"id":"switch.tas58xx","name":"TAS58xx","description":"The `activate` switch activates the amplifier or puts it into deep sleep. Turning the switch ON does the `tas58xx.activate` action, and turning it OFF does `tas58xx.deactivate`.","category":"switch","docs_url":"https://esphome.io/components/audio_dac/tas58xx/","image_url":"https://esphome.io/images/badges/tas5805m.svg","dependencies":["tas58xx"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"tas58xx_id","type":"id","label":"Tas58Xx ID","description":"The ID of the `tas58xx` platform. Required when more than one amplifier is configured.","display_format":null,"references_component":"tas58xx","help_link":"https://esphome.io/components/audio_dac/tas58xx/"},{"key":"id","type":"id","label":"ID","description":"The ID of the tas58xx platform. All Audio DAC Automations are supported by this platform as well.","advanced":true,"help_link":"https://esphome.io/components/audio_dac/tas58xx/#configuration-variables"},{"key":"activate","type":"nested","label":"Activate","description":"ON activates the amplifier, OFF puts it into deep sleep. All options from [Switch](https://esphome.io/components/switch/), except `restore_mode`, `restore_state` and `initial_state`. Defaults to the `config` entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/tas58xx/","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["activate","id"]]}} +{"id":"switch.tas58xx","name":"TAS58xx","description":"The `activate` switch activates the amplifier or puts it into deep sleep. Turning the switch ON does the `tas58xx.activate` action, and turning it OFF does `tas58xx.deactivate`.","category":"switch","docs_url":"https://esphome.io/components/audio_dac/tas58xx/","image_url":"https://esphome.io/images/badges/tas5805m.svg","dependencies":["tas58xx"],"multi_conf":true,"provides":["switch"],"config_entries":[{"key":"tas58xx_id","type":"id","label":"Tas58Xx ID","description":"The ID of the `tas58xx` platform. Required when more than one amplifier is configured.","display_format":null,"references_component":"tas58xx","help_link":"https://esphome.io/components/audio_dac/tas58xx/#switch-configuration-variables"},{"key":"id","type":"id","label":"ID","description":"The ID of the tas58xx platform. All Audio DAC Automations are supported by this platform as well.","advanced":true,"help_link":"https://esphome.io/components/audio_dac/tas58xx/#configuration-variables"},{"key":"activate","type":"nested","label":"Activate","description":"ON activates the amplifier, OFF puts it into deep sleep. All options from [Switch](https://esphome.io/components/switch/), except `restore_mode`, `restore_state` and `initial_state`. Defaults to the `config` entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/audio_dac/tas58xx/#switch-configuration-variables","platform_type":"switch","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name of the switch. At least one of **id** and **name** must be specified.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"restore_mode","type":"string","label":"Restore Mode","description":"Control how the switch attempts to restore state on bootup. **NOTE** : Not all components consider **restore_mode**. Check the documentation of the specific component to understand how this feature works for a particular component or device. For restoring on ESP8266s, also see `restore_from_flash` in the [esp8266 section](https://esphome.io/components/esp8266/). Unless a specific platform defines another default value, the default is `ALWAYS_OFF`. Mutually exclusive with **restore_state**.","default_value":"ALWAYS_OFF","options":[{"label":"RESTORE_DEFAULT_OFF","value":"RESTORE_DEFAULT_OFF","description":"Attempt to restore state and default to OFF if not possible to restore."},{"label":"RESTORE_DEFAULT_ON","value":"RESTORE_DEFAULT_ON","description":"Attempt to restore state and default to ON."},{"label":"ALWAYS_OFF","value":"ALWAYS_OFF","description":"Always initialize the switch as OFF on bootup."},{"label":"ALWAYS_ON","value":"ALWAYS_ON","description":"Always initialize the switch as ON on bootup."},{"label":"RESTORE_INVERTED_DEFAULT_OFF","value":"RESTORE_INVERTED_DEFAULT_OFF","description":"Attempt to restore state inverted from the previous state and default to OFF."},{"label":"RESTORE_INVERTED_DEFAULT_ON","value":"RESTORE_INVERTED_DEFAULT_ON","description":"Attempt to restore state inverted from the previous state and default to ON."},{"label":"DISABLED","value":"DISABLED","description":"Does nothing and leaves it up to the downstream platform component to decide. For example, the component could read hardware and determine the state, or have a specific configuration option to regulate initial state."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"inverted","type":"boolean","label":"Inverted","description":"Whether to invert the binary state, i.e. report ON states as OFF and vice versa. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"zigbee_switch","type":"id","label":"Zigbee Switch","depends_on_component":"zigbee","advanced":true,"supported_platforms":["nrf52"]},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the switch. See [https://www.home-assistant.io/integrations/switch/#device-class](https://www.home-assistant.io/integrations/switch/#device-class) for a list of available options.","options":[{"label":"(none)","value":""},{"label":"outlet","value":"outlet"},{"label":"switch","value":"switch"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"cluster","type":"string","label":"Cluster","default_value":"generic","options":[{"label":"generic","value":"generic"},{"label":"on_off","value":"on_off"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"command_retain","type":"boolean","label":"Command Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"command_topic","type":"string","label":"Command Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"endpoint","type":"integer","label":"Endpoint","range":[1,239],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"config","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"initial_state","type":"boolean","label":"Initial State","description":"The state (`ON` or `OFF`) the switch starts in when nothing is restored: on the first boot, and after a power cut when the state is kept in RTC memory (`restore_state: {storage: rtc}`), where restarts and OTA updates keep the last state instead. Can't be combined with **restore_mode**; use **restore_state** instead. Defaults to `OFF`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"report","type":"string","label":"Report","options":[{"label":"coordinator","value":"coordinator"},{"label":"enable","value":"enable"},{"label":"force","value":"force"},{"label":"default","value":"default"}],"display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"restore_state","type":"nested","label":"Restore State","description":"Save the switch's state and restore it on bootup. Mutually exclusive with **restore_mode**. If nothing has been saved yet, the switch starts in **initial_state**. Accepts a mapping, or the shorthand `all` (restore the saved state as-is) or `none` (nothing is restored and the switch starts in **initial_state**). After changing **storage**, the first restart may find nothing saved yet and start in **initial_state**.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration","platform_type":"switch","config_entries":[{"key":"state","type":"string","label":"State","description":"`KEEP` (default) to restore the saved state as-is, `INVERT` to restore it inverted, or `INITIAL` to always start in **initial_state** instead. Unlike lights, a switch can't restore and then force `ON` or `OFF`; to always start in a fixed state, set **initial_state** with `restore_state: none`.","default_value":"KEEP","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"},{"key":"storage","type":"string","label":"Storage","description":"Where the state is saved. `flash` survives power loss. `rtc` stores it in RTC memory, which survives software reboots (restarts, OTA updates, crashes) and deep sleep but **not** power loss. When not set, the platform's usual storage is used: flash on ESP32, and on ESP8266 RTC memory unless `restore_from_flash` is enabled. `rtc` is available on ESP32 (except the C2 and C61 variants, which have no RTC memory), ESP8266 and the Beken BK7231T, BK7231N and BK7238; elsewhere only `flash` is available and `rtc` is rejected. These Beken chips have no RTC memory: there `rtc` keeps the state in flash and forgets it after a power cut, so it does not avoid flash wear. Not allowed with `state: INITIAL`, which never restores anything.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/switch/#base-switch-configuration"}]},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"use_device_type","type":"boolean","label":"Use Device Type","display_format":null,"depends_on_component":"zigbee","advanced":true,"supported_platforms":["esp32"]},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"switch":[["activate","id"]]}} diff --git a/esphome_device_builder/definitions/components/tca8418.json b/esphome_device_builder/definitions/components/tca8418.json index aba3b54c15..38048a848e 100644 --- a/esphome_device_builder/definitions/components/tca8418.json +++ b/esphome_device_builder/definitions/components/tca8418.json @@ -1 +1 @@ -{"id":"tca8418","name":"TCA8418 Keypad","description":"The `tca8418` component allows you to use a TCA8418 keypad scanner ([datasheet](https://www.ti.com/lit/ds/symlink/tca8418.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this device to work.","category":"misc","dependencies":["i2c"],"multi_conf":true,"provides":["key_provider"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x34`.","default_value":"52","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The pin the device's interrupt output is connected to. When set, the component leaves the device alone until the interrupt says there is something to read, instead of asking it regularly. That saves I²C traffic and processing time while the keypad is idle; it does not make a key press arrive noticeably sooner, since either way one is picked up within a few milliseconds. The output is open drain and active low, so it needs a pull-up; set `mode: INPUT_PULLUP` unless the board already has one of its own.","display_format":null,"config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Set the ID of this device for use in lambdas.","advanced":true},{"key":"columns","type":"integer","label":"Columns","description":"**Set together with:** `rows` (all-or-none).\n\nThe number of columns in the key matrix, `1` to `10`. The matrix occupies the `COL` lines starting at `COL0`.","range":[1,10],"display_format":null,"advanced":true,"group":"matrix"},{"key":"gpi_events","type":"boolean","label":"Gpi Events","description":"Report the pins that are not part of the key matrix as individual inputs. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true},{"key":"keys","type":"string","label":"Keys","description":"The keys present on the matrix, from top left to bottom right, row by row. It must have exactly `rows` × `columns` characters. Required for `key_collector`, and for selecting a `binary_sensor` by its character.","display_format":null,"advanced":true},{"key":"rows","type":"integer","label":"Rows","description":"**Set together with:** `columns` (all-or-none).\n\nThe number of rows in the key matrix, `1` to `8`. The matrix occupies the `ROW` lines starting at `ROW0`. Set together with `columns`; leave both out for no key matrix.","range":[1,8],"display_format":null,"advanced":true,"group":"matrix"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"required_groups":[{"kind":"exactly_one","keys":["row","key","key_code"]}]} +{"id":"tca8418","name":"TCA8418 Keypad","description":"The `tca8418` component allows you to use a TCA8418 keypad scanner ([datasheet](https://www.ti.com/lit/ds/symlink/tca8418.pdf)) with ESPHome. The [I²C Bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this device to work.","category":"misc","docs_url":"https://esphome.io/components/tca8418/","image_url":"https://esphome.io/images/matrix_keypad.jpg","dependencies":["i2c"],"multi_conf":true,"provides":["key_provider"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of the device. Defaults to `0x34`.","default_value":"52","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/tca8418/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The pin the device's interrupt output is connected to. When set, the component leaves the device alone until the interrupt says there is something to read, instead of asking it regularly. That saves I²C traffic and processing time while the keypad is idle; it does not make a key press arrive noticeably sooner, since either way one is picked up within a few milliseconds. The output is open drain and active low, so it needs a pull-up; set `mode: INPUT_PULLUP` unless the board already has one of its own.","display_format":null,"help_link":"https://esphome.io/components/tca8418/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","description":"Set the ID of this device for use in lambdas.","advanced":true,"help_link":"https://esphome.io/components/tca8418/#configuration-variables"},{"key":"columns","type":"integer","label":"Columns","description":"**Set together with:** `rows` (all-or-none).\n\nThe number of columns in the key matrix, `1` to `10`. The matrix occupies the `COL` lines starting at `COL0`.","range":[1,10],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca8418/#configuration-variables","group":"matrix"},{"key":"gpi_events","type":"boolean","label":"Gpi Events","description":"Report the pins that are not part of the key matrix as individual inputs. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca8418/#configuration-variables"},{"key":"keys","type":"string","label":"Keys","description":"The keys present on the matrix, from top left to bottom right, row by row. It must have exactly `rows` × `columns` characters. Required for `key_collector`, and for selecting a `binary_sensor` by its character.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca8418/#configuration-variables"},{"key":"rows","type":"integer","label":"Rows","description":"**Set together with:** `columns` (all-or-none).\n\nThe number of rows in the key matrix, `1` to `8`. The matrix occupies the `ROW` lines starting at `ROW0`. Set together with `columns`; leave both out for no key matrix.","range":[1,8],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca8418/#configuration-variables","group":"matrix"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"required_groups":[{"kind":"exactly_one","keys":["row","key","key_code"]}]} diff --git a/esphome_device_builder/definitions/components/tca9548a.json b/esphome_device_builder/definitions/components/tca9548a.json index 3dd40755f9..2e86cff93d 100644 --- a/esphome_device_builder/definitions/components/tca9548a.json +++ b/esphome_device_builder/definitions/components/tca9548a.json @@ -1 +1 @@ -{"id":"tca9548a","name":"TCA9548A I²C Multiplexer","description":"The TCA9548A component allows you to use TCA9548A as a I²C multiplexer ([datasheet](https://www.ti.com/lit/ds/symlink/tca9548a.pdf), [AdaFruit](https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"misc","docs_url":"https://esphome.io/components/tca9548a/","image_url":"https://esphome.io/images/tca9548a.jpg","dependencies":["i2c"],"multi_conf":true,"provides":["i2c"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the multiplexer. Defaults to `0x70`.","default_value":"112","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The upstream I²C bus to use. Required when more than one I²C bus is configured.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"The id to use for this TCA9548A component.","advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"channels","type":"nested","label":"Channels","description":"The virtual I²C bus channels","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables","config_entries":[{"key":"bus_id","type":"id","label":"Bus ID","description":"The id to use for this virtual I²C bus.","required":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"channel","type":"integer","label":"Channel","description":"The channel (0-7) to use for this virtual I²C bus.","required":true,"range":[0,7],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"frequency","type":"float_with_unit","label":"Frequency","description":"The frequency for the devices on this virtual I²C bus. Defaults to the multiplexer's frequency, or the main bus frequency. On nRF52 the controller only distinguishes standard (100 kHz) and fast (400 kHz and above) mode, so other values round to one of those.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables","unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]}]},{"key":"frequency","type":"float_with_unit","label":"Frequency","description":"The frequency the multiplexer itself is addressed at, and the default for its channels. Set it when the main bus runs faster than the multiplexer supports, 400 kHz for the TCA9548A. Without it the multiplexer is addressed at the main bus frequency, or at the slower of the main bus and the channel frequency when the channel sets one.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables","unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"i2c":[["channels","bus_id"]]}} +{"id":"tca9548a","name":"TCA9548A I²C Multiplexer","description":"The TCA9548A component allows you to use TCA9548A as a I²C multiplexer ([datasheet](https://www.ti.com/lit/ds/symlink/tca9548a.pdf), [AdaFruit](https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout)) in ESPHome. It uses [I²C Bus](https://esphome.io/components/i2c/) for communication.","category":"misc","docs_url":"https://esphome.io/components/tca9548a/","image_url":"https://esphome.io/images/tca9548a.jpg","dependencies":["i2c"],"multi_conf":true,"provides":["i2c"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the multiplexer. Defaults to `0x70`.","default_value":"112","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","description":"The upstream I²C bus to use. Required when more than one I²C bus is configured.","display_format":null,"references_component":"i2c","help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"The id to use for this TCA9548A component.","advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"channels","type":"nested","label":"Channels","description":"The virtual I²C bus channels.","default_value":"[]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables","config_entries":[{"key":"bus_id","type":"id","label":"Bus ID","description":"The id to use for this virtual I²C bus.","required":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"channel","type":"integer","label":"Channel","description":"The channel (0-7) to use for this virtual I²C bus.","required":true,"range":[0,7],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables"},{"key":"frequency","type":"float_with_unit","label":"Frequency","description":"The frequency for the devices on this virtual I²C bus. Defaults to the multiplexer's frequency, or the main bus frequency. On nRF52 the controller only distinguishes standard (100 kHz) and fast (400 kHz and above) mode, so other values round to one of those.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables","unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]}]},{"key":"frequency","type":"float_with_unit","label":"Frequency","description":"The frequency the multiplexer itself is addressed at, and the default for its channels. Set it when the main bus runs faster than the multiplexer supports, 400 kHz for the TCA9548A. Without it the multiplexer is addressed at the main bus frequency, or at the slower of the main bus and the channel frequency when the channel sets one.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/tca9548a/#configuration-variables","unit_options":["Hz","nHz","µHz","mHz","kHz","MHz","GHz"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"i2c":[["channels","bus_id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.as734x.json b/esphome_device_builder/definitions/components/text_sensor.as734x.json index 8eb3974976..3b82df29e6 100644 --- a/esphome_device_builder/definitions/components/text_sensor.as734x.json +++ b/esphome_device_builder/definitions/components/text_sensor.as734x.json @@ -1 +1 @@ -{"id":"text_sensor.as734x","name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","description":"The `as734x` text sensor platform publishes the colour of the light as an sRGB hex string.","category":"text_sensor","dependencies":["as734x"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"as734x_id","type":"id","label":"As734X ID","description":"The ID of the `as734x` component to read from. Only needed when you have more than one `as734x` sensor.","display_format":null,"references_component":"as734x"},{"key":"rgb_hex","type":"nested","label":"RGB Hex","description":"The colour of the light as an sRGB hex string. All options from [Text Sensor](https://esphome.io/components/text_sensor/), or just a name as a shorthand.","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:palette","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["rgb_hex","id"]]}} +{"id":"text_sensor.as734x","name":"AS7341 / AS7343 / TCS3448 Spectral Color Sensor","description":"The `as734x` text sensor platform publishes the colour of the light as an sRGB hex string.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/as734x/","image_url":"https://esphome.io/images/as7341.jpg","dependencies":["as734x"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"as734x_id","type":"id","label":"As734X ID","description":"The ID of the `as734x` component to read from. Only needed when you have more than one `as734x` sensor.","display_format":null,"references_component":"as734x","help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-2"},{"key":"rgb_hex","type":"nested","label":"RGB Hex","description":"The colour of the light as an sRGB hex string. All options from [Text Sensor](https://esphome.io/components/text_sensor/), or just a name as a shorthand.","display_format":null,"help_link":"https://esphome.io/components/sensor/as734x/#configuration-variables-2","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:palette","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["rgb_hex","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.bq25186.json b/esphome_device_builder/definitions/components/text_sensor.bq25186.json index 935ce5f016..5ed256c761 100644 --- a/esphome_device_builder/definitions/components/text_sensor.bq25186.json +++ b/esphome_device_builder/definitions/components/text_sensor.bq25186.json @@ -1 +1 @@ -{"id":"text_sensor.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `text_sensor` platform. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","category":"text_sensor","dependencies":["bq25186"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186"},{"key":"charge_status","type":"nested","label":"Charge Status","description":"Human-readable charge status. One of `Not Charging`, `Constant Current`, `Constant Voltage`, `Charge Done/Disabled`.","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts_status","type":"nested","label":"Ts Status","description":"Human-readable TS status. One of `Normal`, `Hot/Cold (Charging Suspended)`, `Cool (Current Reduced)`, `Warm (Voltage Reduced)`.","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"text_sensor":[["charge_status","id"],["ts_status","id"]]}} +{"id":"text_sensor.bq25186","name":"Texas Instruments BQ25186 Battery Charger","description":"Configuration for `text_sensor` platform. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","category":"text_sensor","docs_url":"https://esphome.io/components/bq25186/","image_url":"https://esphome.io/images/badges/bq25186.svg","dependencies":["bq25186"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"bq25186_id","type":"id","label":"Bq25186 ID","description":"Manually specify the ID of the `bq25186` hub. Required when more than one hub is configured.","display_format":null,"references_component":"bq25186","help_link":"https://esphome.io/components/bq25186/#text-sensor"},{"key":"charge_status","type":"nested","label":"Charge Status","description":"Human-readable charge status. One of `Not Charging`, `Constant Current`, `Constant Voltage`, `Charge Done/Disabled`.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#text-sensor","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ts_status","type":"nested","label":"Ts Status","description":"Human-readable TS status. One of `Normal`, `Hot/Cold (Charging Suspended)`, `Cool (Current Reduced)`, `Warm (Voltage Reduced)`.","display_format":null,"help_link":"https://esphome.io/components/bq25186/#text-sensor","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["ts","charging","charge_done","ilim","vdppm","vindpm","thermreg","power_good","vin_ovp","battery_uvlo","safety_timer_flag","wake1_flag","wake2_flag","ts_flag","ilim_flag","vdppm_flag","vindpm_flag","thermreg_flag","vin_ovp_flag","battery_uvlo_flag","battery_ocp_flag"]}],"provides_id_paths":{"text_sensor":[["charge_status","id"],["ts_status","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.delta_wallbox.json b/esphome_device_builder/definitions/components/text_sensor.delta_wallbox.json index 2f3c674072..5f6985b160 100644 --- a/esphome_device_builder/definitions/components/text_sensor.delta_wallbox.json +++ b/esphome_device_builder/definitions/components/text_sensor.delta_wallbox.json @@ -1 +1 @@ -{"id":"text_sensor.delta_wallbox","name":"Delta Wallbox","description":"","category":"text_sensor","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["text_sensor"],"config_entries":[{"key":"bt_fw_version","type":"nested","label":"Bt Fw Version","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox"},{"key":"error_code","type":"nested","label":"Error Code","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fw_version","type":"nested","label":"Fw Version","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"model_name","type":"nested","label":"Model Name","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"serial_number","type":"nested","label":"Serial Number","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["bt_fw_version","id"],["error_code","id"],["fw_version","id"],["model_name","id"],["serial_number","id"]]}} +{"id":"text_sensor.delta_wallbox","name":"Delta AC Wallbox","description":"A Delta AC wallbox over Bluetooth in ESPHome.","category":"text_sensor","docs_url":"https://esphome.io/components/delta_wallbox","image_url":"https://esphome.io/images/delta-wallbox-ac-max.jpg","dependencies":["delta_wallbox"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["text_sensor"],"config_entries":[{"key":"bt_fw_version","type":"nested","label":"Bt Fw Version","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"delta_wallbox_id","type":"id","label":"Delta Wallbox ID","description":"The `delta_wallbox` hub. Only needed with more than one.","display_format":null,"references_component":"delta_wallbox","help_link":"https://esphome.io/components/delta_wallbox/#text-sensor"},{"key":"error_code","type":"nested","label":"Error Code","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fw_version","type":"nested","label":"Fw Version","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"model_name","type":"nested","label":"Model Name","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"serial_number","type":"nested","label":"Serial Number","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["bt_fw_version","id"],["error_code","id"],["fw_version","id"],["model_name","id"],["serial_number","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.dfrobot_sen0609.json b/esphome_device_builder/definitions/components/text_sensor.dfrobot_sen0609.json index 486b4ea53d..53f1cff9ce 100644 --- a/esphome_device_builder/definitions/components/text_sensor.dfrobot_sen0609.json +++ b/esphome_device_builder/definitions/components/text_sensor.dfrobot_sen0609.json @@ -1 +1 @@ -{"id":"text_sensor.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The versions are read from the module at boot.","category":"text_sensor","dependencies":["dfrobot_sen0609"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609"},{"key":"hardware_version","type":"nested","label":"Hardware Version","description":"The hardware version of the module. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"version","type":"nested","label":"Version","description":"The software version of the module. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true}],"provides_id_paths":{"text_sensor":[["hardware_version","id"],["version","id"]]}} +{"id":"text_sensor.dfrobot_sen0609","name":"DFRobot SEN0609 mmWave Radar","description":"The versions are read from the module at boot.","category":"text_sensor","docs_url":"https://esphome.io/components/dfrobot_sen0609/","image_url":"https://esphome.io/images/badges/sen0609.svg","dependencies":["dfrobot_sen0609"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"dfrobot_sen0609_id","type":"id","label":"Dfrobot Sen0609 ID","description":"The ID of the hub component. Required if you have multiple hubs configured.","display_format":null,"references_component":"dfrobot_sen0609","help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-3"},{"key":"hardware_version","type":"nested","label":"Hardware Version","description":"The hardware version of the module. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"version","type":"nested","label":"Version","description":"The software version of the module. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"help_link":"https://esphome.io/components/dfrobot_sen0609/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"id","type":"id","label":"ID","advanced":true}],"provides_id_paths":{"text_sensor":[["hardware_version","id"],["version","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.duco.json b/esphome_device_builder/definitions/components/text_sensor.duco.json index 25bc56818d..8803bbf610 100644 --- a/esphome_device_builder/definitions/components/text_sensor.duco.json +++ b/esphome_device_builder/definitions/components/text_sensor.duco.json @@ -1 +1 @@ -{"id":"text_sensor.duco","name":"Duco Ventilation","description":"The text sensor reports the serial number of the box.","category":"text_sensor","dependencies":["duco"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the serial number is read. Defaults to `300s`.","default_value":"300s","display_format":null,"duration_min_unit":"ms"},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"text_sensor.duco","name":"Duco Ventilation","description":"The text sensor reports the serial number of the box.","category":"text_sensor","docs_url":"https://esphome.io/components/duco/","image_url":"https://esphome.io/images/duco.svg","dependencies":["duco"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the serial number is read. Defaults to `300s`.","default_value":"300s","display_format":null,"help_link":"https://esphome.io/components/duco/#configuration-variables-3","duration_min_unit":"ms"},{"key":"duco_id","type":"id","label":"Duco ID","description":"The Duco component to use. Only needed with more than one.","display_format":null,"references_component":"duco","help_link":"https://esphome.io/components/duco/#configuration-variables-3"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/text_sensor.ecocomfort2.json b/esphome_device_builder/definitions/components/text_sensor.ecocomfort2.json index 156759f212..0b6247fe44 100644 --- a/esphome_device_builder/definitions/components/text_sensor.ecocomfort2.json +++ b/esphome_device_builder/definitions/components/text_sensor.ecocomfort2.json @@ -1 +1 @@ -{"id":"text_sensor.ecocomfort2","name":"Ecocomfort2","description":"","category":"text_sensor","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["text_sensor"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2"},{"key":"version","type":"nested","label":"Version","description":"The firmware version of the unit, read once per connection. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","required":true,"display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"text_sensor":[["version","id"]]}} +{"id":"text_sensor.ecocomfort2","name":"Ecocomfort2","description":"Instructions for controlling a Fantini Cosmi Ecocomfort 2.0 Smart ventilation unit over BLE in ESPHome.","category":"text_sensor","docs_url":"https://esphome.io/components/ecocomfort2","image_url":"https://esphome.io/images/fan.svg","dependencies":["ecocomfort2"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["text_sensor"],"config_entries":[{"key":"ecocomfort2_id","type":"id","label":"Ecocomfort2 ID","description":"The ID of the `ecocomfort2` hub. Only needed when more than one hub is configured.","display_format":null,"references_component":"ecocomfort2","help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-4"},{"key":"version","type":"nested","label":"Version","description":"The firmware version of the unit, read once per connection. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","required":true,"display_format":null,"help_link":"https://esphome.io/components/ecocomfort2/#configuration-variables-4","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"at_least_one","keys":["connected","boost"]}],"provides_id_paths":{"text_sensor":[["version","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.emontx.json b/esphome_device_builder/definitions/components/text_sensor.emontx.json index 9d0a93b630..7c1c30ff35 100644 --- a/esphome_device_builder/definitions/components/text_sensor.emontx.json +++ b/esphome_device_builder/definitions/components/text_sensor.emontx.json @@ -1 +1 @@ -{"id":"text_sensor.emontx","name":"OpenEnergyMonitor EmonTx Sensors","description":"The `version` text sensor reports the firmware version of the EmonTx, for example `v1.2.0`. ESPHome asks the EmonTx for it with the `v` command once it has booted, and again whenever the EmonTx restarts (seen when the `MSG` counter in its data goes back down), as it does after a firmware update. It also asks after `emontx.resume`, since the firmware may have been changed while the UART was paused. The `v` command is sent when this text sensor is configured or when [lock_on_reboot](https://esphome.io/components/sensor/emontx/#configuration-variables) is `auto`, the default.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/emontx/","image_url":"https://esphome.io/images/emontx5.jpg","dependencies":["emontx"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"emontx_id","type":"id","label":"Emontx ID","display_format":null,"references_component":"emontx"},{"key":"version","type":"nested","label":"Version","description":"The firmware version of the EmonTx. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/emontx/","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["version","id"]]}} +{"id":"text_sensor.emontx","name":"OpenEnergyMonitor EmonTx Sensors","description":"The `version` text sensor reports the firmware version of the EmonTx, for example `v1.2.0`. ESPHome asks the EmonTx for it with the `v` command once it has booted, and again whenever the EmonTx restarts (seen when the `MSG` counter in its data goes back down), as it does after a firmware update. It also asks after `emontx.resume`, since the firmware may have been changed while the UART was paused. The `v` command is sent when this text sensor is configured or when [lock_on_reboot](https://esphome.io/components/sensor/emontx/#configuration-variables) is `auto`, the default.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/emontx/","image_url":"https://esphome.io/images/emontx5.jpg","dependencies":["emontx"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"emontx_id","type":"id","label":"Emontx ID","display_format":null,"references_component":"emontx"},{"key":"version","type":"nested","label":"Version","description":"The firmware version of the EmonTx. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/emontx/#configuration-variables-5","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["version","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.fusb302b.json b/esphome_device_builder/definitions/components/text_sensor.fusb302b.json index 5c8475e802..19b1841236 100644 --- a/esphome_device_builder/definitions/components/text_sensor.fusb302b.json +++ b/esphome_device_builder/definitions/components/text_sensor.fusb302b.json @@ -1 +1 @@ -{"id":"text_sensor.fusb302b","name":"Fusb302B","description":"","category":"text_sensor","dependencies":["fusb302b"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"contract","type":"nested","label":"Contract","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:flash","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fusb302b_id","type":"id","label":"Fusb302B ID","display_format":null,"references_component":"fusb302b"}],"provides_id_paths":{"text_sensor":[["contract","id"]]}} +{"id":"text_sensor.fusb302b","name":"FUSB302B USB-C Power Delivery","description":"FUSB302B USB-C Power Delivery controller as a PD sink in ESPHome.","category":"text_sensor","docs_url":"https://esphome.io/components/fusb302b","image_url":"https://esphome.io/images/badges/fusb302b.svg","dependencies":["fusb302b"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"contract","type":"nested","label":"Contract","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:flash","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"fusb302b_id","type":"id","label":"Fusb302B ID","display_format":null,"references_component":"fusb302b"}],"provides_id_paths":{"text_sensor":[["contract","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.haier_water_heater.json b/esphome_device_builder/definitions/components/text_sensor.haier_water_heater.json index 2eed7f0927..07f7d95e30 100644 --- a/esphome_device_builder/definitions/components/text_sensor.haier_water_heater.json +++ b/esphome_device_builder/definitions/components/text_sensor.haier_water_heater.json @@ -1 +1 @@ -{"id":"text_sensor.haier_water_heater","name":"Haier Water Heater","description":"","category":"text_sensor","dependencies":["haier_water_heater"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"haier_water_heater_id","type":"id","label":"Haier Water Heater ID","display_format":null,"references_component":"haier_water_heater"},{"key":"mode","type":"nested","label":"Mode","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["mode","id"]]}} +{"id":"text_sensor.haier_water_heater","name":"Haier Water Heater","description":"Configure local control and monitoring of Haier hOn water heaters over UART.","category":"text_sensor","docs_url":"https://esphome.io/components/water_heater/haier_water_heater","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","dependencies":["haier_water_heater"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"haier_water_heater_id","type":"id","label":"Haier Water Heater ID","display_format":null,"references_component":"haier_water_heater"},{"key":"mode","type":"nested","label":"Mode","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["mode","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.ld2410s.json b/esphome_device_builder/definitions/components/text_sensor.ld2410s.json index d882339fce..98e94a6858 100644 --- a/esphome_device_builder/definitions/components/text_sensor.ld2410s.json +++ b/esphome_device_builder/definitions/components/text_sensor.ld2410s.json @@ -1 +1 @@ -{"id":"text_sensor.ld2410s","name":"Ld2410S","description":"","category":"text_sensor","dependencies":["ld2410s"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s"},{"key":"version","type":"nested","label":"Version","description":"The firmware version of the module, read once at start. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","required":true,"display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["version","id"]]}} +{"id":"text_sensor.ld2410s","name":"LD2410S Sensor","description":"HI-LINK LD2410S presence radar with ESPHome.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/ld2410s","image_url":"https://esphome.io/images/badges/ld2410s.svg","dependencies":["ld2410s"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"ld2410s_id","type":"id","label":"Ld2410S ID","description":"Manually specify the ID of the `ld2410s` component, which is necessary if you have more than one.","display_format":null,"references_component":"ld2410s","help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-3"},{"key":"version","type":"nested","label":"Version","description":"The firmware version of the module, read once at start. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","required":true,"display_format":null,"help_link":"https://esphome.io/components/sensor/ld2410s/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["version","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.ld6004.json b/esphome_device_builder/definitions/components/text_sensor.ld6004.json index 55b1df0ef2..72e6a89384 100644 --- a/esphome_device_builder/definitions/components/text_sensor.ld6004.json +++ b/esphome_device_builder/definitions/components/text_sensor.ld6004.json @@ -1 +1 @@ -{"id":"text_sensor.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` text sensor exposes radar operating mode and firmware version.","category":"text_sensor","dependencies":["ld6004"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004"},{"key":"ota_version","type":"nested","label":"OTA Version","description":"Firmware version string, if supported by your module firmware. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"work_mode","type":"nested","label":"Work Mode","description":"The operating mode the module reports: `normal`, `low_power`, `radar_off_p20_high`, `radar_off_p20_low` or `high_reflectivity`. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["ota_version","id"],["work_mode","id"]]}} +{"id":"text_sensor.ld6004","name":"LD6004 3D Presence Radar","description":"The `ld6004` text sensor exposes radar operating mode and firmware version.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/ld6004/","image_url":"https://esphome.io/images/badges/ld6004.svg","dependencies":["ld6004"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"ld6004_id","type":"id","label":"Ld6004 ID","description":"Manually specify the ID of the LD6004 component.","display_format":null,"references_component":"ld6004","help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-3"},{"key":"ota_version","type":"nested","label":"OTA Version","description":"Firmware version string, if supported by your module firmware. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"work_mode","type":"nested","label":"Work Mode","description":"The operating mode the module reports: `normal`, `low_power`, `radar_off_p20_high`, `radar_off_p20_low` or `high_reflectivity`. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"help_link":"https://esphome.io/components/sensor/ld6004/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["ota_version","id"],["work_mode","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.lis2dw12.json b/esphome_device_builder/definitions/components/text_sensor.lis2dw12.json index d71d400480..0d3528ca00 100644 --- a/esphome_device_builder/definitions/components/text_sensor.lis2dw12.json +++ b/esphome_device_builder/definitions/components/text_sensor.lis2dw12.json @@ -1 +1 @@ -{"id":"text_sensor.lis2dw12","name":"LIS2DW12 Sensor","description":"Text sensor provides 6D orientation information. You can use shorthand notation like `orientation: \"Orientation\"` or use regular notation.","category":"text_sensor","dependencies":["lis2dw12"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"lis2dw12_id","type":"id","label":"Lis2Dw12 ID","description":"The ID of the `lis2dw12_i2c` or `lis2dw12_spi` hub. Needed when more than one sensor is configured.","display_format":null,"references_component":"lis2dw12"},{"key":"orientation","type":"nested","label":"Orientation","description":"6D orientation. One of `X Up`, `X Down`, `Y Up`, `Y Down`, `Z Up`, `Z Down`, or `Unknown` while the chip has not settled on an axis.","display_format":null,"maybe_key":"name","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:screen-rotation","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["orientation","id"]]}} +{"id":"text_sensor.lis2dw12","name":"LIS2DW12 Sensor","description":"Text sensor provides 6D orientation information. You can use shorthand notation like `orientation: \"Orientation\"` or use regular notation.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/lis2dw12/","image_url":"https://esphome.io/images/lis2dw12.jpg","dependencies":["lis2dw12"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"lis2dw12_id","type":"id","label":"Lis2Dw12 ID","description":"The ID of the `lis2dw12_i2c` or `lis2dw12_spi` hub. Needed when more than one sensor is configured.","display_format":null,"references_component":"lis2dw12","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-3"},{"key":"orientation","type":"nested","label":"Orientation","description":"6D orientation. One of `X Up`, `X Down`, `Y Up`, `Y Down`, `Z Up`, `Z Down`, or `Unknown` while the chip has not settled on an axis.","display_format":null,"maybe_key":"name","help_link":"https://esphome.io/components/sensor/lis2dw12/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:screen-rotation","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"advanced":true},{"key":"sorting_weight","type":"string","label":"Sorting Weight","display_format":null,"advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["orientation","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.m5stack_unit_bldc.json b/esphome_device_builder/definitions/components/text_sensor.m5stack_unit_bldc.json index b659434d45..72f5920718 100644 --- a/esphome_device_builder/definitions/components/text_sensor.m5stack_unit_bldc.json +++ b/esphome_device_builder/definitions/components/text_sensor.m5stack_unit_bldc.json @@ -1 +1 @@ -{"id":"text_sensor.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` text sensor platform reports the motor status.","category":"text_sensor","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc"},{"key":"status","type":"nested","label":"Status","description":"The motor status: `Standby`, `Running`, `Error`, or `Unknown` for any other value. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["status","id"]]}} +{"id":"text_sensor.m5stack_unit_bldc","name":"M5Unit-BLDC","description":"The `m5stack_unit_bldc` text sensor platform reports the motor status.","category":"text_sensor","docs_url":"https://esphome.io/components/m5stack_unit_bldc/","image_url":"https://esphome.io/images/motor.png","dependencies":["m5stack_unit_bldc"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"m5stack_unit_bldc_id","type":"id","label":"M5Stack Unit Bldc ID","description":"Manually specify the ID of the `m5stack_unit_bldc` hub if you have multiple components.","display_format":null,"references_component":"m5stack_unit_bldc","help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-4"},{"key":"status","type":"nested","label":"Status","description":"The motor status: `Standby`, `Running`, `Error`, or `Unknown` for any other value. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"help_link":"https://esphome.io/components/m5stack_unit_bldc/#configuration-variables-4","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"provides_id_paths":{"text_sensor":[["status","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.modem.json b/esphome_device_builder/definitions/components/text_sensor.modem.json index 5532d39ebe..59d01d8acb 100644 --- a/esphome_device_builder/definitions/components/text_sensor.modem.json +++ b/esphome_device_builder/definitions/components/text_sensor.modem.json @@ -1 +1 @@ -{"id":"text_sensor.modem","name":"Modem Text Sensor","description":"The `modem` text sensor platform reports the network type of the [Modem](https://esphome.io/components/modem/) and the unsolicited result codes (URC) it sends on its own, such as network registration changes.","category":"text_sensor","dependencies":["modem"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["text_sensor"],"config_entries":[{"key":"modem_id","type":"id","label":"Modem ID","description":"The ID of the [Modem](https://esphome.io/components/modem/) component. Defaults to the configured modem.","display_format":null,"references_component":"modem"},{"key":"network_type","type":"nested","label":"Network Type","description":"The type of network the modem is attached to, as read with the `AT+CNSMOD` command: `No service`, `GSM`, `GPRS`, `EDGE`, `WCDMA`, `HSDPA`, `HSUPA`, `HSPA`, `LTE`, or `Unknown` when the modem does not answer or reports another value. Only the `SIM7600` and `SIM7670` models are supported; other models are rejected at validation. The modem is queried every `update_interval` of the [Modem](https://esphome.io/components/modem/) component, only while it is connected, starting right after it connects. When the connection is lost, the text sensor shows `No service`. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal-cellular-3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"urc","type":"nested","label":"Urc","description":"Publishes each unsolicited result code (URC) the modem sends as one line. URCs that arrive while the modem answers a command, or before the previous URC is published, can be missed. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"none_or_all","keys":["rts_pin","cts_pin"]}],"provides_id_paths":{"text_sensor":[["network_type","id"],["urc","id"]]}} +{"id":"text_sensor.modem","name":"Modem Text Sensor","description":"The `modem` text sensor platform reports the network type of the [Modem](https://esphome.io/components/modem/) and the unsolicited result codes (URC) it sends on its own, such as network registration changes.","category":"text_sensor","docs_url":"https://esphome.io/components/text_sensor/modem/","image_url":"https://esphome.io/images/modem.svg","dependencies":["modem"],"multi_conf":true,"supported_platforms":["esp32"],"provides":["text_sensor"],"config_entries":[{"key":"modem_id","type":"id","label":"Modem ID","description":"The ID of the [Modem](https://esphome.io/components/modem/) component. Defaults to the configured modem.","display_format":null,"references_component":"modem","help_link":"https://esphome.io/components/text_sensor/modem/#configuration-variables"},{"key":"network_type","type":"nested","label":"Network Type","description":"The type of network the modem is attached to, as read with the `AT+CNSMOD` command: `No service`, `GSM`, `GPRS`, `EDGE`, `WCDMA`, `HSDPA`, `HSUPA`, `HSPA`, `LTE`, or `Unknown` when the modem does not answer or reports another value. Only the `SIM7600` and `SIM7670` models are supported; other models are rejected at validation. The modem is queried every `update_interval` of the [Modem](https://esphome.io/components/modem/) component, only while it is connected, starting right after it connects. When the connection is lost, the text sensor shows `No service`. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"help_link":"https://esphome.io/components/text_sensor/modem/#configuration-variables","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:signal-cellular-3","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"urc","type":"nested","label":"Urc","description":"Publishes each unsolicited result code (URC) the modem sends as one line. URCs that arrive while the modem answers a command, or before the previous URC is published, can be missed. All options from [Text Sensor](https://esphome.io/components/text_sensor/#config-text_sensor).","display_format":null,"help_link":"https://esphome.io/components/text_sensor/modem/#configuration-variables","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]}],"required_groups":[{"kind":"none_or_all","keys":["rts_pin","cts_pin"]}],"provides_id_paths":{"text_sensor":[["network_type","id"],["urc","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.mt6701_spi.json b/esphome_device_builder/definitions/components/text_sensor.mt6701_spi.json index df296fc314..aa51e21336 100644 --- a/esphome_device_builder/definitions/components/text_sensor.mt6701_spi.json +++ b/esphome_device_builder/definitions/components/text_sensor.mt6701_spi.json @@ -1 +1 @@ -{"id":"text_sensor.mt6701_spi","name":"MT6701 14-Bit Magnetic Angle Sensor","description":"The `mt6701_spi` text sensor exposes the magnetic-field status. It is only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","category":"text_sensor","dependencies":["mt6701_spi"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the field status is read. Defaults to `60s`.","default_value":"60s","display_format":null,"duration_min_unit":"ms"},{"key":"mt6701_spi_id","type":"id","label":"Mt6701 SPI ID","description":"The ID of the SSI/SPI hub.","display_format":null,"references_component":"mt6701_spi"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:magnet","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} +{"id":"text_sensor.mt6701_spi","name":"MT6701 14-Bit Magnetic Angle Sensor","description":"The `mt6701_spi` text sensor exposes the magnetic-field status. It is only available on the [SSI/SPI hub](https://esphome.io/components/sensor/mt6701/#ssispi-hub).","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/mt6701/","dependencies":["mt6701_spi"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often the field status is read. Defaults to `60s`.","default_value":"60s","display_format":null,"help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-4","duration_min_unit":"ms"},{"key":"mt6701_spi_id","type":"id","label":"Mt6701 SPI ID","description":"The ID of the SSI/SPI hub.","display_format":null,"references_component":"mt6701_spi","help_link":"https://esphome.io/components/sensor/mt6701/#configuration-variables-4"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:magnet","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/text_sensor.rx8111.json b/esphome_device_builder/definitions/components/text_sensor.rx8111.json index 712d7732ff..3b82fd4b82 100644 --- a/esphome_device_builder/definitions/components/text_sensor.rx8111.json +++ b/esphome_device_builder/definitions/components/text_sensor.rx8111.json @@ -1 +1 @@ -{"id":"text_sensor.rx8111","name":"RX8111 Event Timestamp","description":"The `rx8111` text sensor publishes timestamps captured by the EVIN input of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component first.","category":"text_sensor","dependencies":["time","rx8111"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"rx8111_id","type":"id","label":"RX8111 ID","description":"The RX8111 time component. Required when more than one RX8111 is configured. Only one timestamp text sensor is allowed per clock.","display_format":null,"references_component":"rx8111"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","default_value":"timestamp","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"timestamp_record_mode","type":"string","label":"Timestamp Record Mode","description":"Timestamp storage mode. Defaults to `latest`.","default_value":"latest","options":[{"label":"latest","value":"latest","description":"Publish the latest captured record. A new event replaces the previous record."},{"label":"stop_when_full","value":"stop_when_full","description":"Store up to eight records; capture stops updating the buffer when it is full."},{"label":"overwrite","value":"overwrite","description":"Store the latest eight records, replacing the oldest when full."}],"display_format":null,"advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["vlf","alarm_flag","timer_flag","xst","event_flag","battery_low","evin"]}]} +{"id":"text_sensor.rx8111","name":"RX8111 Event Timestamp","description":"The `rx8111` text sensor publishes timestamps captured by the EVIN input of an [RX8111 real-time clock](https://esphome.io/components/time/rx8111/). Configure that time component first.","category":"text_sensor","docs_url":"https://esphome.io/components/text_sensor/rx8111/","image_url":"https://esphome.io/images/clock-outline.svg","dependencies":["time","rx8111"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"rx8111_id","type":"id","label":"RX8111 ID","description":"The RX8111 time component. Required when more than one RX8111 is configured. Only one timestamp text sensor is allowed per clock.","display_format":null,"references_component":"rx8111","help_link":"https://esphome.io/components/text_sensor/rx8111/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","default_value":"timestamp","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"timestamp_record_mode","type":"string","label":"Timestamp Record Mode","description":"Timestamp storage mode. Defaults to `latest`.","default_value":"latest","options":[{"label":"latest","value":"latest","description":"Publish the latest captured record. A new event replaces the previous record."},{"label":"stop_when_full","value":"stop_when_full","description":"Store up to eight records; capture stops updating the buffer when it is full."},{"label":"overwrite","value":"overwrite","description":"Store the latest eight records, replacing the oldest when full."}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/rx8111/#configuration-variables"},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["vlf","alarm_flag","timer_flag","xst","event_flag","battery_low","evin"]}]} diff --git a/esphome_device_builder/definitions/components/text_sensor.systa_bus.json b/esphome_device_builder/definitions/components/text_sensor.systa_bus.json index 0dd16feda7..a12a65f121 100644 --- a/esphome_device_builder/definitions/components/text_sensor.systa_bus.json +++ b/esphome_device_builder/definitions/components/text_sensor.systa_bus.json @@ -1 +1 @@ -{"id":"text_sensor.systa_bus","name":"Systa Bus Component","description":"The `systa_bus` component reads the status of solar heat energy collector controllers that use the Systa Bus protocol.","category":"text_sensor","docs_url":"https://esphome.io/components/systa_bus/","image_url":"https://esphome.io/images/systasolar_aqua.png","dependencies":["uart","systa_bus"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","required":true,"options":[{"label":"systasolar_aqua","value":"systasolar_aqua"}],"display_format":null},{"key":"error_code","type":"nested","label":"Error Code","description":"Error code as displayed on the controller, `--` if no error is reported. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"help_link":"https://esphome.io/components/systa_bus/","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"systa_bus_id","type":"id","label":"Systa Bus ID","display_format":null,"references_component":"systa_bus"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"text_sensor":[["error_code","id"]]}} +{"id":"text_sensor.systa_bus","name":"Systa Bus Component","description":"The `systa_bus` component reads the status of solar heat energy collector controllers that use the Systa Bus protocol.","category":"text_sensor","docs_url":"https://esphome.io/components/systa_bus/","image_url":"https://esphome.io/images/systasolar_aqua.png","dependencies":["uart","systa_bus"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"model","type":"string","label":"Model","required":true,"options":[{"label":"systasolar_aqua","value":"systasolar_aqua"}],"display_format":null},{"key":"error_code","type":"nested","label":"Error Code","description":"Error code as displayed on the controller, `--` if no error is reported. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"help_link":"https://esphome.io/components/systa_bus/#configuration-variables-2","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"systa_bus_id","type":"id","label":"Systa Bus ID","display_format":null,"references_component":"systa_bus"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}],"provides_id_paths":{"text_sensor":[["error_code","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.tmp102.json b/esphome_device_builder/definitions/components/text_sensor.tmp102.json index 5736247e0c..83eba628d6 100644 --- a/esphome_device_builder/definitions/components/text_sensor.tmp102.json +++ b/esphome_device_builder/definitions/components/text_sensor.tmp102.json @@ -1 +1 @@ -{"id":"text_sensor.tmp102","name":"TMP102 Temperature Sensor","description":"TMP102 temperature sensors.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/tmp102","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["tmp102"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"tmp102_id","type":"id","label":"Tmp102 ID","display_format":null,"references_component":"tmp102"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}]} +{"id":"text_sensor.tmp102","name":"TMP102 Temperature Sensor","description":"TMP102 temperature, thermostat, alert, and threshold-status configuration.","category":"text_sensor","docs_url":"https://esphome.io/components/sensor/tmp102","image_url":"https://esphome.io/images/tmp102.jpg","dependencies":["tmp102"],"multi_conf":true,"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"tmp102_id","type":"id","label":"Tmp102 ID","display_format":null,"references_component":"tmp102"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}],"required_groups":[{"kind":"at_least_one","keys":["temperature_high","temperature_low"]}]} diff --git a/esphome_device_builder/definitions/components/text_sensor.ufm01.json b/esphome_device_builder/definitions/components/text_sensor.ufm01.json index 19bb1aab56..af2c2c6000 100644 --- a/esphome_device_builder/definitions/components/text_sensor.ufm01.json +++ b/esphome_device_builder/definitions/components/text_sensor.ufm01.json @@ -1 +1 @@ -{"id":"text_sensor.ufm01","name":"UFM-01 Flow Meter","description":"The `ufm01` text sensors report the meter identity and firmware version.","category":"text_sensor","docs_url":"https://esphome.io/components/ufm01/","image_url":"https://esphome.io/images/ufm01.png","dependencies":["ufm01"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"meter_id","type":"nested","label":"Meter ID","description":"The 10-digit meter ID from the device.","display_format":null,"help_link":"https://esphome.io/components/ufm01/","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fingerprint","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"software_version","type":"nested","label":"Software Version","description":"The software version reported by the meter.","display_format":null,"help_link":"https://esphome.io/components/ufm01/","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ufm01_id","type":"id","label":"Ufm01 ID","description":"The ID of the `ufm01` component this text sensor belongs to.","display_format":null,"references_component":"ufm01","help_link":"https://esphome.io/components/ufm01/"}],"provides_id_paths":{"text_sensor":[["meter_id","id"],["software_version","id"]]}} +{"id":"text_sensor.ufm01","name":"UFM-01 Flow Meter","description":"The `ufm01` text sensors report the meter identity and firmware version.","category":"text_sensor","docs_url":"https://esphome.io/components/ufm01/","image_url":"https://esphome.io/images/ufm01.png","dependencies":["ufm01"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"meter_id","type":"nested","label":"Meter ID","description":"The 10-digit meter ID from the device.","display_format":null,"help_link":"https://esphome.io/components/ufm01/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:fingerprint","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"software_version","type":"nested","label":"Software Version","description":"The software version reported by the meter.","display_format":null,"help_link":"https://esphome.io/components/ufm01/#configuration-variables-3","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:chip","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","default_value":"diagnostic","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"ufm01_id","type":"id","label":"Ufm01 ID","description":"The ID of the `ufm01` component this text sensor belongs to.","display_format":null,"references_component":"ufm01","help_link":"https://esphome.io/components/ufm01/#configuration-variables-3"}],"provides_id_paths":{"text_sensor":[["meter_id","id"],["software_version","id"]]}} diff --git a/esphome_device_builder/definitions/components/text_sensor.vevor_dtx.json b/esphome_device_builder/definitions/components/text_sensor.vevor_dtx.json index 4c45512c74..0400901ad3 100644 --- a/esphome_device_builder/definitions/components/text_sensor.vevor_dtx.json +++ b/esphome_device_builder/definitions/components/text_sensor.vevor_dtx.json @@ -1 +1 @@ -{"id":"text_sensor.vevor_dtx","name":"Vevor Dtx","description":"","category":"text_sensor","dependencies":["vevor_dtx"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"sensor_id","type":"nested","label":"Sensor ID","description":"Outdoor station identifier as a hexadecimal string. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:identifier","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vevor_dtx_id","type":"id","label":"Vevor Dtx ID","description":"The ID of the `vevor_dtx` hub. Required when more than one hub is configured.","display_format":null,"references_component":"vevor_dtx"}],"provides_id_paths":{"text_sensor":[["sensor_id","id"]]}} +{"id":"text_sensor.vevor_dtx","name":"Vevor DTX Weather Station","description":"Vevor 7-in-1 weather station sensors using the internal DTX signal","category":"text_sensor","docs_url":"https://esphome.io/components/vevor_dtx","image_url":"https://esphome.io/images/weather-sunny.svg","dependencies":["vevor_dtx"],"multi_conf":true,"provides":["text_sensor"],"config_entries":[{"key":"sensor_id","type":"nested","label":"Sensor ID","description":"Outdoor station identifier as a hexadecimal string. All options from [Text Sensor](https://esphome.io/components/text_sensor/).","display_format":null,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-2","platform_type":"text_sensor","config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the sensor. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the sensor in the frontend.","default_value":"mdi:identifier","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"device_class","type":"string","label":"Device Class","description":"The device class for the sensor. Only the `timestamp` and `date` device classes are supported. Set to `\"\"` to remove the default device class of a sensor. Requires Home Assistant 2024.3 or newer.","options":[{"label":"date","value":"date"},{"label":"(none)","value":""},{"label":"timestamp","value":"timestamp"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"availability","type":"nested","label":"Availability","display_format":null,"depends_on_component":"mqtt","advanced":true,"config_entries":[{"key":"topic","type":"string","label":"Topic","required":true,"display_format":null,"advanced":true},{"key":"payload_available","type":"string","label":"Payload Available","default_value":"online","display_format":null,"advanced":true},{"key":"payload_not_available","type":"string","label":"Payload Not Available","default_value":"offline","display_format":null,"advanced":true}]},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, then this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"discovery","type":"boolean","label":"Discovery","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"filters","type":"registry_list","label":"Filters","display_format":null,"registry":"filter","multi_value":true,"advanced":true},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/text_sensor/#base-text-sensor-configuration"},{"key":"qos","type":"string","label":"QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"retain","type":"boolean","label":"Retain","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"state_topic","type":"string","label":"State Topic","display_format":null,"templatable":true,"depends_on_component":"mqtt","advanced":true},{"key":"subscribe_qos","type":"string","label":"Subscribe QOS","display_format":null,"depends_on_component":"mqtt","advanced":true},{"key":"web_server","type":"nested","label":"Web Server","display_format":null,"depends_on_component":"web_server","advanced":true,"config_entries":[{"key":"web_server_id","type":"id","label":"Web Server ID","display_format":null,"depends_on_component":"web_server","references_component":"web_server","advanced":true},{"key":"sorting_group_id","type":"id","label":"Sorting Group ID","display_format":null,"depends_on_component":"web_server","advanced":true},{"key":"sorting_weight","type":"float","label":"Sorting Weight","display_format":null,"depends_on_component":"web_server","advanced":true}]}]},{"key":"vevor_dtx_id","type":"id","label":"Vevor Dtx ID","description":"The ID of the `vevor_dtx` hub. Required when more than one hub is configured.","display_format":null,"references_component":"vevor_dtx","help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables-2"}],"provides_id_paths":{"text_sensor":[["sensor_id","id"]]}} diff --git a/esphome_device_builder/definitions/components/time.ds3231.json b/esphome_device_builder/definitions/components/time.ds3231.json index 0af982275f..f42c33c294 100644 --- a/esphome_device_builder/definitions/components/time.ds3231.json +++ b/esphome_device_builder/definitions/components/time.ds3231.json @@ -1 +1 @@ -{"id":"time.ds3231","name":"DS3231 Time Source","description":"The `ds3231` time platform keeps the system clock from a [DS3231 real-time clock](https://esphome.io/components/ds3231/), so the device knows the time right after boot, even without a network connection.","category":"time","dependencies":["ds3231"],"multi_conf":true,"provides":["ds3231"],"config_entries":[{"key":"ds3231_id","type":"id","label":"Ds3231 ID","description":"The ID of the [`ds3231`](https://esphome.io/components/ds3231/) hub to use when more than one is configured.","display_format":null,"references_component":"ds3231"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to synchronize the device time from the source. Defaults to `15min`.","default_value":"15min","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Specify the ID of the time for use in lambdas.","advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timezone","type":"string","label":"Timezone","description":"Manually tell ESPHome what time zone to use with [this format](https://sourceware.org/glibc/manual/latest/html_node/TZ-Variable.html) (warning: the format is quite complicated, see [examples](https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv)) or the simpler [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) in the form `/`. ESPHome tries to automatically infer the time zone string based on the time zone of the computer that is running ESPHome, but this might not always be accurate. Not available on nRF52 platforms. An empty timezone (the empty string, `\"\"`) will mean no timezone handling will be compiled in, so the device will operate strictly on UTC.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}]} +{"id":"time.ds3231","name":"DS3231 Time Source","description":"The `ds3231` time platform keeps the system clock from a [DS3231 real-time clock](https://esphome.io/components/ds3231/), so the device knows the time right after boot, even without a network connection.","category":"time","docs_url":"https://esphome.io/components/time/ds3231/","image_url":"https://esphome.io/images/ds3231.jpg","dependencies":["ds3231"],"multi_conf":true,"provides":["ds3231"],"config_entries":[{"key":"ds3231_id","type":"id","label":"Ds3231 ID","description":"The ID of the [`ds3231`](https://esphome.io/components/ds3231/) hub to use when more than one is configured.","display_format":null,"references_component":"ds3231","help_link":"https://esphome.io/components/time/ds3231/#configuration-variables"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to synchronize the device time from the source. Defaults to `15min`.","default_value":"15min","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Specify the ID of the time for use in lambdas.","advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timezone","type":"string","label":"Timezone","description":"Manually tell ESPHome what time zone to use with [this format](https://sourceware.org/glibc/manual/latest/html_node/TZ-Variable.html) (warning: the format is quite complicated, see [examples](https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv)) or the simpler [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) in the form `/`. ESPHome tries to automatically infer the time zone string based on the time zone of the computer that is running ESPHome, but this might not always be accurate. Not available on nRF52 platforms. An empty timezone (the empty string, `\"\"`) will mean no timezone handling will be compiled in, so the device will operate strictly on UTC.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"}],"required_groups":[{"kind":"at_most_one","keys":["interrupt_pin","square_wave_frequency"]}]} diff --git a/esphome_device_builder/definitions/components/time.rx8111.json b/esphome_device_builder/definitions/components/time.rx8111.json index 612a1d1baa..04fe89d550 100644 --- a/esphome_device_builder/definitions/components/time.rx8111.json +++ b/esphome_device_builder/definitions/components/time.rx8111.json @@ -1 +1 @@ -{"id":"time.rx8111","name":"RX8111 Time Source","description":"The RX8111 time platform reads UTC time from an Epson RX8111CE real-time clock (RTC) over [I²C](https://esphome.io/components/i2c/). Configure the I²C bus separately.","category":"time","dependencies":["i2c"],"multi_conf":true,"provides":["rx8111"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the RTC. Defaults to `0x32`.","default_value":"50","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to synchronize the device time from the source. Defaults to `15min`.","default_value":"15min","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Specify the ID of the time for use in lambdas.","advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"},{"key":"alarm_day","type":"integer","label":"Alarm Day","description":"Match a day of the month (`1` to `31`). Cannot be combined with `alarm_weekday`.","range":[1,31],"display_format":null,"advanced":true},{"key":"alarm_enabled","type":"boolean","label":"Alarm Enabled","description":"Enable the alarm interrupt. Defaults to `true` when at least one alarm matching field is set, and `false` otherwise. Set to `true` when only using runtime alarm actions; `on_alarm` requires the alarm to be enabled. Explicit `false` disables a battery-backed alarm interrupt without clearing AF; omitting this setting leaves a retained interrupt alone.","display_format":null,"advanced":true},{"key":"alarm_hour","type":"integer","label":"Alarm Hour","description":"Match an hour (`0` to `23`).","range":[0,23],"display_format":null,"advanced":true},{"key":"alarm_minute","type":"integer","label":"Alarm Minute","description":"Match a minute (`0` to `59`).","range":[0,59],"display_format":null,"advanced":true},{"key":"alarm_second","type":"integer","label":"Alarm Second","description":"Match a second (`0` to `59`).","range":[0,59],"display_format":null,"advanced":true},{"key":"alarm_weekday","type":"integer","label":"Alarm Weekday","description":"Match a weekday (`1` = Sunday through `7` = Saturday). Cannot be combined with `alarm_day`.","range":[1,7],"display_format":null,"advanced":true},{"key":"battery_backup","type":"boolean","label":"Battery Backup","description":"Enable the RX8111's automatic switchover to an externally connected backup supply at `VBAT`. Set to `false` to disable switchover and charging and run from `VDD` only. When omitted, the power-switch setting stored in the RTC is left unchanged.","display_format":null,"advanced":true},{"key":"battery_charging","type":"boolean","label":"Battery Charging","description":"Enable the RX8111's backup charging switch. Requires an explicit `battery_backup` setting, and `true` requires `battery_backup: true`. Defaults to `false` when `battery_backup` is set; when both options are omitted, the stored charging setting is left unchanged. **Only enable this with a rechargeable backup supply and a charging circuit designed for that supply. Never enable it with a non-rechargeable coin cell.**","display_format":null,"advanced":true},{"key":"event_enabled","type":"boolean","label":"Event Enabled","description":"Enable EVIN detection (`ETS`), its `/INT` interrupt (`EIE`) and the `on_event` callback. Explicit `false` clears only `EIE`, without clearing `EVF` or disabling retained capture.","display_format":null,"advanced":true},{"key":"event_level","type":"string","label":"Event Level","description":"Detect `low` (default) or `high` voltage at EVIN. Requires `event_enabled: true` or an [RX8111 timestamp text sensor](https://esphome.io/components/text_sensor/rx8111/).","options":[{"label":"low","value":"low"},{"label":"high","value":"high"}],"display_format":null,"advanced":true},{"key":"event_poll_interval","type":"time_period","label":"Event Poll Interval","description":"How often to check alarm, timer and EVIN flags, timestamp records, and [binary status sensors](https://esphome.io/components/binary_sensor/rx8111/), independently of the calendar `update_interval`. Minimum `500ms`; defaults to `1s`. Configuring a binary status sensor enables polling even when periodic calendar reads are disabled. EVIN event detection alone only enables polling when `on_event` or an [RX8111 timestamp text sensor](https://esphome.io/components/text_sensor/rx8111/) is configured; hardware event detection does not require polling.","default_value":"1s","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"evin_filter","type":"integer","label":"Evin Filter","description":"Hardware chattering filter: `0` (off, default), `1` (3.9 ms), `2` (15.6 ms), or `3` (125 ms). Requires `event_enabled: true` or a timestamp text sensor.","range":[0,3],"display_format":null,"advanced":true},{"key":"evin_pull","type":"string","label":"Evin Pull","description":"`none` (default), `pullup_500k`, `pullup_1m`, `pullup_10m`, or `pulldown_500k`. Select a pull that holds EVIN inactive when external circuitry is not driving it. Requires `event_enabled: true` or a timestamp text sensor.","options":[{"label":"none","value":"none"},{"label":"pullup_500k","value":"pullup_500k"},{"label":"pullup_1m","value":"pullup_1m"},{"label":"pullup_10m","value":"pullup_10m"},{"label":"pulldown_500k","value":"pulldown_500k"}],"display_format":null,"advanced":true},{"key":"fout_frequency","type":"string","label":"Fout Frequency","description":"Set the `FOUT` pin to `32768hz`, `1024hz`, `1hz`, or `off` (high impedance). When omitted, the FOUT setting stored in the RTC is left unchanged. ESPHome does not measure this output; wire `FOUT` to the input that needs the clock. `1hz` stops while the RTC counter is stopped (see `rx8111.write_time` below). If the RTC routes the wake-up timer interrupt to `FOUT`, for example after other firmware set it up that way, the clock output is not enabled and the log shows `FOUT is routed to the wake-up timer (TMPIN); cannot configure clock output`; `off` still works. Starting the timer from this component, at boot or with `rx8111.start_timer`, moves the timer interrupt back to `/INT`, and a failed FOUT setting then gets a fresh set of attempts.","options":[{"label":"32768hz","value":"32768hz"},{"label":"1024hz","value":"1024hz"},{"label":"1hz","value":"1hz"},{"label":"off","value":"off"}],"display_format":null,"advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timer_clock","type":"string","label":"Timer Clock","description":"Clock source: `4096hz`, `64hz`, `1hz` (default), or `1_60hz` (one tick per minute). The timer period is `timer_count` divided by the clock frequency.","default_value":"1hz","options":[{"label":"4096hz","value":"4096hz"},{"label":"64hz","value":"64hz"},{"label":"1hz","value":"1hz"},{"label":"1_60hz","value":"1_60hz"}],"display_format":null,"advanced":true},{"key":"timer_count","type":"integer","label":"Timer Count","description":"Timer reload value from `1` to `16777215` (24 bits). Required when `timer_enabled: true` or `on_timer` is configured; also configure it to use `rx8111.start_timer`.","range":[1,16777215],"display_format":null,"advanced":true},{"key":"timer_enabled","type":"boolean","label":"Timer Enabled","description":"Enable the timer interrupt. Defaults to `true` when `timer_count` or `on_timer` is configured. An explicit `false` stops the battery-backed timer at startup; omitting the timer configuration leaves its stored settings alone.","display_format":null,"advanced":true},{"key":"timezone","type":"string","label":"Timezone","description":"Manually tell ESPHome what time zone to use with [this format](https://sourceware.org/glibc/manual/latest/html_node/TZ-Variable.html) (warning: the format is quite complicated, see [examples](https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv)) or the simpler [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) in the form `/`. ESPHome tries to automatically infer the time zone string based on the time zone of the computer that is running ESPHome, but this might not always be accurate. Not available on nRF52 platforms. An empty timezone (the empty string, `\"\"`) will mean no timezone handling will be compiled in, so the device will operate strictly on UTC.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"}],"required_groups":[{"kind":"at_least_one","keys":["vlf","alarm_flag","timer_flag","xst","event_flag","battery_low","evin"]}]} +{"id":"time.rx8111","name":"RX8111 Time Source","description":"The RX8111 time platform reads UTC time from an Epson RX8111CE real-time clock (RTC) over [I²C](https://esphome.io/components/i2c/). Configure the I²C bus separately.","category":"time","docs_url":"https://esphome.io/components/time/rx8111/","image_url":"https://esphome.io/images/clock-outline.svg","dependencies":["i2c"],"multi_conf":true,"provides":["rx8111"],"config_entries":[{"key":"address","type":"integer","label":"Address","description":"Manually specify the I²C address of the RTC. Defaults to `0x32`.","default_value":"50","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/time/rx8111/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"How often to synchronize the device time from the source. Defaults to `15min`.","default_value":"15min","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables","duration_min_unit":"ms"},{"key":"id","type":"id","label":"ID","description":"Specify the ID of the time for use in lambdas.","advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"},{"key":"alarm_day","type":"integer","label":"Alarm Day","description":"Match a day of the month (`1` to `31`). Cannot be combined with `alarm_weekday`.","range":[1,31],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#alarm-options"},{"key":"alarm_enabled","type":"boolean","label":"Alarm Enabled","description":"Enable the alarm interrupt. Defaults to `true` when at least one alarm matching field is set, and `false` otherwise. Set to `true` when only using runtime alarm actions; `on_alarm` requires the alarm to be enabled. Explicit `false` disables a battery-backed alarm interrupt without clearing AF; omitting this setting leaves a retained interrupt alone.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#alarm-options"},{"key":"alarm_hour","type":"integer","label":"Alarm Hour","description":"Match an hour (`0` to `23`).","range":[0,23],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#alarm-options"},{"key":"alarm_minute","type":"integer","label":"Alarm Minute","description":"Match a minute (`0` to `59`).","range":[0,59],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#alarm-options"},{"key":"alarm_second","type":"integer","label":"Alarm Second","description":"Match a second (`0` to `59`).","range":[0,59],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#alarm-options"},{"key":"alarm_weekday","type":"integer","label":"Alarm Weekday","description":"Match a weekday (`1` = Sunday through `7` = Saturday). Cannot be combined with `alarm_day`.","range":[1,7],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#alarm-options"},{"key":"battery_backup","type":"boolean","label":"Battery Backup","description":"Enable the RX8111's automatic switchover to an externally connected backup supply at `VBAT`. Set to `false` to disable switchover and charging and run from `VDD` only. When omitted, the power-switch setting stored in the RTC is left unchanged.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#backup-power-and-clock-output"},{"key":"battery_charging","type":"boolean","label":"Battery Charging","description":"Enable the RX8111's backup charging switch. Requires an explicit `battery_backup` setting, and `true` requires `battery_backup: true`. Defaults to `false` when `battery_backup` is set; when both options are omitted, the stored charging setting is left unchanged. **Only enable this with a rechargeable backup supply and a charging circuit designed for that supply. Never enable it with a non-rechargeable coin cell.**","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#backup-power-and-clock-output"},{"key":"event_enabled","type":"boolean","label":"Event Enabled","description":"Enable EVIN detection (`ETS`), its `/INT` interrupt (`EIE`) and the `on_event` callback. Explicit `false` clears only `EIE`, without clearing `EVF` or disabling retained capture.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#evin-events"},{"key":"event_level","type":"string","label":"Event Level","description":"Detect `low` (default) or `high` voltage at EVIN. Requires `event_enabled: true` or an [RX8111 timestamp text sensor](https://esphome.io/components/text_sensor/rx8111/).","options":[{"label":"low","value":"low"},{"label":"high","value":"high"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#evin-events"},{"key":"event_poll_interval","type":"time_period","label":"Event Poll Interval","description":"How often to check alarm, timer and EVIN flags, timestamp records, and [binary status sensors](https://esphome.io/components/binary_sensor/rx8111/), independently of the calendar `update_interval`. Minimum `500ms`; defaults to `1s`. Configuring a binary status sensor enables polling even when periodic calendar reads are disabled. EVIN event detection alone only enables polling when `on_event` or an [RX8111 timestamp text sensor](https://esphome.io/components/text_sensor/rx8111/) is configured; hardware event detection does not require polling.","default_value":"1s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#configuration-variables","duration_min_unit":"ms"},{"key":"evin_filter","type":"integer","label":"Evin Filter","description":"Hardware chattering filter: `0` (off, default), `1` (3.9 ms), `2` (15.6 ms), or `3` (125 ms). Requires `event_enabled: true` or a timestamp text sensor.","range":[0,3],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#evin-events"},{"key":"evin_pull","type":"string","label":"Evin Pull","description":"`none` (default), `pullup_500k`, `pullup_1m`, `pullup_10m`, or `pulldown_500k`. Select a pull that holds EVIN inactive when external circuitry is not driving it. Requires `event_enabled: true` or a timestamp text sensor.","options":[{"label":"none","value":"none"},{"label":"pullup_500k","value":"pullup_500k"},{"label":"pullup_1m","value":"pullup_1m"},{"label":"pullup_10m","value":"pullup_10m"},{"label":"pulldown_500k","value":"pulldown_500k"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#evin-events"},{"key":"fout_frequency","type":"string","label":"Fout Frequency","description":"Set the `FOUT` pin to `32768hz`, `1024hz`, `1hz`, or `off` (high impedance). When omitted, the FOUT setting stored in the RTC is left unchanged. ESPHome does not measure this output; wire `FOUT` to the input that needs the clock. `1hz` stops while the RTC counter is stopped (see `rx8111.write_time` below). If the RTC routes the wake-up timer interrupt to `FOUT`, for example after other firmware set it up that way, the clock output is not enabled and the log shows `FOUT is routed to the wake-up timer (TMPIN); cannot configure clock output`; `off` still works. Starting the timer from this component, at boot or with `rx8111.start_timer`, moves the timer interrupt back to `/INT`, and a failed FOUT setting then gets a fresh set of attempts.","options":[{"label":"32768hz","value":"32768hz"},{"label":"1024hz","value":"1024hz"},{"label":"1hz","value":"1hz"},{"label":"off","value":"off"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#backup-power-and-clock-output"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"timer_clock","type":"string","label":"Timer Clock","description":"Clock source: `4096hz`, `64hz`, `1hz` (default), or `1_60hz` (one tick per minute). The timer period is `timer_count` divided by the clock frequency.","default_value":"1hz","options":[{"label":"4096hz","value":"4096hz"},{"label":"64hz","value":"64hz"},{"label":"1hz","value":"1hz"},{"label":"1_60hz","value":"1_60hz"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#wake-up-timer-options"},{"key":"timer_count","type":"integer","label":"Timer Count","description":"Timer reload value from `1` to `16777215` (24 bits). Required when `timer_enabled: true` or `on_timer` is configured; also configure it to use `rx8111.start_timer`.","range":[1,16777215],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#wake-up-timer-options"},{"key":"timer_enabled","type":"boolean","label":"Timer Enabled","description":"Enable the timer interrupt. Defaults to `true` when `timer_count` or `on_timer` is configured. An explicit `false` stops the battery-backed timer at startup; omitting the timer configuration leaves its stored settings alone.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/rx8111/#wake-up-timer-options"},{"key":"timezone","type":"string","label":"Timezone","description":"Manually tell ESPHome what time zone to use with [this format](https://sourceware.org/glibc/manual/latest/html_node/TZ-Variable.html) (warning: the format is quite complicated, see [examples](https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv)) or the simpler [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) in the form `/`. ESPHome tries to automatically infer the time zone string based on the time zone of the computer that is running ESPHome, but this might not always be accurate. Not available on nRF52 platforms. An empty timezone (the empty string, `\"\"`) will mean no timezone handling will be compiled in, so the device will operate strictly on UTC.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/time/#configuration-variables"}],"required_groups":[{"kind":"at_least_one","keys":["vlf","alarm_flag","timer_flag","xst","event_flag","battery_low","evin"]}]} diff --git a/esphome_device_builder/definitions/components/tinyusb_keyboard.json b/esphome_device_builder/definitions/components/tinyusb_keyboard.json index fdf05688ff..ab1c1e9db2 100644 --- a/esphome_device_builder/definitions/components/tinyusb_keyboard.json +++ b/esphome_device_builder/definitions/components/tinyusb_keyboard.json @@ -1 +1 @@ -{"id":"tinyusb_keyboard","name":"TinyUSB Keyboard","description":"The `tinyusb_keyboard` component makes the device appear to a USB host as a keyboard with media keys, built on [TinyUSB](https://esphome.io/components/tinyusb/). Actions press and release keys, so a button, a sensor or any other automation can type on the connected computer or control its volume and playback.","category":"misc","dependencies":["tinyusb"],"config_entries":[{"key":"tinyusb_id","type":"id","label":"Tinyusb ID","display_format":null,"references_component":"tinyusb"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"tinyusb_keyboard","name":"TinyUSB Keyboard","description":"The `tinyusb_keyboard` component makes the device appear to a USB host as a keyboard with media keys, built on [TinyUSB](https://esphome.io/components/tinyusb/). Actions press and release keys, so a button, a sensor or any other automation can type on the connected computer or control its volume and playback.","category":"misc","docs_url":"https://esphome.io/components/tinyusb_keyboard/","image_url":"https://esphome.io/images/usb.svg","dependencies":["tinyusb"],"config_entries":[{"key":"tinyusb_id","type":"id","label":"Tinyusb ID","display_format":null,"references_component":"tinyusb"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for this component.","advanced":true,"help_link":"https://esphome.io/components/tinyusb_keyboard/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/touchscreen.ns2009.json b/esphome_device_builder/definitions/components/touchscreen.ns2009.json index cf5be2c552..3bcc8447f3 100644 --- a/esphome_device_builder/definitions/components/touchscreen.ns2009.json +++ b/esphome_device_builder/definitions/components/touchscreen.ns2009.json @@ -1 +1 @@ -{"id":"touchscreen.ns2009","name":"NS2009 Touch Screen Controller","description":"The `ns2009` touchscreen platform allows using the touch screen controllers based on the NS2009 chip with ESPHome. The [I²C bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this touchscreen to work.","category":"touchscreen","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of this touchscreen, defaults to `0x48`.","default_value":"72","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"50ms","display_format":null,"duration_min_unit":"ms"},{"key":"calibration","type":"nested","label":"Calibration","description":"The NS2009 is a resistive controller, so each panel needs its own calibration. Set the raw values (`0` - `4095`) that match the edges of the screen: See [Calibration](https://esphome.io/components/touchscreen/#calibration) for how to find these values.","required":true,"display_format":null,"config_entries":[{"key":"x_max","type":"integer","label":"X Max","description":"The raw value at the right (or bottom if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null},{"key":"x_min","type":"integer","label":"X Min","description":"The raw value at the left (or top if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null},{"key":"y_max","type":"integer","label":"Y Max","description":"The raw value at the bottom (or right if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null},{"key":"y_min","type":"integer","label":"Y Min","description":"The raw value at the top (or left if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null}]},{"key":"display","type":"id","label":"Display","display_format":null,"references_component":"display","references_class":"display::Display"},{"key":"id","type":"id","label":"ID","description":"Manually set the ID of this touchscreen.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"threshold","type":"integer","label":"Threshold","description":"The pressure it takes for a touch to register. Range: `0` - `255`, defaults to `40`.","default_value":"40","range":[0,255],"display_format":null,"advanced":true},{"key":"touch_timeout","type":"time_period","label":"Touch Timeout","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"transform","type":"nested","label":"Transform","display_format":null,"advanced":true,"config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_y","type":"boolean","label":"Mirror Y","default_value":false,"display_format":null,"advanced":true},{"key":"swap_xy","type":"boolean","label":"Swap Xy","default_value":false,"display_format":null,"advanced":true}]}]} +{"id":"touchscreen.ns2009","name":"NS2009 Touch Screen Controller","description":"The `ns2009` touchscreen platform allows using the touch screen controllers based on the NS2009 chip with ESPHome. The [I²C bus](https://esphome.io/components/i2c/) is required to be set up in your configuration for this touchscreen to work.","category":"touchscreen","docs_url":"https://esphome.io/components/touchscreen/ns2009/","image_url":"https://esphome.io/images/mod-lcd2.8rtp.jpg","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"The I²C address of this touchscreen, defaults to `0x48`.","default_value":"72","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","default_value":"50ms","display_format":null,"duration_min_unit":"ms"},{"key":"calibration","type":"nested","label":"Calibration","description":"The NS2009 is a resistive controller, so each panel needs its own calibration. Set the raw values (`0` - `4095`) that match the edges of the screen: See [Calibration](https://esphome.io/components/touchscreen/#calibration) for how to find these values.","required":true,"display_format":null,"help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables","config_entries":[{"key":"x_max","type":"integer","label":"X Max","description":"The raw value at the right (or bottom if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null,"help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables"},{"key":"x_min","type":"integer","label":"X Min","description":"The raw value at the left (or top if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null,"help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables"},{"key":"y_max","type":"integer","label":"Y Max","description":"The raw value at the bottom (or right if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null,"help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables"},{"key":"y_min","type":"integer","label":"Y Min","description":"The raw value at the top (or left if `swap_xy` is set) edge.","required":true,"range":[0,4095],"display_format":null,"help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables"}]},{"key":"display","type":"id","label":"Display","display_format":null,"references_component":"display","references_class":"display::Display"},{"key":"id","type":"id","label":"ID","description":"Manually set the ID of this touchscreen.","advanced":true,"help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"threshold","type":"integer","label":"Threshold","description":"The pressure it takes for a touch to register. Range: `0` - `255`, defaults to `40`.","default_value":"40","range":[0,255],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/touchscreen/ns2009/#configuration-variables"},{"key":"touch_timeout","type":"time_period","label":"Touch Timeout","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"transform","type":"nested","label":"Transform","display_format":null,"advanced":true,"config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_y","type":"boolean","label":"Mirror Y","default_value":false,"display_format":null,"advanced":true},{"key":"swap_xy","type":"boolean","label":"Swap Xy","default_value":false,"display_format":null,"advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/touchscreen.spd2010.json b/esphome_device_builder/definitions/components/touchscreen.spd2010.json index 9cfbaf2631..b6a12b2ab1 100644 --- a/esphome_device_builder/definitions/components/touchscreen.spd2010.json +++ b/esphome_device_builder/definitions/components/touchscreen.spd2010.json @@ -1 +1 @@ -{"id":"touchscreen.spd2010","name":"SPD2010 Touchscreen","description":"The `spd2010` touchscreen platform supports the SPD2010 capacitive touch controller. It requires an [I²C bus](https://esphome.io/components/i2c/) and a [display](https://esphome.io/components/display/). The default calibration covers a 412×412 display.","category":"touchscreen","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"I²C address. Defaults to `0x53`.","default_value":"83","range":[0,255],"display_format":"hex"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"Polling interval when no interrupt pin is configured. Defaults to `50ms`.","default_value":"50ms","display_format":null,"duration_min_unit":"ms"},{"key":"display","type":"id","label":"Display","display_format":null,"references_component":"display","references_class":"display::Display"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The controller's interrupt pin. Must be an internal GPIO. When omitted, the controller is polled.","display_format":null,"pin_mode":"input","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The controller's active-low reset pin. GPIO expanders are supported. Omit this if the board handles touch reset.","display_format":null,"pin_mode":"output","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"calibration","type":"nested","label":"Calibration","description":"Defaults to `x_min: 0`, `x_max: 411`, `y_min: 0`, and `y_max: 411`. Override these values for other panel dimensions.","display_format":null,"advanced":true,"config_entries":[{"key":"x_max","type":"integer","label":"X Max","required":true,"range":[0,4095],"display_format":null,"advanced":true},{"key":"x_min","type":"integer","label":"X Min","required":true,"range":[0,4095],"display_format":null,"advanced":true},{"key":"y_max","type":"integer","label":"Y Max","required":true,"range":[0,4095],"display_format":null,"advanced":true},{"key":"y_min","type":"integer","label":"Y Min","required":true,"range":[0,4095],"display_format":null,"advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"touch_timeout","type":"time_period","label":"Touch Timeout","default_value":"50ms","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"transform","type":"nested","label":"Transform","display_format":null,"advanced":true,"config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_y","type":"boolean","label":"Mirror Y","default_value":false,"display_format":null,"advanced":true},{"key":"swap_xy","type":"boolean","label":"Swap Xy","default_value":false,"display_format":null,"advanced":true}]}]} +{"id":"touchscreen.spd2010","name":"SPD2010 Touchscreen","description":"The `spd2010` touchscreen platform supports the SPD2010 capacitive touch controller. It requires an [I²C bus](https://esphome.io/components/i2c/) and a [display](https://esphome.io/components/display/). The default calibration covers a 412×412 display.","category":"touchscreen","docs_url":"https://esphome.io/components/touchscreen/spd2010/","image_url":"https://esphome.io/images/waveshare-lcd-1.46-touch.webp","dependencies":["i2c"],"multi_conf":true,"config_entries":[{"key":"address","type":"integer","label":"Address","description":"I²C address. Defaults to `0x53`.","default_value":"83","range":[0,255],"display_format":"hex","help_link":"https://esphome.io/components/touchscreen/spd2010/#configuration-variables"},{"key":"i2c_id","type":"id","label":"I2C ID","display_format":null,"references_component":"i2c"},{"key":"update_interval","type":"time_period","label":"Update Interval","description":"Polling interval when no interrupt pin is configured. Defaults to `50ms`.","default_value":"50ms","display_format":null,"help_link":"https://esphome.io/components/touchscreen/spd2010/#configuration-variables","duration_min_unit":"ms"},{"key":"display","type":"id","label":"Display","display_format":null,"references_component":"display","references_class":"display::Display"},{"key":"interrupt_pin","type":"pin","label":"Interrupt Pin","description":"The controller's interrupt pin. Must be an internal GPIO. When omitted, the controller is polled.","display_format":null,"pin_mode":"input","help_link":"https://esphome.io/components/touchscreen/spd2010/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"reset_pin","type":"pin","label":"Reset Pin","description":"The controller's active-low reset pin. GPIO expanders are supported. Omit this if the board handles touch reset.","display_format":null,"pin_mode":"output","help_link":"https://esphome.io/components/touchscreen/spd2010/#configuration-variables","config_entries":[{"key":"mode","type":"nested","label":"Mode","description":"Pin mode flags (input / output / pullup / pulldown / open_drain). Combine flags as needed — e.g. input + pullup for a button pulled to VCC.","display_format":null,"advanced":true,"config_entries":[{"key":"input","type":"boolean","label":"Input","description":"Set the input mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"output","type":"boolean","label":"Output","description":"Set the output mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pullup","type":"boolean","label":"Pullup","description":"Set the pullup mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"pulldown","type":"boolean","label":"Pulldown","description":"Set the pulldown mode flag.","default_value":false,"display_format":null,"advanced":true},{"key":"open_drain","type":"boolean","label":"Open Drain","description":"Set the open drain mode flag.","default_value":false,"display_format":null,"advanced":true}]},{"key":"inverted","type":"boolean","label":"Inverted","description":"Invert the logical level. ``true`` swaps high/low in software so an active-low button reads as active when grounded.","default_value":false,"display_format":null,"advanced":true}]},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"calibration","type":"nested","label":"Calibration","description":"Defaults to `x_min: 0`, `x_max: 411`, `y_min: 0`, and `y_max: 411`. Override these values for other panel dimensions.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/touchscreen/spd2010/#configuration-variables","config_entries":[{"key":"x_max","type":"integer","label":"X Max","required":true,"range":[0,4095],"display_format":null,"advanced":true},{"key":"x_min","type":"integer","label":"X Min","required":true,"range":[0,4095],"display_format":null,"advanced":true},{"key":"y_max","type":"integer","label":"Y Max","required":true,"range":[0,4095],"display_format":null,"advanced":true},{"key":"y_min","type":"integer","label":"Y Min","required":true,"range":[0,4095],"display_format":null,"advanced":true}]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"touch_timeout","type":"time_period","label":"Touch Timeout","default_value":"50ms","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"transform","type":"nested","label":"Transform","display_format":null,"advanced":true,"config_entries":[{"key":"mirror_x","type":"boolean","label":"Mirror X","default_value":false,"display_format":null,"advanced":true},{"key":"mirror_y","type":"boolean","label":"Mirror Y","default_value":false,"display_format":null,"advanced":true},{"key":"swap_xy","type":"boolean","label":"Swap Xy","default_value":false,"display_format":null,"advanced":true}]}]} diff --git a/esphome_device_builder/definitions/components/usb_audio.json b/esphome_device_builder/definitions/components/usb_audio.json index 52f97e0c8a..c032dcc7a4 100644 --- a/esphome_device_builder/definitions/components/usb_audio.json +++ b/esphome_device_builder/definitions/components/usb_audio.json @@ -1 +1 @@ -{"id":"usb_audio","name":"USB Audio","description":"The `usb_audio` component lets an ESP32 act as a USB host for USB Audio Class (UAC) devices such as USB sound cards, USB DACs, USB microphones and USB speakerphones. A connected device can be used as a [USB Audio Speaker](https://esphome.io/components/speaker/usb_audio/), a [USB Audio Microphone](https://esphome.io/components/microphone/usb_audio/), or both. Each `usb_audio` component supports one speaker and one microphone.","category":"misc","dependencies":["esp32"],"supported_platforms":["esp32"],"config_entries":[{"key":"id","type":"id","label":"ID","description":"The id to use for this component.","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"usb_audio","name":"USB Audio","description":"The `usb_audio` component lets an ESP32 act as a USB host for USB Audio Class (UAC) devices such as USB sound cards, USB DACs, USB microphones and USB speakerphones. A connected device can be used as a [USB Audio Speaker](https://esphome.io/components/speaker/usb_audio/), a [USB Audio Microphone](https://esphome.io/components/microphone/usb_audio/), or both. Each `usb_audio` component supports one speaker and one microphone.","category":"misc","docs_url":"https://esphome.io/components/usb_audio/","image_url":"https://esphome.io/images/usb.svg","dependencies":["esp32"],"supported_platforms":["esp32"],"config_entries":[{"key":"id","type":"id","label":"ID","description":"The id to use for this component.","advanced":true,"help_link":"https://esphome.io/components/usb_audio/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/esphome_device_builder/definitions/components/usb_cdc_acm.json b/esphome_device_builder/definitions/components/usb_cdc_acm.json index f21b9cb691..d1a061b09c 100644 --- a/esphome_device_builder/definitions/components/usb_cdc_acm.json +++ b/esphome_device_builder/definitions/components/usb_cdc_acm.json @@ -1 +1 @@ -{"id":"usb_cdc_acm","name":"USB CDC-ACM Interface","description":"The USB CDC-ACM (Communications Device Class - Abstract Control Model) component enables supported devices to function as USB virtual serial ports. When connected to a host computer, the microcontroller will appear as one or more serial/COM ports, allowing serial communication with the application running on the microcontroller.","category":"misc","docs_url":"https://esphome.io/components/usb_cdc_acm/","image_url":"https://esphome.io/images/usb.svg","provides":["uart"],"config_entries":[{"key":"id","type":"id","label":"ID","description":"The ID to use for this interface instance. This is used to refer to the interface in other components, platforms or lambdas.","advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#interface-configuration-variables"},{"key":"interfaces","type":"nested","label":"Interfaces","description":"List of CDC-ACM interface instances. Up to two are supported; at least one is required. Defaults to a single-item list which defines a single interface only.","default_value":"[{}]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","required":true},{"key":"debug","type":"string","label":"Debug","description":"Log the bytes sent and received on this port, with the same options as the [UART debugging](https://esphome.io/components/uart/#debugging) configuration.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#interface-configuration-variables"},{"key":"disabled","type":"boolean","label":"Disabled","description":"**nRF52 only.** Skip this port, for example because the logger or the mcumgr OTA transport owns it. The entry keeps its place in the list so the later ports keep their numbers. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#interface-configuration-variables","supported_platforms":["nrf52"]}]},{"key":"rx_buffer_size","type":"float_with_unit","label":"RX Buffer Size","description":"Size of the USB receive buffer in bytes. Range: 1-65535. Defaults to `256`.","default_value":"256","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#configuration-variables","unit_options":["B","kB","MB","GB"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"tx_buffer_size","type":"float_with_unit","label":"TX Buffer Size","description":"Size of the USB transmit buffer in bytes. Range: 1-65535. Defaults to `256`.","default_value":"256","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#configuration-variables","unit_options":["B","kB","MB","GB"]}],"provides_id_paths":{"uart":[["interfaces","id"]]}} +{"id":"usb_cdc_acm","name":"USB CDC-ACM Interface","description":"The USB CDC-ACM (Communications Device Class - Abstract Control Model) component enables supported devices to function as USB virtual serial ports. When connected to a host computer, the microcontroller will appear as one or more serial/COM ports, allowing serial communication with the application running on the microcontroller.","category":"misc","docs_url":"https://esphome.io/components/usb_cdc_acm/","image_url":"https://esphome.io/images/usb.svg","provides":["uart"],"config_entries":[{"key":"id","type":"id","label":"ID","description":"The ID to use for this interface instance. This is used to refer to the interface in other components, platforms or lambdas.","advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#interface-configuration-variables"},{"key":"interfaces","type":"nested","label":"Interfaces","description":"List of CDC-ACM interface instances. Up to two are supported; at least one is required. Defaults to a single-item list which defines a single interface only.","default_value":"[{}]","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","description":"The ID to use for this interface instance. This is used to refer to the interface in other components, platforms or lambdas.","required":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#interface-configuration-variables"},{"key":"debug","type":"string","label":"Debug","description":"Log the bytes sent and received on this port, with the same options as the [UART debugging](https://esphome.io/components/uart/#debugging) configuration.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#interface-configuration-variables"},{"key":"disabled","type":"boolean","label":"Disabled","description":"**nRF52 only.** Skip this port, for example because the logger or the mcumgr OTA transport owns it. The entry keeps its place in the list so the later ports keep their numbers. Defaults to `false`.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#interface-configuration-variables","supported_platforms":["nrf52"]}]},{"key":"rx_buffer_size","type":"float_with_unit","label":"RX Buffer Size","description":"Size of the USB receive buffer in bytes. Range: 1-65535. Defaults to `256`.","default_value":"256","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#configuration-variables","unit_options":["B","kB","MB","GB"]},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"tx_buffer_size","type":"float_with_unit","label":"TX Buffer Size","description":"Size of the USB transmit buffer in bytes. Range: 1-65535. Defaults to `256`.","default_value":"256","range":[0,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/usb_cdc_acm/#configuration-variables","unit_options":["B","kB","MB","GB"]}],"provides_id_paths":{"uart":[["interfaces","id"]]}} diff --git a/esphome_device_builder/definitions/components/vevor_dtx.json b/esphome_device_builder/definitions/components/vevor_dtx.json index 2a8f7990c0..288c80cdc0 100644 --- a/esphome_device_builder/definitions/components/vevor_dtx.json +++ b/esphome_device_builder/definitions/components/vevor_dtx.json @@ -1 +1 @@ -{"id":"vevor_dtx","name":"Vevor DTX Weather Station","description":"The `vevor_dtx` component decodes the internal DTX data signal used by some Vevor 7-in-1 weather station receiver displays. It is intended for installations where an ESP is connected to the receiver board data signal, rather than receiving the outdoor sensor's RF transmission directly.","category":"misc","dependencies":["remote_receiver"],"multi_conf":true,"config_entries":[{"key":"receiver_id","type":"id","label":"Receiver ID","description":"The ID of the [Remote Receiver](https://esphome.io/components/remote_receiver/) connected to the DTX signal. Required when more than one receiver is configured.","display_format":null,"references_component":"remote_base"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bit_time","type":"time_period","label":"Bit Time","description":"Expected DTX bit timing. Defaults to `88us`.","default_value":"88us","display_format":null,"advanced":true,"duration_min_unit":"us"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"station_id","type":"integer","label":"Station ID","description":"Only decode frames from the outdoor station with this ID, so a neighbour's station cannot overwrite the readings. Read the ID of your station from the `sensor_id` text sensor first, then set it here, for example `station_id: 0x1234`. Defaults to accepting every station.","range":[0,65535],"display_format":"hex","advanced":true}]} +{"id":"vevor_dtx","name":"Vevor DTX Weather Station","description":"The `vevor_dtx` component decodes the internal DTX data signal used by some Vevor 7-in-1 weather station receiver displays. It is intended for installations where an ESP is connected to the receiver board data signal, rather than receiving the outdoor sensor's RF transmission directly.","category":"misc","docs_url":"https://esphome.io/components/vevor_dtx/","image_url":"https://esphome.io/images/weather-sunny.svg","dependencies":["remote_receiver"],"multi_conf":true,"config_entries":[{"key":"receiver_id","type":"id","label":"Receiver ID","description":"The ID of the [Remote Receiver](https://esphome.io/components/remote_receiver/) connected to the DTX signal. Required when more than one receiver is configured.","display_format":null,"references_component":"remote_base","help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables"},{"key":"id","type":"id","label":"ID","advanced":true},{"key":"bit_time","type":"time_period","label":"Bit Time","description":"Expected DTX bit timing. Defaults to `88us`.","default_value":"88us","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables","duration_min_unit":"us"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"station_id","type":"integer","label":"Station ID","description":"Only decode frames from the outdoor station with this ID, so a neighbour's station cannot overwrite the readings. Read the ID of your station from the `sensor_id` text sensor first, then set it here, for example `station_id: 0x1234`. Defaults to accepting every station.","range":[0,65535],"display_format":"hex","advanced":true,"help_link":"https://esphome.io/components/vevor_dtx/#configuration-variables"}]} diff --git a/esphome_device_builder/definitions/components/vnc.json b/esphome_device_builder/definitions/components/vnc.json index c14e73bd2c..8434464034 100644 --- a/esphome_device_builder/definitions/components/vnc.json +++ b/esphome_device_builder/definitions/components/vnc.json @@ -1 +1 @@ -{"id":"vnc","name":"VNC Client","description":"The `vnc` component connects to a VNC server and shows its screen on a [display](https://esphome.io/components/display/). It connects when the device starts, reconnects by itself when the server goes away, and can send touches, key presses and pointer clicks back to the server.","category":"misc","dependencies":["display"],"multi_conf":true,"config_entries":[{"key":"password","type":"secure_string","label":"Password","description":"The VNC password, if the server asks for one. VNC uses only the first 8 bytes: 8 characters for plain letters, digits and symbols, fewer if the password has accented or other special characters.","display_format":null},{"key":"display_id","type":"id","label":"Display ID","description":"The display to draw on. Only needed if there is more than one display.","display_format":null,"references_component":"display","references_class":"display::Display"},{"key":"host","type":"string","label":"Host","description":"The IPv4 address or hostname of the VNC server.","required":true,"display_format":null},{"key":"touchscreen_id","type":"id","label":"Touchscreen ID","description":"A [touchscreen](https://esphome.io/components/touchscreen/) on the same display. Touches are sent to the server as left mouse button clicks and drags.","display_format":null,"references_component":"touchscreen"},{"key":"id","type":"id","label":"ID","description":"The `vnc` client to connect or disconnect. Only needed if there is more than one.","advanced":true},{"key":"max_update_delay","type":"time_period","label":"Max Update Delay","description":"The longest a change waits for the picture to stop changing. If the picture never stops changing, for example because of a moving background, the display refreshes about this often. Defaults to `1s`. On e-paper, a few seconds often looks better.","default_value":"1s","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"pixel_format","type":"string","label":"Pixel Format","description":"The colour format to ask the server for. `rgb565` uses 2 bytes per pixel and shows all grey levels of a 16-level e-paper panel. `rgb332` uses half the data but shows only about 8 grey levels. `auto` uses `rgb332` on black and white displays and `rgb565` on all others. Defaults to `auto`.","default_value":"auto","options":[{"label":"auto","value":"auto"},{"label":"rgb565","value":"rgb565"},{"label":"rgb332","value":"rgb332"}],"display_format":null,"advanced":true},{"key":"port","type":"integer","label":"Port","description":"The port of the VNC server. Defaults to `5900`.","default_value":"5900","range":[1,65535],"display_format":null,"advanced":true},{"key":"reconnect_interval","type":"time_period","label":"Reconnect Interval","description":"How long to wait before the first new connection attempt after a failure. The wait doubles with each further failure, up to 60 seconds or `reconnect_interval`, whichever is longer. Defaults to `5s`. After a configuration problem, for example when the server is not a VNC server or asks for a password that is not set, the client waits 5 minutes instead. After a wrong password it stops retrying until the device restarts or `vnc.connect` runs.","default_value":"5s","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"update_delay","type":"time_period","label":"Update Delay","description":"How long the picture must stay unchanged before the display refreshes. This turns an animation into one refresh that shows where the animation ended. Defaults to `200ms`.","default_value":"200ms","display_format":null,"advanced":true,"duration_min_unit":"ms"}]} +{"id":"vnc","name":"VNC Client","description":"The `vnc` component connects to a VNC server and shows its screen on a [display](https://esphome.io/components/display/). It connects when the device starts, reconnects by itself when the server goes away, and can send touches, key presses and pointer clicks back to the server.","category":"misc","docs_url":"https://esphome.io/components/vnc/","image_url":"https://esphome.io/images/vnc.svg","dependencies":["display"],"multi_conf":true,"config_entries":[{"key":"password","type":"secure_string","label":"Password","description":"The VNC password, if the server asks for one. VNC uses only the first 8 bytes: 8 characters for plain letters, digits and symbols, fewer if the password has accented or other special characters.","display_format":null,"help_link":"https://esphome.io/components/vnc/#configuration-variables"},{"key":"display_id","type":"id","label":"Display ID","description":"The display to draw on. Only needed if there is more than one display.","display_format":null,"references_component":"display","references_class":"display::Display","help_link":"https://esphome.io/components/vnc/#configuration-variables"},{"key":"host","type":"string","label":"Host","description":"The IPv4 address or hostname of the VNC server.","required":true,"display_format":null,"help_link":"https://esphome.io/components/vnc/#configuration-variables"},{"key":"touchscreen_id","type":"id","label":"Touchscreen ID","description":"A [touchscreen](https://esphome.io/components/touchscreen/) on the same display. Touches are sent to the server as left mouse button clicks and drags.","display_format":null,"references_component":"touchscreen","help_link":"https://esphome.io/components/vnc/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"The `vnc` client to connect or disconnect. Only needed if there is more than one.","advanced":true,"help_link":"https://esphome.io/components/vnc/#vnc-connect-and-vnc-disconnect-actions"},{"key":"max_update_delay","type":"time_period","label":"Max Update Delay","description":"The longest a change waits for the picture to stop changing. If the picture never stops changing, for example because of a moving background, the display refreshes about this often. Defaults to `1s`. On e-paper, a few seconds often looks better.","default_value":"1s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vnc/#configuration-variables","duration_min_unit":"ms"},{"key":"pixel_format","type":"string","label":"Pixel Format","description":"The colour format to ask the server for. `rgb565` uses 2 bytes per pixel and shows all grey levels of a 16-level e-paper panel. `rgb332` uses half the data but shows only about 8 grey levels. `auto` uses `rgb332` on black and white displays and `rgb565` on all others. Defaults to `auto`.","default_value":"auto","options":[{"label":"auto","value":"auto"},{"label":"rgb565","value":"rgb565"},{"label":"rgb332","value":"rgb332"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vnc/#configuration-variables"},{"key":"port","type":"integer","label":"Port","description":"The port of the VNC server. Defaults to `5900`.","default_value":"5900","range":[1,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vnc/#configuration-variables"},{"key":"reconnect_interval","type":"time_period","label":"Reconnect Interval","description":"How long to wait before the first new connection attempt after a failure. The wait doubles with each further failure, up to 60 seconds or `reconnect_interval`, whichever is longer. Defaults to `5s`. After a configuration problem, for example when the server is not a VNC server or asks for a password that is not set, the client waits 5 minutes instead. After a wrong password it stops retrying until the device restarts or `vnc.connect` runs.","default_value":"5s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vnc/#configuration-variables","duration_min_unit":"ms"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"update_delay","type":"time_period","label":"Update Delay","description":"How long the picture must stay unchanged before the display refreshes. This turns an animation into one refresh that shows where the animation ended. Defaults to `200ms`.","default_value":"200ms","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/vnc/#configuration-variables","duration_min_unit":"ms"}]} diff --git a/esphome_device_builder/definitions/components/water_heater.haier_water_heater.json b/esphome_device_builder/definitions/components/water_heater.haier_water_heater.json index 97578962d3..97812bc140 100644 --- a/esphome_device_builder/definitions/components/water_heater.haier_water_heater.json +++ b/esphome_device_builder/definitions/components/water_heater.haier_water_heater.json @@ -1 +1 @@ -{"id":"water_heater.haier_water_heater","name":"Haier Water Heater","description":"The `haier_water_heater` water heater platform controls a Haier water heater over UART, replacing its original Wi-Fi module. It uses hOn automatically and supports power, operating mode, target temperature, and status monitoring. SmartAir2 is not supported.","category":"water_heater","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true,"require_tx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"provides":["haier_water_heater"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the water heater. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"The UART bus to use. Required if multiple UART buses are configured.","display_format":null,"references_component":"uart"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the water heater in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"communication_timeout","type":"time_period","label":"Communication Timeout","description":"Time without a valid heater status before communication is reported as disconnected. Defaults to `20s`. Shorter values may cause false disconnects during periodic device-information requests. This setting also controls the component warning when no communication sensor is configured.","default_value":"20s","display_format":null,"advanced":true,"duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"supported_modes","type":"string","label":"Supported Modes","description":"Static list of operation modes that will be exposed to the frontend (for example Home Assistant). When not specified, all modes supported by the platform are exposed.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Configuration for the frontend representation. The temperatures are in `°C`, or in the platform's `unit_of_measurement` where it offers one (as the [template water heater](https://esphome.io/components/water_heater/template/) does); a value written with another unit, such as `120°F`, is converted into it, and a step as a difference.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","config_entries":[{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"Override the maximum temperature shown in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","unit_options":["°C","°F","K"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"Override the minimum temperature shown in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","unit_options":["°C","°F","K"]},{"key":"target_temperature_step","type":"float_with_unit","label":"Target Temperature Step","description":"Override the temperature steps shown in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","unit_options":["°C","°F","K"]}]}]} +{"id":"water_heater.haier_water_heater","name":"Haier Water Heater","description":"The `haier_water_heater` water heater platform controls a Haier water heater over UART, replacing its original Wi-Fi module. It uses hOn automatically and supports power, operating mode, target temperature, and status monitoring. SmartAir2 is not supported.","category":"water_heater","docs_url":"https://esphome.io/components/water_heater/haier_water_heater/","image_url":"https://esphome.io/images/badges/haier_water_heater.svg","dependencies":["uart"],"multi_conf":true,"bus_constraints":{"uart":{"baud_rate":9600,"require_rx":true,"require_tx":true,"data_bits":8,"parity":"NONE","stop_bits":1}},"provides":["haier_water_heater"],"config_entries":[{"key":"name","type":"string","label":"Name","description":"The name for the water heater. At least one of **id** and **name** must be specified.","display_format":null,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"uart_id","type":"id","label":"UART ID","description":"The UART bus to use. Required if multiple UART buses are configured.","display_format":null,"references_component":"uart","help_link":"https://esphome.io/components/water_heater/haier_water_heater/#configuration-variables"},{"key":"icon","type":"icon","label":"Icon","description":"Manually set the icon to use for the water heater in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID for code generation. At least one of **id** and **name** must be specified.","advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"communication_timeout","type":"time_period","label":"Communication Timeout","description":"Time without a valid heater status before communication is reported as disconnected. Defaults to `20s`. Shorter values may cause false disconnects during periodic device-information requests. This setting also controls the component warning when no communication sensor is configured.","default_value":"20s","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/haier_water_heater/#configuration-variables","duration_min_unit":"ms"},{"key":"device_id","type":"id","label":"Device ID","display_format":null,"advanced":true},{"key":"disabled_by_default","type":"boolean","label":"Disabled By Default","description":"If true, this entity should not be added to any client's frontend, (usually Home Assistant) without the user manually enabling it (via the Home Assistant UI). Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"entity_category","type":"string","label":"Entity Category","description":"The category of the entity. See [https://developers.home-assistant.io/docs/core/entity/#generic-properties](https://developers.home-assistant.io/docs/core/entity/#generic-properties) for a list of available options. Set to `\"\"` to remove the default entity category.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"internal","type":"boolean","label":"Internal","description":"Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an `id` without a `name` will implicitly set this to true.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"supported_modes","type":"string","label":"Supported Modes","description":"Static list of operation modes that will be exposed to the frontend (for example Home Assistant). When not specified, all modes supported by the platform are exposed.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration"},{"key":"visual","type":"nested","label":"Visual","description":"Configuration for the frontend representation. The temperatures are in `°C`, or in the platform's `unit_of_measurement` where it offers one (as the [template water heater](https://esphome.io/components/water_heater/template/) does); a value written with another unit, such as `120°F`, is converted into it, and a step as a difference.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","config_entries":[{"key":"max_temperature","type":"float_with_unit","label":"Max Temperature","description":"Override the maximum temperature shown in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","unit_options":["°C","°F","K"]},{"key":"min_temperature","type":"float_with_unit","label":"Min Temperature","description":"Override the minimum temperature shown in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","unit_options":["°C","°F","K"]},{"key":"target_temperature_step","type":"float_with_unit","label":"Target Temperature Step","description":"Override the temperature steps shown in the frontend.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/water_heater/#base-water-heater-configuration","unit_options":["°C","°F","K"]}]}]} diff --git a/esphome_device_builder/definitions/components/web_server.json b/esphome_device_builder/definitions/components/web_server.json index dc147c7d27..a6964b7748 100644 --- a/esphome_device_builder/definitions/components/web_server.json +++ b/esphome_device_builder/definitions/components/web_server.json @@ -1 +1 @@ -{"id":"web_server","name":"Web Server Component","description":"The `web_server` component creates a simple web server on the node that can be accessed through any browser and a simple [REST API](https://esphome.io/web-api/#api-rest). The component still uses a good amount of flash, though significantly less than in older releases, and it has been heavily optimized to be much cheaper to include, including on the ESP8266; each connected client uses some memory, so check your device's free heap if you combine it with many other features on a memory-constrained board.","category":"core","docs_url":"https://esphome.io/components/web_server/","image_url":"https://esphome.io/images/badges/http.svg","config_entries":[{"key":"auth","type":"nested","label":"Auth","description":"Enables HTTP authentication with a username and password.","display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables","config_entries":[{"key":"type","type":"string","label":"Type","description":"The HTTP authentication scheme. Both show the same login prompt in the browser; the difference is on the network. One of: The default is currently `basic` but will change to `digest` in ESPHome `2027.1.0`; set `type: basic` explicitly to keep it after that release. When using `digest`, REST API clients must request it too (for example, `curl --digest`); plain `basic` clients are rejected.","default_value":"basic","options":[{"label":"basic","value":"basic","description":"Sends the password in an easily reversible (Base64) form on every request."},{"label":"digest","value":"digest","description":"Sends only hashes, keeping the password off the network. Recommended."}],"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"password","type":"secure_string","label":"Password","description":"The password to check for authentication.","required":true,"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"username","type":"string","label":"Username","description":"The username to use for authentication.","required":true,"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"}]},{"key":"version","type":"integer","label":"Version","description":"`1`, `2` or `3`. Version 1 displays as a table. Version 2 uses web components and has more functionality. Version 3 uses HA-Styling. Defaults to `2`. Version 1 is deprecated and will be removed in 2027.1.0; please migrate to version 2 (the default) or version 3.","default_value":"2","options":[{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"}],"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"allowed_origins","type":"string","label":"Allowed Origins","description":"A list of origins that browsers are allowed to make cross-origin requests from. See [Cross-Origin Requests](https://esphome.io/components/web_server/#cross-origin-requests) for details. Each entry must exactly match the requesting page's `Origin` header (e.g. `https://app.esphome.io`) and be at most 127 characters long. A single `\"*\"` entry (quoted, since an unquoted `*` is invalid YAML) allows any origin, but this is not recommended. On ESP32, a device reached through a host name longer than about 119 characters can only be used from a browser with the `\"*\"` entry, because its own origin does not fit the 127 character limit.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"compression","type":"string","label":"Compression","description":"The compression algorithm used for embedded web assets when `local` is enabled. Options are `gzip` or `br` (Brotli). Brotli provides smaller embedded web assets (~10% smaller than gzip), but some browsers only support Brotli over HTTPS connections. Since ESPHome devices typically serve over HTTP, gzip is recommended for maximum compatibility. Defaults to `gzip`.","default_value":"gzip","options":[{"label":"gzip","value":"gzip"},{"label":"br","value":"br"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"css_include","type":"string","label":"Css Include","description":"Path to local file to be included in web server index page. Contents of this file will be served as `/0.css` and used as CSS stylesheet by internal webserver. Useful when building device without internet access, where you want to use built-in AP and webserver.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"css_url","type":"string","label":"Css URL","description":"The URL that should be used for the CSS stylesheet. Defaults to [https://oi.esphome.io/v1/webserver-v1.min.css](https://oi.esphome.io/v1/webserver-v1.min.css) (updates will go to `v2`, `v3`, etc). Can be set to empty string.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"enable_private_network_access","type":"boolean","label":"Enable Private Network Access","description":"Enables support for [Private Network Access](https://wicg.github.io/private-network-access) and the [Private Network Access Permission Prompt](https://wicg.github.io/private-network-access/#permission-prompt). When enabled, preflight requests are authorized against `allowed_origins`, so `allowed_origins` must also be set. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"include_internal","type":"boolean","label":"Include Internal","description":"Whether `internal` entities are shown on the web interface and reachable through the [REST API](https://esphome.io/web-api/#api-rest). Without it, an internal entity's REST endpoints answer with 404, the same way the native API and MQTT hide internal entities. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"js_include","type":"string","label":"Js Include","description":"Path to local file to be included in web server index page. Contents of this file will be served as `/0.js` and used as JS script by internal webserver. Useful when building device without internet access, where you want to use built-in AP and webserver.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"js_url","type":"string","label":"Js URL","description":"The URL that should be used for the JS script. Defaults to [https://oi.esphome.io/v1/webserver-v1.min.js](https://oi.esphome.io/v1/webserver-v1.min.js). Can be set to empty string.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"local","type":"boolean","label":"Local","description":"Include the supporting JavaScript locally, allowing it to work without internet access. Defaults to `false`, except when the [WiFi](https://esphome.io/components/wifi/) configuration has only an access point (`ap:` and no `ssid`/`networks`), where it defaults to `true` on version 2 and 3 (version 1 has no local mode); see [Access point mode](https://esphome.io/components/web_server/#access-point-mode).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"log","type":"boolean","label":"Log","description":"Turn on or off the log feature inside the web server. When enabled, the device also streams logs over the `/events` endpoint, so [`esphome logs`](https://esphome.io/guides/cli/#logs-command) can view logs over the network on devices that have no [native API](https://esphome.io/components/api/) configured. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"ota","type":"boolean","label":"OTA","description":"Explicitly disable OTA updates through the web server interface. Only accepts `false`. This option is typically used when you have both `web_server` and `captive_portal` configured, and you want OTA updates to be available only through the captive portal. Since `captive_portal` automatically loads the web server OTA platform, setting this to `false` prevents OTA access through the regular web interface while maintaining it for captive portal access. To enable OTA for web server, use the `web_server` OTA platform instead.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"port","type":"integer","label":"Port","description":"The port the web server should open its socket on.","default_value":"80","range":[1,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"sorting_groups","type":"nested","label":"Sorting Groups","description":"Available only on version: 3. A list of group ID's and names to group the entities. See Webserver Entity Grouping. sorting_weight will be displayed first. Defaults to 50 To conserve flash size, the CSS and JS files used on the root page to show a simple user interface are externally hosted at oi.esphome.io. If you want to use your own service, use the css_url and js_url options in your configuration.","display_format":null,"multi_value":true,"depends_on":"version","advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for the group.","required":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"name","type":"string","label":"Name","description":"A string representing the group name which is displayed as the header of the group","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"sorting_weight","type":"float","label":"Sorting Weight","description":"A float representing the weight of the group. A group with a smaller","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"}],"depends_on_value_any":[3,"3"]},{"key":"web_server_base_id","type":"id","label":"Web Server Base ID","display_format":null,"references_component":"web_server_base","advanced":true}]} +{"id":"web_server","name":"Web Server Component","description":"The `web_server` component creates a simple web server on the node that can be accessed through any browser and a simple [REST API](https://esphome.io/web-api/#api-rest). The component still uses a good amount of flash, though significantly less than in older releases, and it has been heavily optimized to be much cheaper to include, including on the ESP8266; each connected client uses some memory, so check your device's free heap if you combine it with many other features on a memory-constrained board.","category":"core","docs_url":"https://esphome.io/components/web_server/","image_url":"https://esphome.io/images/badges/http.svg","config_entries":[{"key":"auth","type":"nested","label":"Auth","description":"Enables HTTP authentication with a username and password.","display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables","config_entries":[{"key":"type","type":"string","label":"Type","description":"The HTTP authentication scheme. Both show the same login prompt in the browser; the difference is on the network. One of: The default is currently `basic` but will change to `digest` in ESPHome `2027.1.0`; set `type: basic` explicitly to keep it after that release. When using `digest`, REST API clients must request it too (for example, `curl --digest`); plain `basic` clients are rejected.","default_value":"basic","options":[{"label":"basic","value":"basic","description":"Sends the password in an easily reversible (Base64) form on every request."},{"label":"digest","value":"digest","description":"Sends only hashes, keeping the password off the network. Recommended."}],"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"password","type":"secure_string","label":"Password","description":"The password to check for authentication.","required":true,"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"username","type":"string","label":"Username","description":"The username to use for authentication.","required":true,"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"}]},{"key":"version","type":"integer","label":"Version","description":"`1`, `2` or `3`. Version 1 displays as a table. Version 2 uses web components and has more functionality. Version 3 uses HA-Styling. Defaults to `2`. Version 1 is deprecated and will be removed in 2027.1.0; please migrate to version 2 (the default) or version 3.","default_value":"2","options":[{"label":"1","value":"1"},{"label":"2","value":"2"},{"label":"3","value":"3"}],"display_format":null,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for code generation.","advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"allowed_origins","type":"string","label":"Allowed Origins","description":"A list of origins that browsers are allowed to make cross-origin requests from. See [Cross-Origin Requests](https://esphome.io/components/web_server/#cross-origin-requests) for details. Each entry must exactly match the requesting page's `Origin` header (e.g. `https://app.esphome.io`) and be at most 127 characters long. A single `\"*\"` entry (quoted, since an unquoted `*` is invalid YAML) allows any origin, but this is not recommended. On ESP32, a device reached through a host name longer than about 119 characters can only be used from a browser with the `\"*\"` entry, because its own origin does not fit the 127 character limit.","display_format":null,"multi_value":true,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"compression","type":"string","label":"Compression","description":"The compression algorithm used for embedded web assets when `local` is enabled. Options are `gzip` or `br` (Brotli). Brotli provides smaller embedded web assets (~10% smaller than gzip), but some browsers only support Brotli over HTTPS connections. Since ESPHome devices typically serve over HTTP, gzip is recommended for maximum compatibility. Defaults to `gzip`.","default_value":"gzip","options":[{"label":"gzip","value":"gzip"},{"label":"br","value":"br"}],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"css_include","type":"string","label":"Css Include","description":"Path to local file to be included in web server index page. Contents of this file will be served as `/0.css` and used as CSS stylesheet by internal webserver. Useful when building device without internet access, where you want to use built-in AP and webserver.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"css_url","type":"string","label":"Css URL","description":"The URL that should be used for the CSS stylesheet. Defaults to [https://oi.esphome.io/v1/webserver-v1.min.css](https://oi.esphome.io/v1/webserver-v1.min.css) (updates will go to `v2`, `v3`, etc). Can be set to empty string.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"enable_private_network_access","type":"boolean","label":"Enable Private Network Access","description":"Enables support for [Private Network Access](https://wicg.github.io/private-network-access) and the [Private Network Access Permission Prompt](https://wicg.github.io/private-network-access/#permission-prompt). When enabled, preflight requests are authorized against `allowed_origins`, so `allowed_origins` must also be set. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"include_internal","type":"boolean","label":"Include Internal","description":"Whether `internal` entities are shown on the web interface and reachable through the [REST API](https://esphome.io/web-api/#api-rest). Without it, an internal entity's REST endpoints answer with 404, the same way the native API and MQTT hide internal entities. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"js_include","type":"string","label":"Js Include","description":"Path to local file to be included in web server index page. Contents of this file will be served as `/0.js` and used as JS script by internal webserver. Useful when building device without internet access, where you want to use built-in AP and webserver. On version 2 and 3 the page loads the file as a JavaScript module, so it can also `import` add-ons by URL while the main script keeps rendering the interface. The version 1 page does not load it. See [Loading Add-on Modules](https://esphome.io/components/web_server/#loading-add-on-modules).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"js_url","type":"string","label":"Js URL","description":"The URL that should be used for the JS script. Defaults to [https://oi.esphome.io/v1/webserver-v1.min.js](https://oi.esphome.io/v1/webserver-v1.min.js). Can be set to empty string.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"local","type":"boolean","label":"Local","description":"Include the supporting JavaScript locally, allowing it to work without internet access. Defaults to `false`, except when the [WiFi](https://esphome.io/components/wifi/) configuration has only an access point (`ap:` and no `ssid`/`networks`), where it defaults to `true` on version 2 and 3 (version 1 has no local mode); see [Access point mode](https://esphome.io/components/web_server/#access-point-mode).","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"log","type":"boolean","label":"Log","description":"Turn on or off the log feature inside the web server. When enabled, the device also streams logs over the `/events` endpoint, so [`esphome logs`](https://esphome.io/guides/cli/#logs-command) can view logs over the network on devices that have no [native API](https://esphome.io/components/api/) configured. Defaults to `true`.","default_value":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"ota","type":"boolean","label":"OTA","description":"Explicitly disable OTA updates through the web server interface. Only accepts `false`. This option is typically used when you have both `web_server` and `captive_portal` configured, and you want OTA updates to be available only through the captive portal. Since `captive_portal` automatically loads the web server OTA platform, setting this to `false` prevents OTA access through the regular web interface while maintaining it for captive portal access. To enable OTA for web server, use the `web_server` OTA platform instead.","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"port","type":"integer","label":"Port","description":"The port the web server should open its socket on.","default_value":"80","range":[1,65535],"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true},{"key":"sorting_groups","type":"nested","label":"Sorting Groups","description":"Available only on version: 3. A list of group ID's and names to group the entities. See Webserver Entity Grouping. sorting_weight will be displayed first. Defaults to 50 To conserve flash size, the CSS and JS files used on the root page to show a simple user interface are externally hosted at oi.esphome.io. If you want to use your own service, use the css_url and js_url options in your configuration.","display_format":null,"multi_value":true,"depends_on":"version","advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables","config_entries":[{"key":"id","type":"id","label":"ID","description":"Manually specify the ID used for the group.","required":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"name","type":"string","label":"Name","description":"A string representing the group name which is displayed as the header of the group","required":true,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"},{"key":"sorting_weight","type":"float","label":"Sorting Weight","description":"A float representing the weight of the group. A group with a smaller","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/web_server/#configuration-variables"}],"depends_on_value_any":[3,"3"]},{"key":"web_server_base_id","type":"id","label":"Web Server Base ID","display_format":null,"references_component":"web_server_base","advanced":true}]} diff --git a/esphome_device_builder/definitions/components/zephyr_coredump.json b/esphome_device_builder/definitions/components/zephyr_coredump.json index 59fa009722..6c2945f594 100644 --- a/esphome_device_builder/definitions/components/zephyr_coredump.json +++ b/esphome_device_builder/definitions/components/zephyr_coredump.json @@ -1 +1 @@ -{"id":"zephyr_coredump","name":"Zephyr Coredump","description":"The `zephyr_coredump` component helps debug crashes on [nRF52](https://esphome.io/components/nrf52/) devices without a debug probe. When the firmware crashes, Zephyr saves the CPU registers and the stacks of all threads to a 32 KB partition at the top of the application flash. After the restart the stored dump is printed in the log as hex-encoded `#CD:` lines and then erased. The Zephyr coredump tools turn that log into a GDB session with a full backtrace.","category":"misc","dependencies":["logger"],"config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} +{"id":"zephyr_coredump","name":"Zephyr Coredump","description":"The `zephyr_coredump` component helps debug crashes on [nRF52](https://esphome.io/components/nrf52/) devices without a debug probe. When the firmware crashes, Zephyr saves the CPU registers and the stacks of all threads to a 32 KB partition at the top of the application flash. After the restart the stored dump is printed in the log as hex-encoded `#CD:` lines and then erased. The Zephyr coredump tools turn that log into a GDB session with a full backtrace.","category":"misc","docs_url":"https://esphome.io/components/zephyr_coredump/","image_url":"https://esphome.io/images/bug-report.svg","dependencies":["logger"],"config_entries":[{"key":"id","type":"id","label":"ID","advanced":true},{"key":"setup_priority","type":"float","label":"Setup Priority","display_format":null,"advanced":true,"hidden":true}]} diff --git a/pyproject.toml b/pyproject.toml index c2131428b7..9cff68bd85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,7 @@ version = "0.0.0" # Set by GH action on release [project.optional-dependencies] esphome = [ - "esphome>=2026.10.2", + "esphome>=2026.11.0", ] test = [ "blockbuster>=1.5.5,<1.6",